Most of what makes an agent harness work is supervision: deciding what the agent sees, when it stops, how a person checks its work and when the harness should interrupt that person. The loop that calls a model and runs its tools takes a few dozen lines.
I learned this by building five harnesses in 2026, from pi-deck in January to BB Studio, which I still use, and by throwing away much of what I built. The lessons below are what that year taught me, grouped by the part of a harness they concern, from the agent loop and its tools to memory, cost and the ways harnesses fail, each with the evidence behind it. I hold them with medium confidence. They come from my daily use of my own tools over eleven months, and several rest on a single episode.
Background
The five projects ran in sequence. pi-deck (January and February 2026) put the Pi coding agent in a browser. Task Factory (February) ran agents as a queue of reviewed tasks. Neon Pilot (Personal Agent) (February to August) was a full desktop harness whose agent could extend the app. bb and bb-plugins (from August) is an open-source meta-harness built by another team, which I extended with plugins. BB Studio grew out of those plugins from September and became my fork of bb in November. The organizing unit changed each time, from conversations to tasks to extensions to bots, and each change exposed the next problem.[1]
Agent loops
The loop that runs the agent should stay small, with features in extensions around it. Features built into the core are hard to remove, and features built as extensions can be dropped in an afternoon. In Neon Pilot, auto mode, which re-prompted the agent whenever it tried to stop, started in the core and only settled once it moved into an extension as goal mode.[14] By August I expected all harnesses to converge on Pi with some twist.[30]
An agent also needs a cheap way to come back to its work later. Without one, an agent that needs to wait will sleep inside a shell command or ask the person to check back. Neon Pilot's deferred resume let the agent wake its own conversation after a set number of minutes.[3]
Completion has to be explicit. An agent that stops to ask a question has not finished, and a harness that can't tell the difference either stalls or declares victory. Task Factory required an explicit task_complete call from its first day.[12] Agent Checklists later did the same job in bb with a structured checklist that continues the agent while items remain open.[18] Automatic continuation carries its own risk, because a continuation prompt that fires whenever the agent stops will also fire when it is stuck. Neon Pilot's goal mode worked only after it gained pause, resume and a guard against loops that made no progress.[14] Even then, a coordinating agent that hands out work and checks progress on a schedule did better for me than one agent told to keep going until a goal is met. I wrote in July that heartbeats (scheduled check-ins) plus subagents beat goal mode.[32]
Messages to a running agent come in two kinds. A correction should reach the agent now, and a new task should wait for the turn to end. pi-deck had a control for each.[1] Personal Agent, the first version of Neon Pilot, was built on Pi, which can send a steering message into the running loop or queue a follow-up.[4] In bb and BB Studio a busy thread takes either kind of message.[26] When I handed the choice to Jev, a small, fast judgment model, its first setting queued almost everything, and I retuned it to steer anything about the current task.[26]
What an agent can add to its harness depends on the extension API. An agent can only build what the API lets it touch, and it builds it well only if it can read how. The more raw the primitive, the more the agent can build, and the agent also needs documentation written for it to read.[7] Plugin formats that only bundle hooks (scripts that run before or after a tool call), skills and MCP servers are too light for this. In June I wrote that a harness needs real extensions, the kind that can add tools, commands and interface.[31] Access alone did not make agents follow conventions. I built a UI component library for Neon Pilot extensions, but the hard part was getting the agents that built them to actually use it.[36]
In a meta-harness, connecting each MCP server and skill to each vendor's agent separately means one install per tool per agent. One install that passes tools down to every provider became the second item on my list of features I can't live without.[2] The harness itself is a tool as well. Agents that can query and drive their own harness through a command line can coordinate, search old threads and set up their own work. Task Factory's last commits made its CLI agent-friendly, and by November my agents were using bb's CLI constantly.[12][2] Every tool schema loaded into a thread costs tokens on every turn, so in November I changed BB Studio so that Codex loads a plugin tool's schema only when it is needed.[24]
Context
The cheapest useful context is a pointer. A short pointer to a past conversation plus a tool to read it costs little and lets the agent decide what it needs. Suggested Context in Personal Agent did exactly that, the same way skills are listed by name and loaded on demand.[6] It ranked recent conversations with stop-word-filtered term matching and fixed weights, with no embeddings, because similarity search is slow and expensive and needs every conversation chunked and embedded. The matching was cheap. Whether the suggestions actually helped was never measured; when I wrote it up I had only just added telemetry.[6] My wider case for plain search is in Plain files and search beat memory systems.
The repository supplies the rest of the context. An agent works best when AGENTS.md tells it the repository's conventions and the code is organized into pieces it can find and read cheaply. Skills follow the same pattern as pointers. The agent sees a name and description and loads the rest when a task needs it.[9]
Old transcripts turned out to be the richest context. Agents that can search and read past conversations recover decisions that no memory system recorded, and this is one of the bb features I rely on most.[2][44] I also stopped worrying about what is in context once I ran long-lived threads with a warm prompt cache and let the harness compact when needed. That answers the usual objection to doing without a memory system, that the context fills with noise.[8]
Supervision and review
The human is the bottleneck. Ten agents give one reviewer ten times the output and the same hours. Task Factory was built on this premise, and I was repeating it four months later.[11][10][34]
Mistakes are cheapest to catch in a plan a person can read, so I review the plan in plain English before any code is written. I took this from "No Vibes Allowed", a late-2025 talk by Dex Horthy of HumanLayer, a startup that builds tools for AI coding agents, and kept it in every harness since.[9] The finished work needs a second reader too, because an agent grading its own work is not a review. Task Factory's summary against acceptance criteria helped me find my way around a change, but the agent that did the work wrote it.[1] A separate review pass is now routine in BB Studio's history, which has dozens of commits titled "review fixes".[21]
Approvals that matter belong to a person. If an agent can approve another agent's request, the approval protects nothing. Only a person can approve or change an MCP server in my plugins, and some BB Studio approvals can only be answered through the app.[19][22]
Interface
Layout and devices
The organizing unit decides the design. Conversations, tasks, extensions and bots each produced a different app with different problems.[1] Conversations led to panes, tasks turned every idea into a work order, and extensions led to an app too big for one person to maintain. My current arrangement is described in Agent workbench. Panes were the first trap. pi-deck set out to replace a screen of terminal panes and arrived at a screen of transcript panes, which I removed after ten days.[13]
A terminal interface forces workarounds such as tmux, a terminal multiplexer that splits one terminal into panes, once a person runs more than a few agents.[3] By August the terminal wasn't cutting it for me, and I wanted desktop and phone apps.[38] Getting agents out of the terminal was pi-deck's first goal, and no later project went back; Interfaces for working with agents covers the wider subject. A phone path became essential. I do about half my prompting from a phone, and both Neon Pilot and BB Studio had phone apps.[2][39] Planning and design need a place to iterate that a transcript can't give. Pages, a rich text editor I share with the agent, and an interactive design canvas became two of my most used features.[2][40]
Attention
I rarely read everything an agent writes, and the interface has to assume that. Clickable suggested replies, "by the way" notes for off-topic findings and one-click emoji answers help for that reason, and together they turn most answers to an agent into a click.[41][2] Notifications work only when they are rare, and a finished job must not look like a request for help. BB Studio now sends no notification for a reply of exactly [PASS] and pushes a "needs you" item only once. Replies push only for turns I started.[23][25]
Polish is the expensive part. By late June I judged Neon Pilot competitive on features, though not on par, and way worse on polish.[37] Agents made features cheap to build, and making them feel finished took most of the time.
Memory
Agent memory needs three things. Preferences belong in a file, workflows belong in skills, and the past should be reached through search.[43] Retrieval systems that preprocess everything up front duplicate data and spend tokens on memories that are rarely used.[8] My full position is in Agent memory. For the file, a folder of Markdown with YAML front matter, which both person and agent can read and edit, held up as a knowledge base, and grep was enough to search it.[5]
Memory the agent can't see goes unused. Neon Pilot's memory designs collapsed into named packages. A package was a Markdown file with a name and a short description, and the system prompt listed every package by name and description, the way skills are listed, so the agent could see them.[15] An agent rarely searches a store it hasn't been told about. Agents also have to be taught. An agent can infer preferences from old conversations, but it acts well on my behalf only when I have written down how I think.[5] That is the argument of An agent is only as useful as what it knows about you.
Data is worth collecting for a job, not ahead of one. Spool: collecting all the context before knowing what it's for, a local stream of my email, calendar, feeds and browsing, worked as machinery and never found a use. Bots that fetch from a source only when a task needs it replaced it.[29]
Multi-agent work
The agent I talk to should be separate from the agents that do the work. Top-level conversations hand long jobs to helper threads, so the conversation stays free for me, and about 90 percent of my interactions go through one long-running bot.[2][42] A meta-harness also lets the coordinating agent run on one provider while the agents it starts run on another.[2] In July I was already running Codex as the coordinator with Pi and OpenCode, another open-source coding agent, as subagents.[33]
Agents that share a space get noisy. In the Putting agents in the same room experiment, Council, a plugin where agents debated one question and voted on a verdict, was too narrow, and a shared channel replaced it. In that channel much of what scheduled bots post is noise.[27] Routing messages between agents also needs to know who said what. Jev's routing failed on a follow-up question until it was given the speaker of each recent message.[26] Without speakers, a question about the previous bot's answer had no obvious owner.
Cost
Loops that run unattended should know the usage limits and work within them. The nightly loop that hardened the Neon Pilot codebase was quota aware, so it didn't use up my quota too early.[35] They should also back off from failing providers on their own. Task Factory added a circuit breaker that paused a provider after repeated rate-limit, quota or login failures, plus model fallback chains.[12] Providers failed often enough that a queue left running unattended needed both.
Small decisions suit small models. Routing a message with a judgment model takes one request with a 5-second deadline; the agent session it replaced allowed up to 30 seconds.[26] Most of the tuning afterwards went into the confidence threshold, as A small model decides when to interrupt describes.
The largest cost is upkeep. Supporting several agent runtimes in my own app meant manual QA, styling and packaging I didn't want to do.[1] Even now I joke about spending compute on a harness only I will use.[45]
Failure modes
Scope creeps until the app is the job. Neon Pilot grew evaluations, channels, routines and model duels, and its last commit is a rule to cut back.[17] Each feature was cheap to add with an agent, and each one added testing and upkeep. Features without a job fail in a different way. The agents ignored a virtual pet and it was deleted the same afternoon, and bots with vague missions filled a channel with noise.[28][27] A December audit of BB Studio removed Strands (a feature that sorted a busy conversation into topics) and several other unused features outright, instead of hiding them behind settings.[25] A flag doubles the paths to test, and a removed feature can be rebuilt from history if I miss it.
Helper processes are another source of failure. When Neon Pilot's extension host died, the backend could keep a stale connection to it and needed a recovery path.[16] Any harness with helper processes needs a liveness check on each of them.
Machinery built around one model's weaknesses often becomes unnecessary with the next release. As I put it in August, models will devour capabilities.[30] That is a reason to keep a personal layer thin and let vendors maintain the loop, and it is the argument of The bitter lesson.
Criticism and counterpoints
These lessons come from one user. A harness built for a team, with shared review and on-call duty, might need the elaborate memory, approval and routing layers I dropped.
Several lessons rest on one episode or a handful of logged decisions. The Jev retuning was based on my own messages, and the claim that agents don't reliably use a provided component library comes from one app.[26][36]
Some lessons may age quickly. If models get much better at long autonomous work, the case for check-ins over a single goal loop weakens, and so may the case for strict completion tools. The The bitter lesson applies to these lessons too.
Open questions
- How should a harness decide which agent updates deserve a person's attention? Narrowing each bot's job has helped, and the general problem is open.[27]
- Is a fork with a ledger sustainable for years, or only while one person tends it daily?[20]
- Will vendor harnesses open enough extension points that a meta-harness becomes unnecessary?
See also
- Agent harnesses, the topic article
- pi-deck, Task Factory, Neon Pilot (Personal Agent), bb and bb-plugins and BB Studio
- Agent workbench, my current setup
- How I actually work with coding agents, my day-to-day practice, and Running agents is a management job
- Background agents, loops and swarms, on loops and swarms
- Skills, plugins and MCP
References
- ^ From pi-deck to bb: four tries at a home for agent work (experiment, Sep 2026)
- ^ The harness features I can't live without (post, Nov 2026)
- ^ Personal Agent (post, Apr 2026)
- ^ Personal Agent features, part 2 (post, Apr 2026)
- ^ Personal Agent's knowledge base (post, May 2026)
- ^ Seeding context in Personal Agent (post, May 2026)
- ^ Self-extensible software is here and it's amazing (post, Jun 2026)
- ^ Memory systems are mostly garbage (post, Nov 2026)
- ^ It's time to let the model drive (post, Dec 2025)
- ^ FOBO, grief and bottlenecks (post, Feb 2026)
- ^ Task Factory README, Philosophy: the human is the bottleneck
- ^ Task Factory commit history (GitHub)
- ^ pi-deck commit 0ef0334: remove pane system, simplify to tabs-only interface (Feb 2026)
- ^ Neon Pilot commit c0e069d4a: move goal mode into composer extension controls (May 2026)
- ^ Neon Pilot commit f656dfad3: simplify memories into hub packages (Mar 2026)
- ^ Neon Pilot commit 2706a6a09: recover stale extension host backend (Jun 2026)
- ^ Neon Pilot commit 49aa6d404: capture the simplified product model (Jul 2026)
- ^ bb-plugins: my public plugin collection for bb (GitHub)
- ^ bb-plugins commit 768e1b2: only a person can approve or change an MCP server (Nov 2026)
- ^ BB Studio fork scripts: the core-edits.json ledger, sync, identity and rebrand scripts (GitHub)
- ^ BB Studio README and commit history (GitHub)
- ^ BB Studio commit 4ebf54ff0: approvals only a person can answer (Nov 2026)
- ^ BB Studio commit 0034c6eff: a reply of exactly [PASS] raises no notification (Nov 2026)
- ^ BB Studio commit 747c0d961: Codex loads a plugin tool's schema on demand (Nov 2026)
- ^ BB Studio commit c4c39b22b: 'needs you' moves to the Feed and pushes once, replies push only for turns I started, then Strands is removed (Dec 2026)
- ^ A small model decides when to interrupt (experiment, Sep 2026)
- ^ Putting agents in the same room (experiment, Sep 2026)
- ^ An agent pet that lasted an afternoon (experiment, Sep 2026)
- ^ Spool: collecting all the context before knowing what it's for (experiment, Sep 2026)
- ^ Agent harnesses are jumping the shark, like the JavaScript framework wars; I'm divesting (@trashpandaemoji, Aug 2026), since deleted
All this agent harness bullshit is starting to jump the shark. Feels a lot like the javascript framework wars of olde. There is already a lot of time wasted on small details that ultimately won’t matter. Models will devour capabilities, all harnesses will converge to Pi with some twist. I’m glad I learned all there is about harnesses but I’m divesting.
- ^ Hooks, skills and MCP are not enough; harnesses need real extensions (@trashpandaemoji, Jun 2026), since deleted
@jxnlco Plugins are not enough. You guys need actual extensions. A few hooks, skills, and MCP is too lightweight.
- ^ Heartbeats plus subagents beat goal mode (@trashpandaemoji, Jul 2026), since deleted
Heartbeats + Subagents > Goal Mode Goal mode just infinitely loops, delegating just causes the agent to keep looping. Heartbeat + Subagents allows your orchestrator to delegate to Subagents and monitor their progress on a set cadence. Pair it with a doc to keep track of work…
- ^ Codex as orchestrator, Pi and OpenCode as subagents (@trashpandaemoji, Jul 2026), since deleted
@joelhooks I’ve been doing something similar. Using codex as a main orchestrator with Pi and opencode Go as a subagent.
- ^ The bottleneck has moved to deciding and verifying (@trashpandaemoji, Jun 2026), since deleted
The bottleneck used to be coding so we optimized for the bottleneck. The bottleneck now is figuring out what to build and verifying the output. Pretty soon it will be just figuring out what to build or the really hard technical parts that require deep expertise and…
- ^ A quota-aware nightly loop that hardens the codebase (@trashpandaemoji, Jun 2026), since deleted
This hardening loop is particularly cool. I quite like that it just kinda churns in the background every night, fixing things. Making it quota aware also ensures I'm not blowing my quota away too early. I have it set up so its able to use Neon Pilot as a subagent through the…
- ^ Agents building extensions won't use the component library (@trashpandaemoji, Jun 2026), since deleted
@baallives That's great! For the frontend stuff I ended up implementing a UI component library, but the difficulty is getting the agent building the extension to actually use the dang library.
- ^ Neon Pilot is competitive on features, way worse on polish (@trashpandaemoji, Jun 2026), since deleted
I'm kinda impressed actually with what I was able to build in a few month with Neon Pilot. I have all these features and more but the polish in NP is way worse. […] I wouldn't say its on par but its competitive with an…
- ^ Terminal UX wasn't cutting it (@trashpandaemoji, Aug 2026), since deleted
@tryingET Yeah the IX of the terminal based solutions just wasn’t cutting it for me. I really like the self-extensible aspect of Pi, but I wantedaffordances like mobile apps and desktop apps. The codex mobile app is quite good, lets me get away from my computer.
- ^ The BB Studio phone app (@trashpandaemoji, Oct 2026)
- ^ An interactive design canvas beats static HTML artifacts (@trashpandaemoji, Nov 2026)
- ^ Reply options and 'by the way' notes (@trashpandaemoji, Oct 2026)
- ^ Bots: long-running threads with a memory file (@trashpandaemoji, Oct 2026)
- ^ Memory systems are mostly garbage (@trashpandaemoji, Nov 2026)
- ^ Grepping past sessions beats sophisticated RAG memory (@trashpandaemoji, Oct 2026)
- ^ Spending compute on yet another agent harness only I will use (@trashpandaemoji, Nov 2026)