JIXU DOCUMENTATION
Quick start
Install Jixu, open the TUI, or create your first Harness in TypeScript.
Install the terminal interface
npm install -g jixu-ai
jixuOr run it without a global installation:
npx jixu-aiRun the latest source
The GitHub main branch is Jixu's newest committed development state. It may contain fixes, package changes, or TUI work that has not reached the npm release yet.
git clone https://github.com/joe960913/Jixu.git
cd Jixu
pnpm install --frozen-lockfile
pnpm devThe source checkout uses pnpm 11 for the workspace and Bun to launch the development TUI. It requires Node.js 22.19.0 or newer, pnpm, and Bun.
GitHub may be ahead of npm
Use the npm packages for the latest published release. Clone main when you intentionally want the latest source and accept that it may include unreleased pre-1.0 changes.
The package launcher requires Node.js 22.19.0 or newer. The native TUI currently supports macOS arm64 and Linux x64 with glibc. Intel macOS is not supported. Bun is not required on the target machine at runtime.
Configure a model
Open Jixu in the directory where the Agent should work, then enter:
/configChoose an API format, Base URL, model, and Key. Jixu keeps BYOK configuration in ~/.jixu/settings.json. The active Agent snapshot is immutable, so accepted configuration applies to a newly constructed Harness and Thread rather than mutating an existing one.
Bash is not sandboxed
Bash runs with the permissions of the Jixu process. Keep it on ASK unless you accept that boundary, and use a backed-up or disposable workspace.
Send the first request
Type an ordinary request in the Composer. Jixu creates or selects a Thread, appends the input, and advances the Agent through the same durable execution path used by the Framework.
Useful first commands:
| Command | Meaning |
|---|---|
/help | Show the current command catalogue |
/new | Create and select an empty Thread |
/resume | Select a previous Thread |
/events | Inspect durable Events |
/state | Inspect authoritative derived State |
/mode standard | Use the default reasoning mode |
/mode ultra | Request the strongest compatible reasoning effort |
Install the Framework
npm install jixu-core jixu-llm jixu-store-sqliteThen follow Framework setup to define an Agent, connect a Driver, and create a durable Thread.