psi

psicode.ai

A 6.4 MB portable, extensible coding agent written in ANSI C and Lua that runs almost anywhere.

Pricing
Open source
Published
Nov 9, 2026

Next steps

  • Agav

    Both tools are listed under AI Code Assistant, AI Agent, coding-agent, and ollama.

  • Kimi Code CLI

    Both tools are listed under AI Code Assistant, AI Agent, coding-agent, and terminal.

  • Pi

    Both tools are listed under AI Code Assistant, AI Agent, coding-agent, and terminal.

  • Strix
  • Daily Stock Analysis (DSA)
  • Agent Reach

What it does

psi (MIT) is a terminal coding agent with a small C core and a Lua runtime, shipped as a 6.4 MB portable binary for Linux, macOS, Windows, FreeBSD, OpenBSD, Haiku and more. You can choose Anthropic, OpenAI Codex, OpenRouter or local Ollama models, resume a session with a different provider, branch conversations and extend the running agent with Lua commands and themes. The source is meant to be small and auditable.

psi · Image from the official website
Image from the official website

Use cases

  • Run a coding agent on Linux, macOS, Windows, BSD or Haiku from one small binary
  • Extend the agent at runtime with Lua commands and themes
  • Switch between Anthropic, OpenAI Codex, OpenRouter or local Ollama models within a session

Frequently asked questions

How big is psi?
The project describes a 6.4 MB portable binary written in ANSI C and Lua.
Which models does it support?
Anthropic, OpenAI Codex, OpenRouter and local models via Ollama; sessions can resume with a different provider.
Is it open source?
Yes, MIT licensed.
Log in to join the discussion