Show HN: psi, a 6.4 MB cross-platform portable coding agent in ANSI C & Lua psic...
Show HN @show
Show HN: psi, a 6.4 MB cross-platform portable coding agent in ANSI C & Lua psicode.ai · 4 points · 0 comments · HN thread
TL;DR psi is a Show HN project: a coding agent for the terminal, distributed as a 6.4 MB portable binary written in ANSI C with its high-level behavior in Lua. It supports Anthropic, OpenAI Codex, OpenRouter and local Ollama models, and is released under MIT. The page is a product landing page; the story has no comments yet.
- Portable 6.4 MB binary built from a small C core, with the agent loop, terminal UI, tools and providers implemented in Lua and open to inspection.
- Supports Anthropic, OpenAI Codex, OpenRouter and local models via Ollama; sessions can be resumed with a different provider.
- Sessions are append-only JSONL files with a full tree, allowing conversations to be branched and returned to.
- Interfaces include an interactive TUI, a simple REPL, one-shot prompts and Lua evaluation.
- Extensions are plain Lua files loaded from disk, for example registering slash commands, tools and lifecycle hooks.
- Targets Linux, macOS, Windows, Haiku and other systems (i686, x86_64, aarch64, riscv64), with a Cosmopolitan build; installable via Nix or make.
Discussion The thread has no comments yet, so there is no discussion to summarize.