The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(tinyagents-port-plan): add port plan documentation
Steven Enamakel6795dbb5be17
diff --git a/docs/tinyagents-port-plan.md b/docs/tinyagents-port-plan.mdindex 224b32c18e..86e926b177 100644--- a/docs/tinyagents-port-plan.md+++ b/docs/tinyagents-port-plan.md@@ -161,8 +161,8 @@ The endgame of #4249's Workstream 11:1. Route the detached sub-agent control plane through `graph::orchestration` for real: replace `running_subagents.rs`'s bespoke registry/steer/abort/ownership machinery with `TaskStore` + `SteeringRegistry` (+ upstream anything missing: ownership enforcement, soft-cap sweep — evaluate as crate PRs). The seam's `orchestration.rs` stops being a partial re-export.2. Replace `AgentOrchestrationSession` (`ops.rs`, 679 L) with crate `SubAgentSession` + `TaskStore`; consumers (`workflow_runs/engine.rs`, `agent_teams/runtime.rs`) move onto the crate API.3. Unify status vocabularies (§2.5); host RPC keeps wire compat via mapping.-4. Reconcile `subagent_sessions/` (durable reusable sessions) with crate `JsonlTaskStore`/checkpoint reuse instead of a parallel JSON store.-5. Thin `spawn_parallel_graph.rs` further into the seam (it already runs on crate `map_reduce`); fix the two-spawn-path inconsistency (worktree diff results threaded in one path, hardcoded empty in the other — `ops.rs:559-562`).+4. ~~Reconcile `subagent_sessions/` (durable reusable sessions) with crate `JsonlTaskStore`/checkpoint reuse instead of a parallel JSON store.~~ **Premise wrong (2026-08-30 audit):** `subagent_sessions/` is not a parallel task store. It is a reuse-selector directory keyed on ~8 product dimensions (`SubagentSessionSelector`, `subagent_sessions/types.rs:37-45`: `parent_session`, `parent_thread_id`, `agent_id`, `toolkit`, `model`, `sandbox_mode`, `action_root`, `task_key`) holding host `ChatMessage` transcripts, with a reusability status (`DurableSubagentStatus` — `Running`/`Idle`/`AwaitingUser`/`Failed`/`Closed`, `types.rs:8-32`) that has no crate counterpart. The crate's `JsonlTaskStore` (`vendor/tinyagents/src/graph/orchestration/store.rs`) is a durable task-status append log, an orthogonal concept. Reclassified **HOST-OWNED** — no reconciliation needed.+5. ~~Thin `spawn_parallel_graph.rs` further into the seam ...; fix the two-spawn-path inconsistency (worktree diff results threaded in one path, hardcoded empty in the other — `ops.rs:559-562`).~~ **Stale/resolved (2026-08-30 audit):** the line reference is stale and the inconsistency is gone. Only `spawn_parallel_graph.rs::create_spawn_parallel_worktree` (currently ~lines 318-407) calls `worktree::OpenHumanWorktreeIsolation::new(...).prepare(...)`; every other spawn path inherits a descriptor and correctly reports `worktree_path: None` (`tools/dispatch.rs`, `tools/spawn_async_subagent.rs`, `tools/continue_subagent.rs`), which is the correct behavior, not a bug. Item resolved; no further action.6. Harden the `steering_forwarder.rs` (#4456) 50 ms poll-loop coupling upstream: give `SteeringHandle`/`RunQueue` bridging a first-class crate-side lifecycle instead of an abort-on-drop guard.7. **Exit:** one sub-agent lifecycle (the crate's); `agent_orchestration/` reduced to product tools, event bridges, ledger, RPC.