AI coding
AI tool

psi

An open-source coding agent for developers who work in the terminal.

Pricing information is currently unavailable.No free plan on record

Overview

psi is an open-source coding agent that runs in a terminal. The program has a small C core, while the agent loop, terminal interface, tools, and provider integrations are open to inspection, with high-level behavior in Lua.

It accepts prompts from an interactive terminal interface, a REPL, a one-shot command, or a Lua evaluation call. Sessions are stored as append-only JSONL files that form a tree, so a user can branch a conversation, try a different approach, and return to the earlier line. A session can resume with another provider. Providers listed on the site are Anthropic, OpenAI Codex, OpenRouter, and local models through Ollama.

The documented install uses Nix with flakes; the site also describes builds from source. It runs on Linux, macOS, Windows, and Haiku. Extensions are ordinary Lua files loaded from disk, and they can add slash commands, register tools, or subscribe to agent lifecycle events.

Key features

  • Terminal interface, REPL, and one-shot prompts
  • Branching sessions stored as append-only JSONL
  • Provider choice: Anthropic, OpenAI Codex, OpenRouter, Ollama
  • Lua extension API for commands, tools, and lifecycle events
  • C core with Lua agent loop and terminal rendering
  • MIT-licensed source code
  • Runs on Linux, macOS, Windows, and Haiku
  • Dependency and license map for builds

Pricing

Pricing model
unknown
Monthly
Pricing information is currently unavailable.
Yearly
Not on record
Free plan
No
Free trial
Not on record
Last verified
Checked December 4, 2026

Pros

  • Source code can be audited and modified
  • Runs across desktop systems and Haiku
  • Works with hosted providers or local Ollama models
  • Extensions are plain Lua files loaded from disk

Cons

  • Documented install requires Nix with flakes
  • Some sign-in options require building from source

Who should use it

  • Developers who prefer terminal workflows
  • Users who need to audit or modify an agent
  • Linux, macOS, Windows, and Haiku users
  • Local-model work through Ollama

Facts

Category
AI coding
Platforms
Linux, macOS, Windows, Command line
Integrations
None on record
API
Not on record
Skill level
Team size
Data and privacy
We have no verified details on data handling. Read the vendor's privacy policy before uploading sensitive material.

Frequently asked questions

How much does psi cost?

Pricing information is currently unavailable. Checked December 4, 2026.

Does psi have a free plan?

Our data lists no free plan or trial for psi.

Who is psi best for?

Developers who prefer terminal workflows; Users who need to audit or modify an agent; Linux, macOS, Windows, and Haiku users; Local-model work through Ollama.

Which platforms does psi run on?

Linux, macOS, Windows, Command line.

Does psi have an API?

Our data does not list a public API for psi.

Member reviews