Phonton CLI is a local-first agentic development environment (ADE) for planned, verified, reviewable code changes. Current stable version is 0.19.7, released regularly (see GitHub releases). It differs from generic AI coding assistants by enforcing an accountable development loop: goal → plan → edit → verify → review → remember. It is not a chatbot; it produces diff-only changes, layered verification (syntax, tests, memory), and typed handoff packets with evidence. Runs locally, keeps state in SQLite, and supports BYOK providers (Anthropic, OpenAI, Ollama, etc.) with no hosted proxy.
npm install phonton-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install globally, run doctor to check setup, configure API key, then execute a goal and review results.
Backup .phonton directory and re-run 'phonton doctor' after upgrade. Expect occasional data format changes.
Use default permission mode or review goal contract carefully before allowing full access.
Ensure API keys are stored via environment variables instead of config file, or set restrictive permissions.
Use 'phonton goal "$(cat prompt.txt)"' instead.
Use --json flag for machine-readability instead of parsing TUI output.
Reinstall globally: npm install -g phonton-cli@0.19.7. Ensure npm global bin is in PATH.
Phonton CLI is not a library; invoke via child_process: exec('npx phonton'), not require().Run 'phonton config edit' and add your API key, or set the environment variable per provider (e.g., ANTHROPIC_API_KEY).
Re-run with appropriate permissions or set PHONTON_HOME to a writable directory.