# "Pi Durable: Proactive Agents, Jev Triggers, My On-Call Pi Agent"
<!--
ref: @content/youtube/indy-dev-dan/pi-durable-proactive-agents-jev-triggers-my-on-call-pi-agent
tags: [durable agents, proactive agents, Pi coding agent, agent harness, incident response, human beside the loop, shared application state, owning your agent stack]
version: 2
updated_at: 2026-11-22T12:54:00.870Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=DNDYYHsypZg)**

# Pi Durable: Proactive Agents, Jev Triggers, My On-Call Pi Agent

*Synthesized from Indy Dev Dan, 2026-10-12.*

Indy Dev Dan presents alone, introducing himself at the start. The transcript is a rough machine translation, so names of the Pi creators and some product names are garbled; this summary uses only the clearest spellings.

## Core Thesis
Indy Dev Dan argues that "Pi durable", a newly released experimental extension for the open-source Pi coding agent, makes agents that survive crashes, client changes and restarts, and that this enables proactive agents that start work before a human arrives. He sees moving from in-the-loop to out-of-the-loop work as the next phase of engineering, and says engineers should own their agent harness instead of renting it.

## Key Insights
- **What durable means.** The agent's session, dialogue and state persist through crashes, closed laptops, rebooted machines and page refreshes, resuming from the last checkpoint. The agent is decoupled from clients: a terminal UI, a browser app and curl can attach to the same running agent.
- **Hierarchy.** Device, then workspace, then agent. He runs persistent agents on an M4 Mac mini, an M6 Mac mini, an M5 MacBook Pro and cloud sandboxes on exe.dev, and keeps one machine purely for agents. He advises giving agents a computer with the same tools you have.
- **Proactive on-call demo.** In a mock product with a streaming event feed, a small, cheap classifier called Jev detects an incident and launches a Pi durable agent, which runs discovery, investigation and root-cause analysis. The example bug was a checkout API applying loyalty discounts with a non-null assertion on a null customer tier. He approved the fix, production stabilized, and the classifier had handled hundreds of events for about a cent and a half, later about 13 cents to classify an hour of logs.
- **Human beside the loop.** Instead of babysitting in the terminal, the engineer watches workflows and steps in only to approve or reject, for example a deployment. A sub-agent can ask the human questions during a durable task.
- **Shared application state.** One JSON object per device is readable and writable by every agent session through read-state and update-state tools, so several agents can work from the same facts.
- **Durable tasks.** Repeatable multi-stage work, such as a workspace snapshot, that can be rerun from a failed stage, run in loops and have its statuses queried by the agent. Every model call and tool call is treated as a task.
- **Live reconfiguration.** The tool set can be changed mid-session, such as switching to read-only mode, and the agent notices. Extensions can be toggled, including a system-prompt fix for chatty models and a Jev-based "damage control" that blocks an rm -rf at 0.99 irreversibility until unsafe mode is switched on.
- **Other features.** Background auto-compression with a movable compression mark (the session forks, then compacts), a handoff command to start a fresh context, and fork to branch an agent while keeping state.
- **Ownership argument.** Reliance on a lab's hosted agents is a risk because things change fast, and he points to local models and an upcoming M5 Ultra with 512GB as part of owning the stack. He credits the Pi authors for taste, noting the release is a few thousand lines of TypeScript, and says the hard part of software is deciding what is worth building. It is still experimental and he is waiting for a stable v1.
- **Plans.** He will default to long-lived Pi agents for product work such as a support chatbot (sessions could be cleared after 6 hours) and invest in proactive agents. He is also promoting a "phase three" agent-engineering product, for which he is taking pre-registrations.

## Actionable Takeaways
1. Put a cheap, fast classifier in front of an event or log stream and have it trigger an investigation agent only when it detects an incident.
2. Keep the human at an approval step for deployments, not inside the agent's inner loop.
3. Run agents on a dedicated machine or cloud sandbox, and attach clients (TUI, browser, curl) to them rather than running the agent in your own terminal.
4. Share one state object between agents on a device for cross-agent debugging.
5. Put a damage-control check on every bash command, such as blocking rm -rf.
6. Track a KPI of how many agents are doing useful work for you at any moment.

## Notable Quotes
> "He doesn't wait for you to start working. He works for you and then waits." — Indy Dev Dan
> "We have to own our intelligence, and we have to own all the other agentive technologies that we can." — Indy Dev Dan
> "You don't want to sit there and babysit your agents." — Indy Dev Dan

---

*Related: `@content/youtube/langchain/managed-deep-agents-conceptual-video` · `@content/youtube/cole-medin/pi-coding-agent-archon-build-any-ai-coding-workflow-no-claude-code-bloat` · `@content/youtube/liam-ottley/openclaw-will-never-actually-run-your-business-try-this-instead` · `@content/youtube/aie/healthcare-s-agent-bytecode-x12-as-the-harness-for-ai-agents-vasant-kearney-onlay` · `@content/youtube/ai-jason/wtf-is-loop-engineer-how-to-setup-for-real`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*