Repository navigation
AI Agent Durable Pi Durable
Pi Durable (@earendil-works/pi-durable) is an open-source, lightweight TypeScript framework for building long-running, crash-resilient, and malleable AI agents. Released alongside Pi 1.0 by Earendil, Pi Durable represents a fundamental architectural departure from conventional ephemeral chatbots and simple transcript-resuming scripts.
In a Pi Durable system, conversations, model turns, tool executions, task ownership trees, and structured application state are committed to persistent transactional storage before anything is rendered to the user. If a process crashes, an operating system reboots, or a network connection drops mid-flight, reopening storage resumes execution precisely where it stopped - without duplicating hazardous real-world side effects.
This definitive guide synthesizes all principles, architectural primitives, setup procedures, and real-world implementations of Pi Durable. It incorporates deep technical insights from Earendil, operational analyses from MindStudio, and video demonstrations from Scott Tolinski (Syntax) and Nathan Disler.
Traditional agent frameworks often suffer from dependency bloat, fragile state machines, and leaky abstractions. Pi Durable was built on two core tenets:
-
Minimalism: The entire core harness spans only ~15,000 lines of clean, readable TypeScript with zero heavy external dependencies. It relies exclusively on
@earendil-works/pi-aifor universal model routing and@earendil-works/chordfor reactive document synchronization. - Super-Malleability: Agents should not be black boxes. In Pi Durable, running agents, extensions, tools, system prompts, and storage adapters can be hot-reloaded and modified on disk while conversations and background tasks continue running.
┌─────────────────────────────────────────────────────────────────────────────┐
│ TRADITIONAL EPHEMERAL CHATBOT │
│ │
│ User Input ──► [In-Memory Run Loop] ──► [Tool Execution] ──► [LLM API] │
│ │ │
│ CRASH / RESTART │
│ ▼ │
│ *TOTAL LOSS* │
│ (Mid-flight tool execution lost, queued instructions erased, │
│ uncommitted side effects unknown, duplicate charges/bugs) │
└─────────────────────────────────────────────────────────────────────────────┘
VS
┌─────────────────────────────────────────────────────────────────────────────┐
│ PI DURABLE AGENT HARNESS │
│ │
│ External Signals ──► [Client Thin Surfaces] (Web Hub, TUI, Slack, Webhook) │
│ │ (Watch & Steer via HTTP/WebSocket) │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ PERSISTENT HARNESS (Local / VPS / Edge) │ │
│ │ │ │
│ │ 1. Atomic Commit Line ──► Persistent Storage (SQLite / Cloudflare DO)│ │
│ │ 2. Task Ownership Trees (Checkpoint on every turn & step) │ │
│ │ 3. Replay-Safe Tool Protocol (`replay: "safe"` vs Dangerous Interrupt│ │
│ │ 4. Background Compaction (Infinite runtime inside finite context) │ │
│ │ 5. Reactive Typed Documents (Domain state committed with transcript) │ │
│ └───────────────────────────────────────────────────────────────────────┘ │
│ │ │
│ CRASH / REBOOT / DEPLOY │
│ ▼ │
│ [Instant Resume from Exact Last Checkpoint] │
└─────────────────────────────────────────────────────────────────────────────┘
Most developers assume that saving chat transcripts to MongoDB or Redis makes an agent "durable." However, as explained in Earendil's announcement and MindStudio's technical breakdown, transcript history is not run state:
| Dimension | Naive Chat Transcript /resume
|
Pi Durable True Execution |
|---|---|---|
| What is Stored | Simple array of completed user and assistant strings | Transactional event journal, checkpoints, task ownership trees, pending submission queues, and typed domain documents |
| Mid-Flight Crashes | Blindly re-runs the entire prompt or fails completely | Identifies interrupted tool calls; re-runs only replay: "safe" tools; passes structured interruption notices to model for unsafe tools |
| Side-Effect Prevention | None (high risk of repeating destructive actions) | Idempotency keys + atomic transactional commits |
| Subagent Lifecycles | Ephemeral in-memory threads destroyed on restart | Hierarchical task trees where subagents are durable tasks with distinct rollback/abort policies |
| Context Overflows | Crashes with provider context_length_exceeded errors |
Non-blocking background compaction summarizes older turns while archiving raw history to disk |
| Client Decoupling | Agent dies when browser tab or terminal closes | Agent lives on the host/edge; multiple clients (TUI, Web Hub, CLI) can attach, disconnect, and steer concurrently |
Pi Durable organizes agentic systems around seven foundational primitives:
┌─────────────────────────────────────────────────────────────────────────────┐
│ HARNESS ROOT │
│ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ CONVERSATION │ │
│ │ │ │
│ │ ┌───────────────────────────┐ ┌───────────────────────────┐ │ │
│ │ │ ENTRIES │ │ TYPED DOCUMENTS │ │ │
│ │ │ • pi.system (Instructions)│ │ • pi.agent (Model Config) │ │ │
│ │ │ • pi.user (User Prompts) │ │ • pi.live (Active Steps) │ │ │
│ │ │ • pi.assistant (Responses)│ │ • pi.inbox (Queued Tasks) │ │ │
│ │ │ • pi.tool-result (Outputs)│ │ • pi.usage (Token Spend) │ │ │
│ │ │ • pi.reset (Context Marks)│ │ • Custom Domain Documents │ │ │
│ │ └─────────────┬─────────────┘ └─────────────┬─────────────┘ │ │
│ │ │ │ │ │
│ │ └────────────────┬────────────────┘ │ │
│ │ ▼ │ │
│ │ ┌───────────────────────────────┐ │ │
│ │ │ ATOMIC COMMIT LINE (tx) │ │ │
│ │ └───────────────┬───────────────┘ │ │
│ │ │ │ │
│ │ ┌──────────────────────────────▼──────────────────────────────┐ │ │
│ │ │ TASK OWNERSHIP TREES │ │ │
│ │ │ pi.generation (Owns Model Call & Evaluates Tool Invocations)│ │ │
│ │ │ └── pi.tool (Durable Task per Invoked Tool) │ │ │
│ │ │ └── Custom Subtasks (Phased Checkpointing) │ │ │
│ │ └─────────────────────────────────────────────────────────────┘ │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ STORAGE ADAPTER │ │
│ │ Node SQLite │ Cloudflare Durable Objects │ IndexedDB │ JSONL │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
The Harness is the master orchestrator. It manages open storage, model provider registries, tool definitions, execution environments, and concurrency locks. Nothing is emitted or rendered to the user until its corresponding commit has been written to persistent storage.
A Conversation represents a durable thread. The method harness.root(context) initializes or opens the primary root conversation. Conversations can be forked to explore alternative reasoning branches without corrupting the main timeline. Conversation handles are lightweight references compared by id.
Every event in a conversation is an immutable Entry:
-
pi.system: Base instructions and dynamic prompts. -
pi.user: Human messages or incoming external webhook payloads. -
pi.assistant: Model thoughts and generated text. -
pi.tool-result: Structured outputs returned by tools. -
pi.reset: A context-boundary entry. The model only reads entries from the most recentpi.resetforward, allowing compaction to prune the active context window without discarding historical data on disk.
State changes occur through atomic transactions. A single commit can simultaneously append new transcript entries, update typed domain documents, and instantiate new tasks:
await conversation.commit(async (tx) => {
tx.append({ kind: "pi.tool-result", toolCallId: "call_123", output: "success" });
tx.doc(taskDoc).update({ status: "completed", finishedAt: Date.now() });
});Guaranteed Consistency: Either the entire batch writes to storage, or the entire operation rolls back.
Application domain state lives alongside conversation transcripts in typed JSON documents. Built-in documents include:
-
pi.agent: Active model provider and parameters. -
pi.live: Real-time tracker for in-flight generation steps and active tools. -
pi.inbox: Queue of incoming submissions waiting for processing. -
pi.usage: Cumulative token counts and API spend tracking. Developers can define custom typed documents (e.g., ticket state, shopping cart, bug diagnosis) using TypeBox schemas.
Long-running workflows are modeled as durable state machines called Tasks. Every task has an owner (either a conversation or a parent task) and transitions through explicit phases:
-
initial: Task initialized. -
waiting: Paused waiting for external I/O, child tasks, or human sign-off. -
terminal: Completed or aborted. The harness executes model calls as built-inpi.generationtasks, which spawn and own childpi.tooltasks. Checkpoints are recorded at every step.
When an agent dies mid-execution, re-running unconfirmed tools blindly can cause catastrophic side effects (e.g., duplicate payments or repeated git pushes). Pi Durable requires tool authors to declare replay behavior:
-
replay: "safe": The tool is strictly idempotent (e.g., reading a file, searching an index). On restart, the harness safely re-executes the tool. -
Dangerous / Side-Effecting Tools (Default): Tools without the safe flag return an
interruptedstatus if caught in a crash. The model inspects the interruption notice upon resumption and decides how to recover.
- Video Reference: You need to check out Pi Durable
- Presenter: Scott Tolinski (Syntax.fm / @stolinski)
Scott Tolinski details how he transformed an unpredictable coding assistant into an autonomous, self-healing system that fixes software bugs overnight:
"Last night, my code fixed itself. A Sentry error started my agent while I was asleep. It diagnosed the bug, wrote a reproduction test, patched the source code, ran the test suite, and submitted a pull request - all running through Pi Durable."
┌─────────────────────────────────────────────────────────────────────────────┐
│ SELF-HEALING SENTRY AGENT WORKFLOW │
│ │
│ ┌──────────────┐ Webhook ┌──────────────────────────────────────┐ │
│ │ Sentry Error │ ─────────────► │ Pi Durable Daemon │ │
│ │ Telemetry │ │ (Wakes up, commits webhook to inbox) │ │
│ └──────────────┘ └──────────────────┬───────────────────┘ │
│ │ │
│ ┌──────────────────▼───────────────────┐ │
│ │ Isolated Git Worktree │ │
│ │ 1. Git checkout reproduction branch │ │
│ │ 2. Author failing regression test │ │
│ │ 3. Execute patch implementation │ │
│ └──────────────────┬───────────────────┘ │
│ │ │
│ ┌──────────────────▼───────────────────┐ │
│ │ Deterministic Test Runner │ │
│ │ • tsc --noEmit (Typecheck) │ │
│ │ • vitest run (Verify test passes) │ │
│ └──────────────────┬───────────────────┘ │
│ │ Pass Gate │
│ ▼ │
│ ┌──────────────────────────────────────┐ │
│ │ GitHub Pull Request Created │ │
│ │ (Ready for human morning review) │ │
│ └──────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
- Eliminating Plumbing Code: Pi Durable eliminated thousands of lines of boilerplate code previously needed for queuing, SQLite serialization, streaming protocols, and retry loops.
- Crash Resilience during Long Runs: Complex diagnostics often take 10 to 20 minutes. If the Node.js process experiences an out-of-memory exception or network timeout during a npm install step, Pi Durable reopens the worktree and resumes execution without re-prompting from scratch.
- Cross-Platform Flexibility: The same Pi Durable agent logic runs locally in Node.js, inside a headless Docker container on a VPS, or in a web browser using client-side IndexedDB.
- Video Reference: Pi Durable PROACTIVE Agents Video Breakdown
- Repository: disler/durable-pi on GitHub
- Presenter: Nathan Disler
Nathan Disler operationalizes Pi Durable into a distributed, multi-device agent network called Durable Pi. His architecture demonstrates the shift from reactive prompt-response bots to proactive background workers ("works for you, then waits").
┌─────────────────────────────────────────────────────────────────────────────┐
│ DURABLE PI DISTRIBUTED NETWORK │
│ │
│ ┌───────────────────────────┐ ┌───────────────────────────────┐ │
│ │ TERMINAL TUI │ │ WEB HUB UI │ │
│ │ (just tui attach local) │ │ (http://localhost:4781) │ │
│ └─────────────┬─────────────┘ └───────────────┬───────────────┘ │
│ │ │ │
│ └───────────────────┬───────────────────┘ │
│ │ WebSocket / HTTP │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ DURABLE PI DEVICE BACKEND │ │
│ │ (Runs on Port :4780 via Node 24) │ │
│ │ │ │
│ │ • Persistent SQLite Store (Local state committed to disk) │ │
│ │ • Proactive Watchers (Monitors filesystem, webhooks, cron ticks) │ │
│ │ • Multi-Client Sync Engine (Broadcasts live streaming tokens) │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
-
Multiplayer Steering: Because the agent's state is committed to SQLite, a developer can observe execution in the Web Hub interface while another team member attaches via a terminal TUI (
just tui attach local) to inject steering instructions without terminating the process. - Proactive Background Loops: The agent does not terminate after answering a query; it enters an event-listening state, continuously monitoring system logs or directories and initiating autonomous triage when anomalies occur.
Pi Durable requires Node.js 22+ (Node.js 24 recommended). Install the core packages:
npm install @earendil-works/pi-durable @earendil-works/pi-ai @earendil-works/chord @sinclair/typeboxThe following example demonstrates opening a persistent Node SQLite storage engine with write-ahead logging (WAL) and configuring automatic context compaction:
import { BACKGROUND_CONTEXT } from "@earendil-works/chord/context";
import { createModels } from "@earendil-works/pi-ai/models";
import { anthropicProvider } from "@earendil-works/pi-ai/providers/anthropic";
import { openaiProvider } from "@earendil-works/pi-ai/providers/openai";
import { createRegistry, Harness, defineTool } from "@earendil-works/pi-durable";
import { NodeExecutionEnv } from "@earendil-works/pi-durable/env/node";
import { openNodeSqliteStorage } from "@earendil-works/pi-durable/storage/sqlite/node";
import { Type } from "@sinclair/typebox";
const context = BACKGROUND_CONTEXT;
// 1. Configure Model Providers
const models = createModels();
models.setProvider(anthropicProvider());
models.setProvider(openaiProvider());
// 2. Initialize Tool Registry
const registry = createRegistry();
// 3. Define a Safe Tool (Replay-safe)
registry.install({
name: "filesystem_tools",
tools: [
defineTool({
name: "readFile",
description: "Read contents of a file safely",
parameters: Type.Object({
filePath: Type.String(),
}),
replay: "safe", // <--- HARNESS CAN SAFELY RE-RUN THIS ON RESTART
execute: async ({ filePath }) => {
const fs = await import("node:fs/promises");
const content = await fs.readFile(filePath, "utf-8");
return { content: [{ type: "text", text: content }] };
},
}),
defineTool({
name: "applyGitPatch",
description: "Applies a code diff to the local repository",
parameters: Type.Object({
patch: Type.String(),
}),
// Omit replay: "safe" -> Dangerous side effect!
execute: async ({ patch }) => {
// Implementation of git patch
return { content: [{ type: "text", text: "Patch applied successfully" }] };
},
}),
],
});
// 4. Initialize Persistent SQLite Storage
const storage = await openNodeSqliteStorage("./pi_agent_state.sqlite");
// 5. Open the Durable Harness
const harness = await Harness.open(storage, {
models,
registry,
env: ({ cwd }) => new NodeExecutionEnv({ cwd: cwd ?? process.cwd() }),
settings: {
compaction: {
reserveTokens: 16384, // Headroom reserved for model reasoning
backgroundTokens: 32768, // Threshold triggering background compaction
},
},
}, context);
// 6. Connect to Root Conversation
const conversation = await harness.root(context, {
agent: {
model: { provider: "anthropic", modelId: "claude-sonnet-5-5" },
cwd: "./workspace",
},
});Typed documents allow agents to record structured domain artifacts (e.g., ticket state or bug reports) that update in the same atomic transaction as the conversation:
import { defineDoc } from "@earendil-works/pi-durable";
import { Type } from "@sinclair/typebox";
export const IncidentDoc = defineDoc({
name: "incident.tracker",
schema: Type.Object({
ticketId: Type.String(),
severity: Type.Union([Type.Literal("P1"), Type.Literal("P2"), Type.Literal("P3")]),
status: Type.Union([Type.Literal("investigating"), Type.Literal("patching"), Type.Literal("resolved")]),
failingTests: Type.Array(Type.String()),
resolvedAt: Type.Optional(Type.Number()),
}),
});
// Committing typed document updates alongside transcript entries
await conversation.commit(async (tx) => {
tx.doc(IncidentDoc).set({
ticketId: "SENTRY-9042",
severity: "P1",
status: "patching",
failingTests: ["tests/auth.test.ts"],
});
});Below is a full working script illustrating an autonomous self-healing agent inspired by Scott Tolinski's Sentry workflow:
import { BACKGROUND_CONTEXT } from "@earendil-works/chord/context";
import { createModels } from "@earendil-works/pi-ai/models";
import { anthropicProvider } from "@earendil-works/pi-ai/providers/anthropic";
import { createRegistry, Harness, defineTool } from "@earendil-works/pi-durable";
import { NodeExecutionEnv } from "@earendil-works/pi-durable/env/node";
import { openNodeSqliteStorage } from "@earendil-works/pi-durable/storage/sqlite/node";
import { Type } from "@sinclair/typebox";
import { execSync } from "node:child_process";
import * as fs from "node:fs/promises";
async function main() {
const context = BACKGROUND_CONTEXT;
const models = createModels();
models.setProvider(anthropicProvider());
const registry = createRegistry();
// Tool 1: Run local test suite (Replay safe)
registry.install({
name: "ci_tools",
tools: [
defineTool({
name: "runTests",
description: "Executes vitest test suite and returns failure logs",
parameters: Type.Object({}),
replay: "safe",
execute: async () => {
try {
const output = execSync("npx vitest run --reporter=json", { encoding: "utf-8" });
return { content: [{ type: "text", text: output }] };
} catch (err: any) {
return { content: [{ type: "text", text: err.stdout || err.message }] };
}
},
}),
defineTool({
name: "writeCodePatch",
description: "Applies a code fix to an existing file",
parameters: Type.Object({
filePath: Type.String(),
newContent: Type.String(),
}),
execute: async ({ filePath, newContent }) => {
await fs.writeFile(filePath, newContent, "utf-8");
return { content: [{ type: "text", text: `Successfully updated ${filePath}` }] };
},
}),
defineTool({
name: "createPullRequest",
description: "Commits changes and opens a pull request via GitHub CLI",
parameters: Type.Object({
branchName: Type.String(),
title: Type.String(),
body: Type.String(),
}),
execute: async ({ branchName, title, body }) => {
execSync(`git checkout -b ${branchName}`);
execSync("git add . && git commit -m 'Autonomous fix generated by Pi Durable'");
execSync(`gh pr create --title "${title}" --body "${body}"`);
return { content: [{ type: "text", text: `PR created on branch ${branchName}` }] };
},
}),
],
});
const storage = await openNodeSqliteStorage("./self_healing_agent.sqlite");
const harness = await Harness.open(storage, {
models,
registry,
env: () => new NodeExecutionEnv({ cwd: process.cwd() }),
}, context);
const conversation = await harness.root(context, {
agent: {
model: { provider: "anthropic", modelId: "claude-sonnet-5-5" },
},
});
// Simulated Sentry Webhook Ingestion
const incomingError = {
id: "ERR-774",
message: "TypeError: Cannot read properties of undefined (reading 'jwtToken')",
stack: "at verifySession (src/auth/session.ts:42:18)",
};
console.log("Submitting Sentry error incident to Pi Durable...");
await conversation.submit({
kind: "pi.user",
text: `A production error was detected by Sentry:
Error: ${incomingError.message}
Stack Trace: ${incomingError.stack}
Investigate the failure, run existing tests to observe the issue, write a patch to handle undefined session tokens safely, verify that tests pass, and open a pull request.`,
});
// Wait for autonomous completion
await conversation.idle(context);
console.log("Self-healing task completed. All state committed to SQLite.");
}
main().catch(console.error);To run Nathan Disler's distributed Web Hub and Terminal TUI environment:
# 1. Clone the repository
git clone https://github.com/disler/durable-pi.git
cd durable-pi
# 2. Configure Environment
cp .env.example .env
# Edit .env and supply your OPENROUTER_API_KEY or ANTHROPIC_API_KEY
# 3. Setup device network configuration
cp dpi-network.example.yaml dpi-network.yaml
# 4. Install dependencies (Node 24 required)
just install
# 5. Initialize the local device backend
just net up local
# 6. Build the web hub frontend
just hub build
# 7. Start the device backend daemon (serves agent server on port 4780)
just backend run
# 8. In a separate terminal, launch the Web Hub UI (serves at http://localhost:4781)
just hub start
# 9. In another terminal, connect via terminal TUI to inspect and steer
just tui attach localPi Durable’s modular storage interface allows agents to run across varied runtime topologies:
┌─────────────────────────────────────────────────────────────────────────────┐
│ STORAGE DEPLOYMENT TOPOLOGIES │
│ │
│ ┌───────────────────────────┐ ┌───────────────────────────────┐ │
│ │ NODE SQLITE ADAPTER │ │ CLOUDFLARE DURABLE OBJECTS │ │
│ │ Local developer machine, │ │ Globally distributed edge, │ │
│ │ Linux VPS daemon, Docker │ │ zero-maintenance serverless │ │
│ └───────────────────────────┘ └───────────────────────────────┘ │
│ │
│ ┌───────────────────────────┐ ┌───────────────────────────────┐ │
│ │ BROWSER INDEXEDDB │ │ JSONL / MEMORY STORE │ │
│ │ Client-side execution, │ │ Ephemeral testing, unit │ │
│ │ mobile apps, offline web │ │ benchmarks, CI pipelines │ │
│ └───────────────────────────┘ └───────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
-
Node SQLite (
@earendil-works/pi-durable/storage/sqlite/node):- The default for servers, developer laptops, and VPS daemons.
- Fast, local, and self-contained. SQLite keeps active transcripts in memory while leaving historical archives on disk.
-
Cloudflare Durable Objects (
@earendil-works/pi-durable/storage/cloudflare):- Runs agents directly on Cloudflare’s global edge network.
- Provides consistent transactional storage at edge locations with automatic state persistence and zero server maintenance.
-
Browser IndexedDB / OPFS:
- Enables agents to run client-side on mobile devices, tablets, or browser extensions without an intermediary server.
-
Memory / JSONL:
- Lightweight storage designed for fast unit testing and benchmark evaluations.
When deploying Pi Durable in production environments, take note of the following operational realities:
-
Limitation: The Node SQLite adapter locks the local
.sqlitefile during transactions. Multiple standalone operating system processes cannot write concurrently to the same database file. - Best Practice: Run a single backend daemon process (such as Durable Pi’s backend daemon on port 4780) that owns the storage handle, and have thin clients (web hubs, TUIs, CLI tools) connect via WebSocket or HTTP.
- By default, SQLite relies on standard OS write caching. To ensure absolute durability against sudden host power loss or kernel panics, configure WAL mode and full synchronization:
PRAGMA journal_mode = WAL; PRAGMA synchronous = FULL;
- Replay safety is not automatic. Developers must audit every custom tool. If a tool writes to disk, calls external payment APIs, or creates Git commits, it must not be marked
replay: "safe"unless idempotent request keys are implemented.
- Set
reserveTokensto at least 16,384 tokens to give reasoning models sufficient room for thinking blocks. Trigger compaction (backgroundTokens) around 32,768–65,536 tokens so older turns are summarized well before hitting provider context ceilings.
- Earendil Engineering: Pi Durable Announcement & Tour - Complete introductory RFC on the architecture of durable agents.
- Earendil Engineering: Pi 1.0 Release Announcement - Principles of minimalism, malleability, and core agent design.
- Earendil Engineering: What is a Harness? - Detailed exploration of storage, execution machinery, and model interfaces.
- Earendil Engineering: How Compaction Works in Pi - Deep dive into non-destructive background summarization.
- Earendil Engineering: Pi Durable on Cloudflare - Running durable agent harnesses on Cloudflare Durable Objects.
- MindStudio Engineering: Pi Durable: What It Is and Why It Matters for Agent Apps - Architectural analysis of transcript persistence vs run state.
-
Scott Tolinski (Syntax): You need to check out Pi Durable
- Key Topic: Building autonomous self-healing coding agents powered by Sentry webhooks, automatic testing, and pull request generation.
-
Nathan Disler: Pi Durable PROACTIVE Agents Video Breakdown
- Key Topic: Transitioning from reactive prompt loops to proactive background workers with multi-device TUI and Web Hub steering.
-
Earendil Works Core Monorepo: github.com/earendil-works/pi - Source code for
@earendil-works/pi-durable,@earendil-works/pi-ai, and@earendil-works/chord. - Nathan Disler's Durable Pi Network: github.com/disler/durable-pi - Distributed agent network template with Web Hub and Terminal TUI.