psi
A terminal coding agent available as a small executable for multiple operating systems.
What does it do?
In the terminal, you can find bugs, modify functions, run the code, and check the results. You can branch a conversation to explore another approach and return to an earlier point. Sessions are saved by appending to a JSONL file containing the full conversation tree. You can choose Anthropic, OpenAI Codex, OpenRouter, or a local Ollama model and switch providers when resuming a session. It offers an interactive TUI, a REPL, and one-off prompts. You can also write and reload Lua extensions to add commands.
Key features
- Find bugs, modify functions, run the code, and check results
- Branch conversations and return to an earlier point
- Save sessions by appending to a JSONL file containing the full conversation tree
- Choose among Anthropic, OpenAI Codex, OpenRouter, and local Ollama models, and switch providers when resuming a session
- Use an interactive TUI, REPL, one-off prompts, and Lua evaluation
- Write and reload Lua extensions to use new commands