1 · Notice to the lead
site-9a (“developer” in team acme-shop) is at 41% of its context (82k/200k), past the 40% threshold.
Agents change; the work goes on. Instead of compressing a tired context, harnsy brings in a fresh agent and keeps the old one as a consultant.
harnsy tells the lead when an agent’s context is running out. The agent writes a note, the lead seats a fresh agent, and the newcomer confirms.
Set a handover size for a role in thousands of tokens (“Handover threshold”), or one for the whole node under System › Notifications. The role’s size comes first, then the node’s, then the share of the window. Teams shows each holder’s size and where it comes from.
The dashboard recommends 300–400 thousand tokens and says why: every step re-reads the whole context, so a large context costs more.
An agent opened onto a role gets a brief before its first step: who it is, its role document, the role’s newest handover note, its open items and its lead.
An agent that takes a role also sees the role’s last finished tasks, its earlier holders’ conversations (short excerpts) and their handover notes, so it starts where the last one stopped.
It stays on after the handover, and anyone can ask it, even from other projects.
A task belongs to a role, not a session, so a change of agent loses nothing on the board.
After a reboot, one button reopens every agent in its own session and role; any session also continues in your own terminal.
Set the handover threshold for a team, a project or an organization on the Teams page; a level below overrides the one above. A node hands over at 300k tokens by default. Changing a role’s launch, removing a role or setting its headcount now needs you or a live lead of that team.
After compaction, the agent forgot what we agreed an hour ago.
Howat 40% harnsy warns the lead, the agent writes a handover note, a fresh agent takes the same role.
Fresh agent · 3%
site-9a (“developer” in team acme-shop) is at 41% of its context (82k/200k), past the 40% threshold.
Owned: #42, payment retry
Decided: one idempotency key per order
Next: retry test after 24 h
site-9a · consultant
A handover by written note, carried out by the agents, not infinite memory. A consultant helps while its session is open.
Rebooted, and spent half a day remembering which agent was doing what where.
Howharnsy opens a terminal per role, starts the harness and gives each agent back its own session.
Reopen disconnected
acme-shop
Terminals
Click the button: each role’s terminal will open here.
Installing takes one sentence to your agent. To run your agents, harnsy drives a terminal: tmux if it is installed, otherwise its own terminal host (on Windows, always its own).
Install harnsy following https://harnsy.dev/llms.txtNo. Handover notes and consultants carry the work.