Hasty Briefsbeta

Bilingual

Pi – a minimal terminal coding harness

5 hours ago
  • #extensible
  • #coding-harness
  • #terminal-tool
  • Pi is a minimal terminal coding harness that can be extended with TypeScript extensions, skills, prompt templates, and themes.
  • It supports four modes: interactive, print/JSON, RPC, and SDK.
  • Pi integrates with multiple AI providers like Anthropic, OpenAI, Google, Azure, and more, with authentication via API keys or OAuth.
  • Users can switch models mid-session and customize providers and models via models.json or extensions.
  • Sessions are stored as trees, allowing navigation to any previous point and continuation from there.
  • Pi supports exporting sessions to HTML or uploading to GitHub gists for sharing.
  • It features dynamic context management, auto-summarization, and customizable compaction.
  • Skills and prompt templates allow for progressive disclosure and reusable prompts.
  • Pi is highly extensible, allowing users to build features like sub-agents, plan mode, and more via extensions.
  • Packages can be installed from npm or git, and versions can be pinned or updated.
  • Pi supports interactive, print/JSON, RPC, and SDK usage modes.
  • The tool is designed to be minimal and extensible, avoiding built-in features like MCP, sub-agents, and permission popups.
  • Community support is available via GitHub for issues and Discord for discussion.