Xi
Xi is an extendable coding harness for the terminal, with a web UI that joins the same sessions. It runs any model a provider speaks for (Claude, GPT on a ChatGPT plan, OpenCode, local models in Ollama, or one you write), keeps every tool call on your machine, and lets you shape it: permission rules in EDN, a sandboxed Clojure REPL as the agent's shell, MCP servers, and extensions you write yourself.
Documentation and the user guide: https://xi-agent.com
Install
Xi runs on Bun 1.3 or newer.
bun install -g xi-agent
Then, in a project:
xi # the terminal client
xi start # a background server + the web client on http://localhost:1414
xi server # the terminal client plus the web client
Claude uses your Claude Code login when there is one, otherwise
ANTHROPIC_API_KEY; the other providers and how to pick them are in
Models. The
Getting started page
walks through the first run, the browser, and pairing another device.
From source
git clone https://github.com/floscr/xi
cd xi
npm install
bb providers:fetch # the bundled model providers (xi-providers, pinned)
bb build # the terminal client and server
bb web:build # the web client
bin/xi
The bb tasks need Babashka; bb tasks lists them.
Contributor documentation lives in AGENTS.md and docs/.
License
MIT. Third-party notices are in THIRD_PARTY_NOTICES.md.