Rust agent harness. pi core (minimal, 4 tools) + built-in pi-lens-style feedback (LSP, linters, tests) + native MCP. All work is tracked in milestones M0-M7.
Design rules
Core stays pi-small: 4 tools (read write edit bash), tiny prompt, no plan mode or sub-agents in v1.
Lens is a built-in crate, not a plugin. It uses the same event bus extensions use.
MCP tools are lazy by default: model sees a one-line index and pulls schemas via mcp_describe. Servers can opt in to eager registration.
Diagnostics injected once per turn end, only if fresh (file seq numbers).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Rust agent harness. pi core (minimal, 4 tools) + built-in pi-lens-style feedback (LSP, linters, tests) + native MCP. All work is tracked in milestones M0-M7.
Design rules
read write edit bash), tiny prompt, no plan mode or sub-agents in v1.mcp_describe. Servers can opt in to eager registration.Workspace
Key crates
tokio, reqwest, eventsource-stream, serde, schemars, rmcp, lsp-types, ignore, notify, similar, tree-sitter, ast-grep-core, ratatui, crossterm, clap, tracing, thiserror, anyhow.
Core contracts
Lens model
project_seq+ per-file seq; every write/edit/format/autofix bumps it with a source tag.editon files not read since last external change.Deliberate simplifications
Subprocess JSON-RPC extensions only (no Lua/WASM), three providers, no sub-agents/plan mode, no Windows, no sandboxing in v1.
Risks