Skip to content

Why endurable

Coding agents made endurable. The word has two meanings, and both are the point.

Bearable. You don’t babysit. Agents got good enough to work for twenty minutes without help, and the tools around them still assume you’ll sit and watch. Here you start the work and walk away. An agent that needs a decision stops and asks, and then it waits. Nothing pings you, and you answer when you get to it. You don’t repeat yourself either: agents search your past threads, so last week’s decisions are already context.

Durable. Everything you see has already been saved, so nothing is lost to a restart, a closed laptop or a reply that comes next week. It’s built on pi-durable, which is where the name comes from.

Everything in the app follows from a handful of ideas. They’re worth knowing, because once you know them, most of how endurable behaves stops needing to be looked up.

A thread is one task with one agent: a conversation, a folder, a branch and a status. You list threads, search them, fork them and archive them. There’s nothing smaller to manage and nothing larger. A big feature is a thread whose agent started other threads.

What a thread needs from you shows on the thread’s own row. There is no separate inbox to check, and nothing that pings you. A row that needs you says so in a word, and opening it shows you why.

The transcript is there, and nothing in it is hidden, but it isn’t what you see first. A finished turn folds to one line and the agent’s answer. What you see first is what needs a decision, with enough beside it to make one: the question, the diff, a picture.

Every turn ends in one of three ways, and the thread’s row says which.

flowchart TD
  you([You write]) --> work[The agent works,<br/>in its own worktree]
  work --> ends{Its turn ends}
  ends -- it answered --> new([Done])
  ends -- it asked --> stopped([Needs you])
  ends -- it failed --> attention([Failed])
  stopped -. you answer .-> work
  attention -. Retry .-> work

A finished thread is what the next agent knows

Section titled “A finished thread is what the next agent knows”

A thread doesn’t end when its work does. Agents search and read your other threads, archived ones included: what was asked, what was decided, what was run. Mention a thread with # and the agent reads it before it starts.

endurable also remembers which thread made each commit. From a SHA in git blame, an agent, or you, can get back to the conversation that explains the change. Nothing is written into commit messages for this.

So the reasoning behind your code stops living only in people’s heads and in chat logs nobody reopens. It sits where the next agent will look.

Everything you see on screen has already been saved. That one rule changes what you can do.

Restart endurable, and threads that were working pick up where they were. Close the laptop mid-turn, and the turn continues when you open it. With tmux installed, a command that was running when the server stopped is reattached to, not run a second time.

It also changes what asking means. When an agent asks you something, its turn ends. No process sits waiting and no tokens are spent while you think. Answering three days later is the same as answering in three seconds: your reply is a new message, and the agent starts from everything it knew.

So you can afford to be slow. That’s the point.

Agents propose. You publish.

An agent can edit files and run commands freely in the default mode, because an agent that asks before every ls teaches you to click Approve without reading. But a git push, a pull request, a release or a package publish asks every time, in every mode, with no “always allow”. And the button that creates a pull request is one only you can press.

The same holds for smaller things. Marking a thread read never wakes its agent. Canceling a wait doesn’t either. The short list of actions that do start an agent working are the ones that look like it: Send, Retry, Continue with another model, Fix it.

An agent saying “done” is a claim. endurable treats it as one.

Your repository can list the commands that mean work is finished, in a file called .agents/checks. Agents are told them and run each before they stop. endurable doesn’t take the agent’s word for the result: it watches the runs and records how each ended.

The agent answered, but a check is failing, so the thread isn't finished. It needs you.

A few details are what make this more than a convention:

  • A thread is judged by the checks on its base branch, not by the file in its own worktree. An agent can’t pass by editing the list.
  • A run only counts when its exit code is the check’s own. npm test | tail doesn’t count, because that exit code is tail’s.
  • If files change after the checks ran, the result says so. “Checks ran before later changes” is not “Checks passed”.
  • A turn that ends with a check failing puts the thread in Needs attention, even though the agent wrote an answer.

None of this is configurable, and that’s deliberate. There’s no setting to make a red check count as green. Checks has the details.

endurable records what an agent did as it does it: which commands ran and how they exited, which files changed, what it captured from its browser. This costs no model time, so every finished turn carries it. The footer under an answer isn’t the agent’s summary of its work. It’s the record.

Proof is different. Screenshots, recordings and a written case for “this works” take the agent real effort, so they aren’t produced on every turn. You ask for them, with Show evidence, when the work matters enough. What comes back is labeled by how it was made: Captured means endurable recorded it happening, Authored means the agent wrote it. Anything the agent couldn’t demonstrate is listed as Not proven.

The distinction between what was observed and what was asserted runs through the whole app.

endurable never notifies you. No push notifications, no sounds, no badges on your phone. That’s on purpose.

A tool that runs five agents could interrupt you five times as often as a tool that runs one. Each interruption would be reasonable on its own: a question, a finished task, a failed check. Together they’d make the thing unbearable, and you’d end up watching your phone the way you used to watch a terminal.

So nothing comes to find you. What needs you waits on its thread’s row, and waiting is free: an agent that asked has ended its turn, and nothing is spent until you answer. You look when you’re ready, and one glance at the list or at Home tells you everything that’s waiting.

The same restraint runs through the app itself:

  • Nothing in the list jumps. A thread keeps its place when something happens in it. Only the mark at the end of its row changes.
  • The tools panel doesn’t open because something changed. A tab with news gets a dot. It opens only when an agent asks to show you a running app.
  • Children report to their parent in one quiet line, not by replaying their answers.
  • A scheduled run that finds nothing says nothing.
  • Working threads can step out of the way. Turn on the Working section and a thread leaves the list while an agent is on it, tucked into a fold at the foot. What’s left in the list is what’s ready for you: something to read or something to answer. A thread comes back to its place when its turn ends, and right away if it needs you.
  • Threads can’t keep each other busy forever. After enough wake-ups with no word from you, a thread holds its incoming messages and asks.

An agent finishes its task and moves on. The dev server it started keeps running. So does the database container, and the worktree it worked in stays on disk. One agent’s leftovers are a nuisance. Ten agents’ leftovers are a laptop with its fans on and a disk that fills up.

Managing that shouldn’t be your job, so endurable does it. It knows which processes and containers each thread’s commands started, and shows them on the thread. It stops them when the thread is archived, deleted or shipped, and when the thread has simply been idle for a while. It removes a worktree once its thread has been archived for a week. Both timings are settings, and either can be turned off.

It’s careful about the second half. Stopping a dev server loses nothing. Deleting a folder can, so a worktree with uncommitted or untracked files is never removed automatically, and a branch whose commits exist nowhere else is kept. Where cleanup can’t finish, Settings says which worktree and why.

endurable doesn’t claim more safety than it has.

It has several protections: permission modes, the things that always ask before they run, secrets an agent can use but not see. These catch mistakes: an agent pushing when it shouldn’t, a key ending up in a transcript. They don’t stop an agent that is trying to get around them, because an agent runs as you, on your machine. The app and these docs say so wherever it matters.

One feature does hold against that: the sandbox. It’s a virtual machine per thread, with a list of hosts it may reach and secrets that never enter it.

Software that implies more safety than it provides teaches people to rely on protection that isn’t there. So every approval card shows the literal command above the agent’s description of it, every refusal says why in a sentence, and the security page lists what isn’t protected.

What endurable needs to know about a project, it reads from files in the project:

File Says
AGENTS.md What every agent should know
.agents/checks What done means
.agents/setup.sh How to prepare a fresh checkout
.worktreeinclude Which ignored files a checkout needs
.agents/skills/ How to do particular kinds of task

Most of these are conventions other agent tools already read. Commit them and your whole team’s agents behave the same way, whichever tool each person uses. There’s no project settings file to keep in step with the code, because the code’s own files are the settings.

A tool row in the transcript says “Ran npm test” or “Read 5 files”, never a tool’s name and a blob of JSON. A failed turn says “The model returned an error: Overloaded”, never an internal reason code. A menu item that can’t be used yet is shown disabled, with why: “Ship it once the agent’s turn ends”.

If the app has to explain itself, it does it in a sentence, in place.

No tool fits everyone’s work, and waiting for a feature request to land is its own kind of unbearable. So endurable is built to be extended by the same agents it runs.

You describe what you want: a button, a panel, a model provider, an app, a thread that starts itself when an alert fires. An agent writes it as a TypeScript file in your extensions folder, endurable loads it without a restart, and the agent checks that it loaded. endurable ships the skill that teaches agents its extension API, so they don’t need its source to do this.

The parts endurable itself is made of are the parts an extension gets: tools that pass through the same permission checks and secret masking, commands that appear in the same menus, pages drawn in the same theme. An extension isn’t a second-class add-on bolted to the side.

The cost is trust. An extension runs inside endurable with your permissions, and the docs say so. Extensions has the details.

endurable is one process on your machine. There’s no endurable service your code passes through. What an agent reads goes to the model provider you chose, and nowhere else. You bring your own Claude or ChatGPT subscription or API key. API keys are kept in your system keychain and subscription sign-ins in a file only you can read, and neither is ever in the environment of anything an agent runs.

Every model runs through the same loop, so questions, approvals, rewinding and forking work identically whichever you pick, and you can switch models in the middle of a thread.

flowchart LR
  subgraph devices [Your devices]
    browser[Desktop browser]
    phone[Phone, over Tailscale]
  end
  subgraph computer [Your computer]
    server[endurable]
    repos[(Your repositories<br/>and worktrees)]
    keychain[(Keychain)]
  end
  browser <--> server
  phone <--> server
  server --> repos
  server --> keychain
  server <--> models[Model providers<br/>with your account]

A tool you check forty times a day has to open instantly. The list paints from a local copy before the server answers. A thread with a thousand turns scrolls like one with ten. While an answer streams, one row redraws per token and nothing else moves. This isn’t a feature anyone asks for, and it’s the one you’d notice first if it were missing.