The first post here was a failure log: nine things that broke when I left an agent crew running overnight. It skipped the part that explains why there was a crew at all. This is that part.
In July I started with a question: how much autonomous work could I get out of very little? I had a desktop with an RTX 4090, the entry-level Claude Pro plan, and an Obsidian vault I had already been living in for most of a year. No budget for metered API tokens, no second machine, no team. Four months later it is a system I actually use to get work done. This is how it got here, and what it costs.
The constraint
The rule from the start was to spend the cheapest thing that could do each job. In order:
- A script, if no judgement is needed.
- The local model on the 4090, for mechanical work.
- The Claude subscription, for reasoning, research and review.
- Metered tokens, never by default.
Every decision since has been a version of that ordering. The interesting part was finding out what “can do the job” actually meant for each tier.
Finding a local model that could use tools
An agent is only useful if it can call tools reliably: read a card, call a function, write a result, mark the work done. I tested every local model that would fit on the card against the real path the agents use, not a chat prompt.
| Model | What happened |
|---|---|
| A 7B coder model | Made real tool calls, then invented an excuse and claimed the work was done |
| An 8B general model | Hit a serving bug that sent the wrong tool name every time, and looped |
| A 31B model | Capable, but mostly ran on the CPU: minutes per tool call |
| An 8B chat-tuned model | Not trained for function calling; unfit for agent work |
| A 27B model, 4-bit | Clean single pass: real call, real result, done. About 110 seconds, fully on the GPU |
The table hides the expensive lesson. For weeks, every local model looked broken, and none of those early results meant anything. A tool server had no working directory set, so it crashed on every call; no model could ever have reached it. Separately, the serving layer leaked tool calls into plain text instead of returning them as structured calls. Two real bugs were stacked under the model question, and every test above them was measuring the wrong thing.
Before you blame the model, prove the tool it is calling actually works. That one cost me the most time of anything in this project.
Serving it properly
Once the model worked, how it was served mattered almost as much as which model it was.
I first ran it inside WSL on Windows. Moving to the native Windows build cut model load time from about 260 seconds to about 60, and generation went from roughly 70 tokens a second to 90. Part of that gap is a newer release, part is the platform.
The bigger find was silent. With default settings, the server picked a context window based on available memory and truncated long prompts without an error. A 46,820-token prompt arrived as 16,386 tokens, with the beginning cut off. For an agent, the beginning is the system prompt and the tool definitions. The agent was not misbehaving; it never saw its instructions. Pinning the context to 64K and quantizing the cache so it fits in 24GB alongside the model fixed it.
The same setting later bit me in reverse. A leftover 64K window from the local route got applied to the Claude route too, so a model with a million-token window was compressing its context every 55,000 tokens. The desktop app felt slow for over two weeks before I found out why.
Sharing one GPU with the rest of my life
The 4090 is not a dedicated server. It is my development machine and my gaming machine. A 27B model holds about 17GB of its 24GB of VRAM, and a development environment and a game both want the same memory.
So I built a small Windows tray app that switches the machine between named loadouts. AI starts the model server. Dev starts the development tooling. Game is a one-shot purge that stops everything else and frees the card. Loadouts are defined in a JSON file, so adding one is a config edit, not a code change. If two loadouts share something, turning one off leaves it running for the other. Each action asks for administrator rights once, instead of the app running elevated all day. The tray icon takes the colour of the active loadout, so I can see the machine’s state without opening anything.
It is a small thing, and it is the reason the rest works. The local model is available when I want it and out of the way when I don’t, and the agents are built to expect that it may be off.
Moving my own work off the desktop
The loadout switcher solved the GPU. It did not solve the bigger conflict: I was doing my own development on the same machine the agents needed. So the desktop became the host, and I moved to a laptop.
For now that is an older MacBook running Omarchy, a Linux setup, while a new Framework laptop ships next month. Most of my development work now happens there, and the desktop is left to the agents.
Reaching the agents from the laptop took more effort than I expected. Everything runs over a Tailscale network, so nothing is exposed to the public internet. My first plan was SSH into the desktop, and Windows’ SSH server fought me enough that I dropped it. What works is simpler: the agent framework’s desktop app connects to the desktop as a remote gateway, signed in over OAuth and published only inside the tailnet. The agents and their models stay on the desktop, and the laptop is just a seat.
That move deserves its own post, and it will get one.
From one agent to a crew
The first agents were two general profiles, one of them reading my bookmarks. The crew grew out of noticing that one agent with every tool is hard to trust and expensive to run.
Today it is one orchestrator and sixteen specialists, built on Hermes Agent. The orchestrator does not do the work. It breaks a job into cards on a kanban board, and a dispatcher starts one worker per card. Each specialist has a narrow role and only the tools that role needs; some get no file access at all.
Each agent runs on the cheapest model that does its job:
| Tier | Used for |
|---|---|
| Scripts, no model | Starting, pausing and reporting on runs; the nightly cost rollup |
| Local 27B model | Docs, arithmetic, triage, formatting, drafts |
| Smallest Claude model | Scripted deployments, and the fallback when the GPU is busy |
| Mid-tier Claude model | Reasoning, research, review, design |
| Top-tier Claude model | The orchestrator only, unless a card asks for it |
Fallback crosses routes in both directions. Claude agents fall back to the local model when the subscription limit hits, and local agents fall back to the smallest Claude model when the GPU is switched off. Neither route bills by the token.
Three of the specialists started on the top tier and moved down a tier after their cards kept exhausting the shared subscription. Their reasoning cards ran on the mid tier through real research sessions without a quality gap that mattered. That is the pattern I keep relearning: the top model is a default you fall into, not one you need.
Where the knowledge lives
None of this would hold together without a rule about where facts are written down.
The Obsidian vault is the human layer: goals, project notes, the delivered results, and the cost ledger. I read it by hand. Next to it are a handful of git repositories, each with one job: one holds the agent configuration and workflows, one holds reusable agent templates, one packages skills as installable plugins. The rule is that every fact lives in exactly one place, and the other places link to it. Where I wrote things aspirationally instead of deriving them, the notes drifted from reality.
Git is the interchange. No machine writes to another machine. Everything commits, and the vault syncs through git like everything else.
The always-on part, briefly
The desktop is off or busy a lot, so a small slice runs in the cloud. A hosted agent runs three nightly jobs: a morning briefing, bookmark triage into the vault, and the cost rollup. I talk to it through a chat server I run on a small VPS of my own. The agent’s compute is rented; the room it speaks in is mine. A couple of free assistant subscriptions handle email triage and a local news briefing on their own schedules.
What it costs
I keep a cost ledger, updated nightly by a script, because the agent framework records cost per session and that turned out to be useless on its own. A chat session is not a task. My most expensive session on record is titled “Friendly greeting”: it started with “hello” and ran 813 messages over days. So the ledger attributes cost by time block, tagged by project as the work happens, and says plainly that the split is an allocation, not a measurement.
As of this week:
| Per month | |
|---|---|
| Claude Pro (annual plan, amortized) | $16.67 |
| Hosted agent, including its compute | $20.00 |
| The VPS for the chat server | $24.00 |
| Committed | about $61 |
An AI bundle on a storage plan adds $10 a month from April, when a free promotion ends.
On top of that, the hosted agent’s inference ran past its allowance during the build weeks, and I topped it up four times in September for $85.60. The local model costs nothing per token. It does add electricity, which I have no practical way to measure. No metered API key exists anywhere on the desktop.
What it is good for now
Most of the build time went to the bugs above: finding which failures were the model, which were the tooling, and which were my own config.
Now it runs overnight research sessions on a board of its own, drafts and reviews documents, keeps the vault’s cost ledger and briefings current, and does the mechanical half of most projects while I make the decisions. It is the first setup I have built where I hand it real work and expect a usable result in the morning.
It will not stay this small. More GPU memory would let a stronger local model take reasoning work off the subscription. A bigger subscription tier would stop the morning-after fallbacks. Some integrations I want need accounts I don’t have yet. But the base question has an answer: one GPU and a $20 plan go a lot further than I expected, as long as every job goes to the cheapest thing that can do it, and you prove your tools work before you blame the model.
The failure log in the first post is what running this system overnight looks like. Later posts will take its pieces one at a time.