pi vs software-agent-sdk
Programmable capabilities
Reusable computation marks differ
2 pi Skills with scripts persist; codemode scripts not saved; pi-durable journal replay is not unit re-run (level 3 unmet)1 ↑2 software-agent-sdk opt: load_user_skills / load_project_skills Skill loaders default False (agent_context.py:87-100), so nothing executable is rediscovered by default; enabled skills with scripts give L2Capability transfer
2 pi Pi package install (npm/git/local) documented [D]; fork/clone exist; no dependency checking (level 3 unmet)2 software-agent-sdk Git-fetched plugins and serializable Agent; fork exists; tool modules not dependency-checked (level 3 unmet)Evidence and memory
Durable evidence marks differ
2 pi Append-only JSONL trees with tool calls; no retention policy, manual delete only (level 3 unmet)0 ↑3 software-agent-sdk opt: persistence_dir on agent-server with retention set Default InMemoryFileStore; with persistence, append-only events, configurable server retention, condensation keeps eventsContext recovery marks differ
2 pi Originals in JSONL; recovery via file lists and temp-file paths only; no transcript search tool (level 3 unmet)1 ↑2 software-agent-sdk exp: conversation_mentions Condensed events kept but unreadable by the agent (L1); experimental opt-in retrieval tool reaches L2Memory maintenance marks differ
0 pi No learned-memory facility and no maintenance instruction; AGENTS.md and skills are guidance files0 ↑1 software-agent-sdk opt: load_memory=True load_memory off; when on, MEMORY.md kept via ordinary file tools per prompt; no dedicated tools (level 2 unmet)Specialist collaboration
Specialist definition marks differ
1 pi Subagents exist only as shipped example extension; example code does not count toward B0 ↑3 software-agent-sdk opt: enable_sub_agents=True task tool off in default preset; AgentDefinition sets tools/model/prompt; L4 unmet: never_confirm widensContinuation
0 ↑3 pi alt: pi-durable checkpointed child tasks No subagents in core CLI (example only); pi-durable checkpointed children with restart limit 50 ↑3 software-agent-sdk opt: enable_sub_agents + agent-server child conversations Off by default; local resume in-process only (ID map in memory); agent-server child conversations survive restartCoordination marks differ
0 ↑1 pi alt: pi-durable No subagents in core CLI; pi-durable children and signals exist; unresolved: pi-durable depth/concurrency caps, cancellation0 ↑2 software-agent-sdk opt: enable_sub_agents / workflow tool Off by default; workflow concurrency cap 8 (max 64); L3 unmet: no depth cap, no cancel propagationExecution controls
Confinement marks differ
0 ↑2 pi alt: Docker / OpenShell / Gondolin (documented) No approvals or OS boundary in the CLI; documented alternative deployments count at B but are capped at 2 (rule 1)0 ↑3 software-agent-sdk opt: DockerWorkspace / server docker runtime Local default host execution, NeverConfirm; container workspaces run all tools inside the container; open bridge network, so not L4Credential handling marks differ
1 pi Full env to bash; only inheritEnv:false for MCP and !command keychain lookups; L2 unmet: no denylist2 ↑3 software-agent-sdk opt: DockerWorkspace forward_env Host env minus small denylist, LLM_API_KEY visible; DockerWorkspace passes only forward_env allowlistBudget enforcement marks differ
1 ↑2 pi alt: pi-durable maxTurns CLI reports usage only with a 3-retry cap; the pi-durable stack enforces a maxTurns work limit when set (R3); no cost admission2 software-agent-sdk 500 iterations and post-step $ cap; child cost merged only at completion does not meet 'covering descendants' (R4)Product integration
Embedding interfaces
4 pi In-processcreateAgentSession (with customTools) plus RPC JSONL with prompt/steer/follow_up/abort/fork; typed events4 software-agent-sdk Python SDK, in-process Local plus Remote over HTTP+WS; typed events, run/pause/send, confirmation policy, client toolsDeclarative configuration marks differ
1 pi Settings files explicitly not validated at runtime despite published schemas; onlymodels.json is type-checked2 software-agent-sdk Pydantic types and ranges validated; unknown keys silently ignored for Config, LLM and settingsDurable execution marks differ
2 ↑3 pi alt: pi-durable CLI rejects concurrent prompts; orphaned calls get only synthetic transform-time errors, not recorded. pi-durable resumes or settles failed; unresolved: disconnect0 ↑3 software-agent-sdk alt: agent-server Local SDK persists nothing withoutpersistence_dir. The server survives disconnect and marks stale RUNNING as ERROR, with no auto re-runOperations and verification
Service dependencies marks differ
E pi Single Node process, no daemon or DB; MCP and fd/rg run as childrenE * software-agent-sdk Local SDK runs no services; the agent server stays resident with lease and eviction loopsExecution records marks differ
2 pi JSONL includes tools, failures and retries, but the telemetry contract ships no exporter, so level-3 optional telemetry is unmet1 ↑3 software-agent-sdk opt: persistence_dir Local default keeps events in memory only, capped at 1 (R12); with persistence, structured error/limit events plus optional OTelResult checks marks differ
2 pi Extension hooks can block or force another turn, with no stated cap; arguments are validated structurally3 software-agent-sdk Opt-in critic and goal judge re-prompt up tomax_iterations and record capped vs complete. No default check, so not level 4pi vs codexgoosehermes-agentletta-codenullclawopenclawopencodespore
software-agent-sdk vs codexgoosehermes-agentletta-codenullclawopenclawopencodespore