The Agentic Desk

An AI agent runs a real account on my desk. It is never allowed to improvise.

This is the whole build: how to write the rulebook the agent reads before every run, the deterministic code that actually places orders, the guardrails that stop it, and the logs that prove what happened. Every prompt included — my own trading rules are not.

Read this first: this is a build guide, not a strategy, not a signal service, and not financial advice. I am not a licensed advisor. I make no claim about returns — mine or yours. What you are buying is the engineering: how to let a model operate inside hard limits without it quietly deciding to do something else.

The thing nobody shows you

Everyone posts the screenshot of an AI picking a stock. Nobody posts the part where the model, on run 14, decides a rule doesn't apply today.

That is the only interesting problem. A language model is excellent at reading a rulebook and terrible at being bound by one — unless you build the binding outside the model. The agent on my desk cannot place an order. It reads, it reasons, it writes a card, and a dumb deterministic program decides whether anything happens at all.

That split is the whole architecture, and it is the first thing in the file.

What this actually is

A 12-chapter PDF. Prompts, file structures, and the safety rules in full. Built around a real account that has been running under this system, with the real failure modes I hit and what I changed after each one.

You will need to write your own rules. I am not giving you mine to run blind, and you should not want them.

What's inside

01 · The SeparationWhy the model never touches the broker. The two-process design — reasoning agent, deterministic executor — and exactly where the line sits.
02 · Writing a Rulebook a Model Can't Argue WithStructure, numbering, and the prohibition section. Why "never estimate a missing number: unknown equals no" does more work than a page of nuance.
03 · The Operator PromptThe full system prompt the agent reads every single run, annotated. Including the order-of-authority block.
04 · The HeartbeatA one-file kill switch the owner controls. Status, version pinning, and the rule that pauses new activity if a human hasn't checked in.
05 · The Pretrade CardForcing the agent to commit to numbers before anything happens, so a mismatch is caught by code instead of by hope.
06 · Data You Can TrustPinning every number to one named source. Rejecting interpolated bars. Why "the model looked it up" is not a source.
07 · Position SafetyServer-side exits placed immediately, one open order per position, and the invariant checked at the top of every run.
08 · The Independent ReviewerA second model that audits candidates and can veto but never approve. Prompt, verdict schema, and why one-way veto power is the correct asymmetry.
09 · Logs, Cards, ReceiptsAppend-only CSVs, per-candidate cards, run summaries, the nightly email. Reconstructing any decision months later.
10 · Scheduling Itlaunchd on a Mac mini that never sleeps. Run locks, market-hours gating, crash recovery, and what happens when the machine reboots mid-session.
11 · Every Way It BrokeThe real failure log. Platform errors, duplicate orders, stale state, a run that fired twice. What each one taught and the rule that came out of it.
12 · Phase DisciplineApproval-required → supervised → autonomous. How to earn each step instead of starting at the end.

Who this is for

Who it's not for

$47

One file. Instant download. Free updates when v2 ships.

Get the build — $47

Launch price — $79 when v2 ships. · 14-day refund, no questions, just email me.

Questions people actually ask

Does it come with your strategy?

No. You get the rulebook format, the prompts, and the enforcement architecture — with my own rules redacted. Running a stranger's strategy you didn't write is exactly the mistake this whole system exists to prevent.

Is the account real?

Yes. Small, deliberately. I don't publish balances or returns and I'm not going to start.

Do I need to code?

You need to be comfortable in a terminal. The file gives you the architecture, the rules and the prompts — the file formats and the validation logic are specified, but you write the executor yourself. This is not no-code.

Will this work with a broker other than Robinhood?

The architecture is broker-agnostic; chapter 01 and 07 are where you'd swap. The specific API calls shown are Robinhood's.

Important. Educational material about software architecture. Not investment advice, not a recommendation to buy or sell anything, not an offer or solicitation. I am not a licensed financial advisor or broker-dealer. No past or future performance is represented. Trading involves risk including total loss of capital; automated trading adds software risk on top of that. You are responsible for anything you build and anything it does. Not affiliated with or endorsed by Robinhood Markets, Inc. or any AI provider. Digital product, delivered instantly, 14-day refund on request.

← back
Terms · Privacy · Disclaimer