An open-source agent engine and terminal CLI
Phoson is a minimal, framework-free Python runtime for AI agents — a custom ReAct loop, multi-provider LLM support, and an interactive CLI. Built in the open.
Available for· Install the CLIInstall the CLI and run Phoson where the work actually happens.
Drop into a focused terminal agent with provider routing, resumable sessions, image attachments, and an installer for Windows, macOS, and Linux.
Choose where you'll install Phoson
════
//// \\
/// \\
//// \\\
// \\
║ ║
║ ▓▓▓ ▓▓▓ ║
║ ▓▓▓ ▓▓▓ ║
║ ║
║ █ █ ║
║ █▌ ▐█ ║
║ ████████████ ║
\\ //
\\\\ ////
\\\\ ////
\\\ ///
════Everything an agent needs. Nothing it doesn't.
phoson-engine-minimal is a lightweight Python runtime you can embed in your own product or drive from the CLI.
Framework-Free Core
A custom ReAct loop built directly on provider SDKs. No LangChain, no LangGraph — just a minimal runtime you fully own.
Multi-Provider LLM
OpenAI, Anthropic, Gemini, Mistral, AWS, Ollama and more — all behind a single typed chat contract.
Typed Event Stream
Token-level streaming events for every provider, so your UI always knows exactly what the model is doing.
Branchable Sessions
ConversationTree keeps non-linear history: rewind, branch and resume work from any point in the conversation.
Tools & MCP
Define tools with @tool and attach MCP servers — with pooled, persistent sessions for low-latency calls.
Cost Tracking
Built-in pricing turns every run into a USD figure. Know what your agents cost, per model, per run.
An LLM running in your browser
LFM2.5-230M by Liquid AI on WebGPU. Local chat, no backend, no API keys — nothing leaves your machine.
Open-sourcing the phoson-minimal-engine
We are releasing a minimal agent harness built from scratch on official AI provider SDKs. It stays intentionally small while exposing an extensible plugin system for tools, memory, and custom behaviors.
AI providers
Notes from the frontier
We write openly about what we're learning — architectures, tradeoffs, open questions.
Put an agent runtime in your terminal
Install the CLI in one line, bring your own provider keys, and start building on the engine today. MIT licensed, forever.
MIT license · Python 3.12+ · One-line install