Crypto OS
Non-Technical Crypto OSStage 6 · AI × Crypto and the Future On-chain Economy

Chapter 32 · How AI Changes Trading and Asset Management

What can be delegated to AI, and what cannot?

Capabilities practiced
AI LiteracyFinancial LiteracySystem Thinking
Hands on
Split one of your investment-decision flows into analysis, decision, and execution; mark what can be automated.
AI Lab
Have AI suggest a rebalance. Check it item by item against your risk rules and record how many rules it violates.

A Real-World Problem

Over three months, someone hands control of money to AI without ever making that decision explicitly.

Week one: the model reads announcements and governance posts each morning and writes a short digest. Text only, no permissions. Useful.

Week three: a read-only interface supplies prices and wallet holdings, avoiding manual data entry. Still text only, more useful.

Week six: specific suggestions begin: collateral is near a warning threshold; add collateral or reduce exposure. Two suggestions prove correct. Manual action starts feeling burdensome.

Week nine: a seemingly small change permits direct collateral top-ups below a per-operation limit. It seems defensive, risk-reducing, and bounded.

Week eleven: the defensive-action list expands after an unavailable action caused a missed opportunity overnight.

Week thirteen: a price source briefly fails. The model reads an incorrect price and performs eleven supposedly defensive operations in forty minutes. Each fits the transaction limit and action allowlist; every one follows the rules exactly.

By morning, substantial funds are gone and the position structure has changed beyond recognition.

The painful part is being unable to identify the mistaken step. Each expansion had reasons, was incremental, and followed positive feedback.

This chapter asks: what can be delegated to AI, and what cannot?

This chapter offers no trading strategies or AI profit recipes. Automatic AI profits are a danger signal; ask question five, who pays. Here we discuss the architecture required when software approaches your funds.

Thought Experiment

The same model, logic, and thirty days, with different permissions.

Four configurations:

  • A: read-only text. Prices and positions in, prose out, no actions.
  • B: proposals with human confirmation. Structured proposals require personal approval.
  • C: small automatic actions, larger approvals. Within-limit operations run automatically.
  • D: fully automatic. Autonomous execution within a budget, reported afterward.

For twenty-nine days, the only difference is inconvenience.

A requires all manual work; B less; C little; D none and saves most time. On these days, D looks best and A looks wasteful.

On day thirty, a price source returns badly distorted data for forty minutes.

Model behaviorActual resultRecovery
A, text onlyUrgent analysis recommending exposure reductionUser wakes, recognizes false prices, deletes itNone
B, proposalsThree alertsUser wakes, questions prices, rejects allNone, but poor sleep
C, small automaticEleven within-limit actionsEach compliant, substantial aggregate loss and disrupted positionsDays of manual repair
D, fully automaticAll allowed actions within budgetSeveral times C's lossLonger, some irreversible

The precise lesson:

The same error costs orders of magnitude more under different permissions, invisible until the error occurs.

Twenty-nine days encourage more autonomy through convenience and speed. Only day thirty reveals the boundary, and its arrival is unknown.

More subtly, losses did not come from wrong reasoning: given those prices, the conclusion was appropriate. The input was wrong. A strong model efficiently carries bad input through to execution.

Automation amplifies execution, not judgment, equally for correct and incorrect actions.

Your Decision

You have funds and a useful model. Where is the boundary?

What Happens

Different configurations move one boundary among fundamentally different activities:

UnderstandDecideExecute
Error costTime wastedWrong directionDirect irreversible loss
Reversible?Yes, rewriteYes, before actionNo
Detection timeImmediateHours or daysCause may never be found
Suitable for AI?VeryProposals, not final decisionsOnly with complete deterministic constraints

Combining these activities causes most incidents, rather than insufficient model quality.

Combination leaves no insertion point for checks: thought becomes decision, decision becomes execution. The forbidden architecture in AI's Place in Crypto OS has nowhere to detect errors.

Architecture prohibited in this course

  1. Prompt
  2. LLM
  3. Private Key
  4. Send Transaction

The model must never receive a private key and send transactions without checks. This structure fails every assignment.

Where could separated stages stop the bad price input?

  • Analysis: the model concludes the position is dangerous. Do not block faithful input processing here.
  • Decision: pause proposals when price diverges beyond a threshold from two independent sources. No intelligence required.
  • Execution: limit similar actions to three within forty minutes. Again, no intelligence required.

Either deterministic wall prevents eleven actions. Combined stages leave no space for either.

The central conclusion:

Separate analysis, decision, and execution; tighten permissions as AI approaches funds.

Build a Model

1. Locate Your Level

LevelWhat AI can doRequired guardrails
L0 Do not use AILearn the fundamentals yourself.—
L1 AI AssistantQuestions, answers, and explanations.Treat conclusions as hypotheses, not facts.
L2 AI CopilotResearch, writing, and code.Verify against primary sources; review the code yourself.
L3 Tool AgentCall search, APIs, RPC, databases, and read-only wallets.Allowlist tool permissions and log every call.
L4 Financial AgentAnalyze, trade, pay, and manage assets.Budget cap, address allowlist, simulation first, manual approval above the limit.
L5 Autonomous Economic AgentEarn income, buy services, pay costs, and cooperate with other agents autonomously.Policy engine + Risk engine + Auditable logs, with mandatory one-click shutdown.

Level 3 to Level 4 is the only jump where error costs change from time to money. Earlier changes are gradual; this is qualitative.

The opening user crossed that boundary without an explicit decision. Week nine's apparently minor convenience was the curve's turning point.

Before adding permissions, ask whether a level is crossed. Treat crossings as major changes with documented constraints, logs, and shutdown. Within-level changes can be routine.

2. Four Responsibilities, Four Separate Owners

Different responsibilities need different reliability and implementations:

ResponsibilityWorkSuitable ownerError consequence
ResearchCollect, organize, hypothesize, detect anomaliesModelWasted time or a wrong starting point
Risk controlCheck proposals against rulesDeterministic code, never a modelEvery later defense fails
ExecutionPerform approved actionsDeterministic code with explicit permissionsIrreversible loss
Portfolio managementSet structure, goals, constraintsHuman onlyDirectional error the model cannot detect

Do not use a model to validate model output. Risk control is non-negotiable.

The same abnormal input can produce the same wrong judgment twice. Correlated errors do not become reliable in series. Price divergence checks work because they compare numbers without understanding markets.

Portfolio management asks why you hold these assets, requiring life circumstances: horizon, volatility tolerance, cash needs, and available attention. These are absent from data and are not the model's decision.

3. Closer to Money, More Deterministic Rules

Tighten each layer:

  1. Read public information
  2. Read positions
  3. Produce proposal
  4. Deterministic checks
  5. Simulation
  6. Human approval
  7. Execution
  8. Reconciliation
The model occupies the first three boxes. Subsequent controls compare numbers rather than interpreting markets.

Constraints by layer:

LayerModel involvementRequired constraint
Public informationFullLogging
PositionsFullRead-only credentials, no signing ability
ProposalFullStructured fields, not prose
Rule checksNonePer-action, aggregate, frequency limits, allowlists, source divergence
SimulationNoneActual state changes and worst outcomes, not guesses
ApprovalNoneGenuine judgment only, manageable volume
ExecutionNoneShutdown bypassing the model
ReconciliationOrganizing assistanceAlert on actual versus expected discrepancies

Rule checks are the first wall between model and funds and the only one independent of people.

Approval fatigue must be addressed beforehand. Two hundred alerts eliminate attention. Fixed rules must filter, not merely block, escalating only genuine judgment. Chapter 34 develops this.

4. Three Uncrossable Boundaries

No exceptions:

The model cannot hold private keys or equivalents, through prompts, readable files, or callable interfaces. Otherwise it can bypass every layer.

The model cannot modify its own constraints. Limits, allowlists, and approval thresholds must be inaccessible. Adjustable-by-model limits are nonexistent limits.

Proposal and approval cannot be the same step. Human or rule approval must occur separately.

5. Should This Be Automated?

Check five boxes:

□ Highly repetitive actions
□ One mistake is affordable and detectable within a day
□ A non-intelligent rule can check correctness
□ Delay has real costs, beyond inconvenience
□ Reversible or correctable by the next step

All five permit consideration; one missing means stop.

Collateral top-ups seem to satisfy the third but depend on credible prices. Add independent-source divergence checks. The eleven actions occurred because the apparent third check was not real.

Laziness is not an automation justification; it is a reason to reconsider the task.

What It Is Called

Research AgentResearch Agent

Collection, organization, comparison, and hypotheses without funds or executable output.

The lowest-risk, useful application covered in Chapter 31. Output means “I noticed this,” not “do this.”

At least one structured conversion must precede proposals. Prose cannot be checked by fixed rules.

Risk AgentRisk Agent

The layer checking proposals against established rules.

Agent is potentially misleading: prefer no model at all. Deterministic code compares numbers and tables without changing behavior under rewritten prompts.

Check per-action and aggregate amounts, frequency, target allowlists, input validity, and resulting portfolio exposure.

The last is easily omitted: individually compliant actions can collectively exceed boundaries.

Execution AgentExecution Agent

The layer performing a proposal after all checks pass.

Keep it as simple as possible. No judgments, changed minds, or self-adjusted parameters. Execute a fully specified action or reject a failed check.

Require complete logs and one-action shutdown, inaccessible to the model and fast enough during incidents.

Portfolio AgentPortfolio Agent

Overall holdings, proportions, adjustment conditions, and goals.

Do not delegate this to a model, because required inputs include your horizon, sleep-disrupting volatility, future cash needs, and attention budget.

A model can clarify your chosen rules and identify contradictions, such as low-risk goals paired with volatile holdings. Only you choose acceptable risk.

Human-in-the-loopHuman-in-the-loop

A real human judgment required for an automated workflow to continue.

The test is whether the person actually reads and can change the outcome.

False loops include too many approvals, insufficient information, and automatic approval on timeout, guaranteeing absence when most needed.

Count outcome changes in the last twenty approvals. Zero suggests a decorative safety measure.

In one sentence:

Separate analysis, decision, and execution; tighten permissions as AI approaches funds.

Do so through deterministic, model-free walls between the model and money.

Hands-on

Hands onSplit a real investment workflow into analysis, decision, and execution, identifying what can be automatedPaper or a document, without wallets or tool accountsFree. No real funds, transactions, private keys, or account information involved

Choose a workflow you actually use, not an idealized one. Honesty creates the value.

Without holdings, use another repeated decision such as an event or subscription purchase. The structure is the same.

Write every step chronologically, including seemingly minor ones.

1. How do I know to investigate?        Trigger
2. What do I inspect?                   Inputs
3. How do I judge?                      Rules, even intuitive ones
4. How do I decide whether to act?      Decision point
5. Which buttons do I press?            Execution
6. What do I inspect afterward?         Reconciliation
7. When would I detect a mistake?       Feedback delay

Step three is usually hardest because rules live in intuition. Do not skip difficulty. An indescribable rule cannot be delegated to anyone or any software.

Label every step.

A = Analysis: collecting, organizing, proposing possibilities
D = Decision: choosing an option
E = Execution: making it happen

Does any step combine A and E? Split and relabel. Unsplittable parts are the dangerous ones.

Assess delegation for every A step.

Use five checks:

□ Repetitive
□ Affordable error, detected within one day
□ Checkable by a non-intelligent rule
□ Delay has real cost, not laziness
□ Reversible or correctable

Most A steps pass normally: errors cost time and you see the output.

For every D and E step, write the worst automatic outcome.

Be concrete, not merely possible losses:

With automatic execution and wrong input:
  How often can it act?              Frequency limit?
  How much per action?               Transaction limit?
  How much altogether?               Aggregate limit?
  When do I detect it?               Including overnight?
  How quickly can I stop it?         Switch location and steps?
  Can I recover?                     Irreversible parts?

Any unanswered line means the step cannot be automated.

Write three deterministic boundaries.

These are boundaries, not strategy:

1. Amount: No more than ___ per action and ___ daily
2. Frequency: No more than ___ similar actions within ___ hours
3. Input: Pause everything when ___ diverges from ___ by more than ___

The third is easily forgotten and lifesaving; it would have stopped the forty-minute incident.

Draw your boundary and explain it.

Above the line, delegated:
Below the line, personal:
Reason for placement:
Conditions for moving upward:
Conditions for moving downward:

The last two lines are the real output. Without prewritten conditions, inconvenience becomes sufficient reason to move it.

You have an A/D/E workflow, worst-case list, three rules, and an explicit justified boundary.

This is the stage project's first part. Chapter 34 adds permissions and approval design, revealing additional needed rules.

AI Lab

AI LabCheck AI rebalancing proposals against your risk rules and record violationsLevel 2 · AI Copilot

This is a paper exercise. No wallets, transactions, keys, seed phrases, or account information. The goal is testing your rules, not obtaining a portfolio plan.

Write the previous lab's three rules first.

For this fictional portfolio and constraints, propose ten specific adjustments.

Portfolio: Invented holdings and amounts, not real ones
Constraints:
  Per-action limit:
  Daily aggregate limit:
  Similar-action frequency limit:
  Allowed targets:

Use fields for each, not paragraphs:
  Action type /
  Target /
  Amount or proportion /
  Trigger /
  Expected effect /
  Worst case /
  Missing information this depends on

The last field is mandatory. Disclose every assumption not supplied by me.

Use fictional data. Real positions, amounts, and addresses are unnecessary.

Do two things with the ten suggestions.

First, check each against the rules.

Item | Violated rule | Cannot determine

Indeterminate cases are more valuable than violations, exposing missing action types, thresholds, or boundaries. Add them to your next rule version.

Second, inspect missing-information fields.

Fuller fields mean honesty. Eight blank fields usually mean hidden assumptions, such as sufficient cash, volatility tolerance, identical horizons, or this portfolio representing all assets.

Expect four phenomena:

  1. Ten requested means ten supplied, even if only three matter. Ask for only genuinely necessary suggestions, allowing fewer, and compare.
  2. Uncertainty sounds certain. Ask the basis for an exact percentage; explanations are often circular.
  3. Disclaimers coexist with precise amounts. Judge the actual recommendations, not the disclaimer.
  4. Literal constraint compliance allows twenty individually capped actions. State aggregate and frequency caps separately.

Record total, violations, and unknowns. Unknowns count gaps in your rules. Fill them before the next chapter's retest.

Verify these points yourself after using AI

  • Structured fields or prose? Prose itself fails rule-checkability
  • Does each suggestion define amount, proportion, target, and trigger?
  • Which exceed per-action limits?
  • Does aggregate execution exceed cumulative limits?
  • How many similar actions occur in one frequency window?
  • Are any targets outside the allowlist?
  • Does it assume unknown positions, cash needs, or horizons?
  • Does it disclaim advice while giving confident exact amounts?
  • Does any action request keys, approvals, or wallet connections?
  • Count total suggestions, clear violations, and indeterminate cases

Real-World Case

Products promising automatic AI returnsEvery cycleRetail trading tools

Each cycle brings varied products with similar promises of AI-generated automatic profit.

Ask question five: who pays? Often subscription, management fees, or spreads mean revenue comes from users rather than strategy performance. Not necessarily fraud, but company revenue survives user losses.

Why sell a reliably market-beating method to retail users? The longstanding question often reveals that scalable returns do not need retail customers.

Evaluate revenue sources, risk bearers, and strategy-failure losses as with any project. AI answers none of those questions.

Wrong inputs executed efficientlyRepeatedlyAutomation systems

Inputs, rather than reasoning, are often wrong.

Bad prices, cached data, or precision errors are executed faithfully and rapidly. A human may notice the first odd price; automation continues until limits are exhausted.

Crypto makes this dangerous because Chapter 24 explained irreversibility. Traditional erroneous-trade remedies may not exist.

Input sanity checks must be independent of the input-producing path. One price source is insufficient; three independent agreeing sources provide evidence. No intelligence required.

Two hundred approvals a dayOngoingHuman-approved automation

A team adds human approval as a final defense, producing over two hundred daily requests.

By week two, approvals are batched; week three, amounts below thresholds receive a quick click. Week five, a harmful action passes unnoticed and cannot be recalled afterward.

The design guarantees this outcome. Attention is finite; less than a minute per approval does not permit real judgment.

Filter with deterministic rules, escalating only genuine judgment. Three to five approvals receive attention; two hundred do not.

Approval effectiveness falls as volume rises.

The slide from reading to executionCommon among individuals

The opening story describes a common pattern: permissions grow through many small changes, not one decision.

Each has good reasons, a small increment, and positive prior feedback.

Prewrite conditions for expanding and retracting permissions rather than relying on caution. During inconvenience, reasons will always appear.

Record a date and reason for each change in one place. Three months later, drift becomes visible; visibility prevents much of it.

Change One Variable

What ifModel judgment accuracy rises from 70% to 99%

It seems to justify greater permission. It changes less than expected.

Errors cluster during abnormal markets and data, when costly; accuracy concerns judgment while incidents often concern input; greater confidence increases action frequency, possibly increasing absolute error count.

Safe expansion depends on deterministic error blocking and a hard maximum loss, unrelated to model strength.

AI's Place in Crypto OS explains that constraints address irreversible outcomes, not insufficient intelligence.

What ifYou manage other people's money

Tighten every boundary and add requirements.

Explainable, traceable judgments require proposal basis, checks, approver, and outcome; logs become mandatory.

Predetermine liability for model errors, now a legal question rather than merely technical.

Ensure funders know and consent to AI involvement, an informed-consent question.

Local compliance details vary, but a workflow you cannot explain fully should not handle their money, however well it performs.

What ifExecution delay shrinks from minutes to seconds

The error-detection window also shrinks.

Minutes may permit intervention; seconds leave deterministic rules as the only pre-execution controls.

Lower latency increases the importance of fixed rules: tighter frequency caps, stricter inputs, and faster shutdown.

Shutdown must always be faster than the system's rate of error.

What ifEverything stays manual with no AI permissions

Entirely valid and often appropriate; automation is not compulsory.

Fatigue causes errors, mental rules drift with emotions, and time-sensitive opportunities can be missed. These costs are real too.

A low-risk compromise: keep decisions and actions manual, using the model only for monitoring and alerts under defined conditions.

Wrong alerts cost little. You no longer need constant watching.

Takeaway Questions

16
What permissions does an agent have?

Answer with a concrete permission list, not vague limited authority.

Specify readable data, proposal types, per-action and aggregate limits, frequency, allowed targets, and escalation conditions.

Could a stranger implement exactly what you intend from the list? Otherwise it remains a wish. Chapter 34 makes it executable.

17
Who bears the loss when AI gets it wrong?

The uncomfortable answer is you. The model and usually its provider do not bear losses.

Invest in pre-loss controls, all model-free: amount and frequency limits, input checks, simulation, shutdown.

Unclear responsibility usually means unclear permissions.

18
Which decisions must keep a human in the loop?

Two requirements have different reasons.

Humans set portfolio goals and constraints because personal circumstances are absent from datasets.

Humans remain at irreversible boundaries, where errors have no second chance. But adding a person is not enough: manageable volume, clear information, and no timeout approval are required.

9
Who bears the risk?

The designer of the final deterministic wall bears automation risk.

Models do not understand consequences; executors obey. Amount, aggregate, frequency, and input thresholds define actual risk, regardless of rhetoric.

Compare your aggregate cap with your acceptable maximum loss. A larger cap means more risk than intended.

Chapter Check

Key idea

Analysis, decisions, and execution must be separate; the closer AI gets to funds, the tighter its permissions must be.

Finished this chapter’s lab? Mark it completeView all progress

On this page