The Agentic Desk · v2
An AI agent runs a real account on my desk. It is never allowed to improvise.
The whole build: the rulebook the agent reads before every run, the checks that run before any order, the guardrails that stop it, and the logs that prove what happened. Every prompt included. The engineering that keeps a model inside hard limits — not a strategy, not signals.
$97 one payment
14-chapter PDF + starter repo. Instant download. Every future revision free.
Get the build — $97One payment, no subscription. Instant access, so all sales are final: you'll tick a box agreeing to that at checkout.
Options trading involves substantial risk of loss. Not financial advice. No results guaranteed. Not affiliated with Anthropic or any broker.
---------------------------------------------------------------- test_gate Ran 25 tests in 0.028s OK test_validator Ran 37 tests in 0.084s OK test_rules_freeze Ran 10 tests in 0.021s OK test_tokens Ran 34 tests in 0.009s OK test_liveness Ran 31 tests in 0.026s OK test_invariants 19 passed, 0 failed test_lock.sh 56 passed, 0 failed test_separation.sh SKIPPED — no 'desk' account yet (the separation chapter creates it) ---------------------------------------------------------------- all green
Real output, unedited. One command runs every test in the repo on the python3 that comes with macOS (a fresh Mac first offers Apple's free developer tools), with nothing else installed.
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.
Read this first: build guide, not a strategy, not a signal service, not financial advice. I'm not a licensed advisor and I make no claim about returns — mine or yours. What you're buying is the engineering.
What comes out when you run it
Real output from the starter repo you download. Nothing here is a mock-up.
As it ships, the repo runs, refuses to trade, and leaves receipts. The kill switch is on PAUSE, every number is a placeholder, and there is no credential anywhere in it.
Status = PAUSE Rulebook version = 1.2 Last ack = <YYYY-MM-DD> Phase = 0 G1 FAIL observed=PAUSE required=RUN or MANAGE GATE CLOSED G1 FAIL observed=PAUSE required=RUN or MANAGE
NO NETWORK MODULES IMPORTED (12 checked)
- desk/
- CLAUDE.md HANDOFF.md HEARTBEAT.md README.md RULEBOOK.md credentials.json run.sh
- desk/desk/
- __init__.py fixture.py gate.py invariants.py liveness.py tokens.py validator.py watchdog.py
- desk/launchd/
- com.you.desk.run1.plist com.you.desk.watch.plist com.you.desk.watchlock.plist
- desk/logs/
- run_log.csv skip_log.csv trade_log.csv
- desk/rules/
- constants.json
- desk/rules/frozen/
- v1.0.md v1.1.md v1.2.md
- desk/tests/
- run_all.sh test_gate.py test_invariants.py test_liveness.py test_lock.sh test_rules_freeze.py test_separation.sh test_tokens.py test_validator.py
- desk/tools/
- watch.sh
- total
- 35 files
credentials.json holds expiry dates and notes, never a secret. The executor that would hold a secret is not in the repo either: it is specified in the PDF and you write it.
What's inside
Fourteen chapters and the starter repo. Tap a chapter to see what it covers.
01The Separation
Why the model never touches the broker. The two-process design, and the full command-by-command walkthrough of putting the credential behind a second OS account — including the verification step, where the agent must fail with a permissions error rather than a polite refusal.
02Standing It Up With Claude
Exactly what to type, in what order, and what you should see come back each time. Install, directory, files, then six prompts in sequence — each with the response that means it worked and the response that means stop.
03A Rulebook a Model Can't Argue With
Structure, numbering, and the prohibition section. Why "never estimate a missing number: unknown equals no" does more work than a page of nuance.
04The Operator Prompt
The full system prompt the agent reads every run, annotated. Including the order-of-authority block.
05The Heartbeat
A one-file kill switch the owner controls. Status, version pinning, the dead-man's switch, and the five gate checks.
06The Pretrade Card
Forcing the agent to commit to numbers before anything happens, so a mismatch is caught by code instead of by hope.
07Data You Can Trust
Pinning every number to one named source. Rejecting interpolated bars. Why "the model looked it up" is not a source.
08Position Safety
Server-side exits placed immediately, one open order per position, the invariants checked every run — and a worked reconciliation when the broker and your ledger disagree.
09The Independent Reviewer
A second model that may veto and never approve. Including the subtler failure: a reviewer whose "support" verdict quietly upweights a score, which is approval wearing a different hat.
10Logs, Cards, Receipts
Append-only records, run summaries, and the liveness email implemented — the thing that makes silence mean something instead of merely being silence.
11Credentials Expire
The failure class that is not a bug in your code, it is time passing. Checking days remaining, alerting three days out, and why classing an expired token as a platform error makes the system demote itself every renewal cycle.
12Scheduling It
launchd, run locks, market hours, reboots — and the FileVault trap: on a default Mac, the "it starts at boot with nobody logged in" advice is false and fails silently. Plus the watchdog for a run that hangs rather than crashes.
13Every Way It Broke
Sixteen real failures. What happened, what it cost, and the rule that came out of each. The chapter that makes the rest credible.
14Phase Discipline
Approval-required → supervised → autonomous. How to earn each step instead of starting at the end.
AAppendix A · The Starter Repo
Every file, and the chapter it came from. One command runs every test in the repo on stock macOS Python with nothing installed.
What this actually is
A 14-chapter PDF with a working starter repo. Prompts, file structures, runnable code 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 it is not
- Not a strategy. My rules are not in it. You write your own.
- Not signals, picks or alerts. There are none in here and there never will be.
- Not financial advice. I'm not a licensed advisor and I make no claim about returns, mine or yours.
- Not no-code. The executor is specified, not shipped as code. You write it yourself.
Who this is for
It is for
- Builders who want an agent operating in a domain where mistakes have consequences.
- Anyone who's watched @agentichood and wants the architecture, not the tickers.
- People who think the interesting part is the guardrails.
It is not for
- You want picks, signals, or alerts. There are none in here and there never will be.
- You want a bot that makes money while you sleep. Not what this is, and I won't pretend otherwise.
- You want to skip writing your own rules. The rules are the part you can't outsource.
Price and terms
- Price
- $97. One payment, no subscription. The price includes any sales tax or VAT due where you live.
- You get
- The 14-chapter PDF and the starter repo (desk-starter.zip).
- Delivery
- An instant download page after checkout. Bookmark it: your Stripe receipt won't contain the link.
- Updates
- Every future revision free, for as long as I publish it. The document gets revised as the system changes, and your download page always serves the current version.
- Refunds
- All sales final. It is an instant-access digital product, and you tick a box agreeing to that at checkout.
- Delivery problem
- Email [email protected] and it's fixed the same business day.
- Seller
- AI MEDIA EMPIRE LLC. Full terms of sale.
Checkout is hosted by Stripe. I never see your card details.
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. It is my own account and it runs under this system. That says nothing about what yours would do. What's in the file is the architecture — not my trades, not my rules, and no promise you'll get my numbers or anyone else's.
Do I need to code?
You need to be comfortable in a terminal. The file gives you the architecture, the rulebook format, the prompts, and every validation step the executor must perform — but the executor is specified, not shipped as code. You write it yourself. This is not no-code.
What do I need?
A Mac, a terminal and Claude Code, which needs Node 22 or newer. The separation and scheduling chapters use macOS's own tools. Claude Code is free to install; what you pay Anthropic for is model access. The starter repo has no dependencies to install. To go past the dry run you also need a brokerage account that allows automated access: some brokers restrict it, so check yours first.
Will this work with a broker other than Robinhood?
The architecture is broker-agnostic; chapter 01 and 07 are where you'd swap. The data calls named in chapter 07 are Robinhood's. In the starter repo every endpoint is a placeholder you fill in for your own broker.
Can I get a refund?
No. It downloads the moment you pay, so all sales are final, and you tick a box agreeing to that at checkout. If the download itself goes wrong, email me and it's fixed the same business day.
Instant download · every future revision free · all sales final