Quickstart
Run Codant in a project directory, configure a model, and submit a read-only task. The terminal shows the task's progress and the swarm's work.
Install the 0.0.1 preview
The preview has installers for Windows 10/11 x64 and Linux x64. The release page includes both installers and a SHA256SUMS file.
Windows x64
The installer targets Windows 10 x64 version 1809 or later and Windows 11 x64. Download Codant-Windows-x64.msi. In your download directory, calculate its SHA-256 hash and compare it with the matching entry in SHA256SUMS.
Get-FileHash -Algorithm SHA256 -LiteralPath .\Codant-Windows-x64.msiRun the MSI, then open a new terminal. Follow the first-launch prompts to set up the local sandbox. Windows may ask for administrator confirmation. Windows installation notes
Linux x64
Download codant-linux-x64.tar.gz and compare its SHA-256 hash with the matching entry in SHA256SUMS. Then extract the archive.
sha256sum codant-linux-x64.tar.gz
tar -xzf codant-linux-x64.tar.gzOpen the directory containing install.sh, run the installer, and follow the prompts to update PATH. The installer uses the Node runtime bundled in the archive. Linux installer source
sh install.shVerify the installation
Check the version in a new terminal. If your shell cannot find codant, check that the installer’s command directory is on PATH.
codant --versionBuild from source
The repository provides source build entry points for Windows, Linux, and macOS. Use Node.js 22.23.4 and pnpm 10.34.5. Run these commands from the Codant checkout. Project build instructions
pnpm install --frozen-lockfile
pnpm build
pnpm codant --versionRun pnpm build:native with Rust 1.95.0 and your platform’s build tools to build native helpers. Windows x64 also needs the pinned Git/WASI inputs listed in the manifest. With the native helpers ready and Bun on PATH, run pnpm build:binary to build a standalone program. Native build instructions · Windows build inputs
Start the terminal and configure a model
Open an interactive ANSI/VT terminal, such as Windows Terminal, in the Git repository you want to inspect. Run codant for an installed copy. For a source build, replace the example path below with the absolute path to your built entry point. CLI entry point · Running from source
node "/absolute/path/to/codant/packages/cli/dist/index.js"Enter /model setup in Codant. Configure the provider and credentials, select a model, and choose Run the connection checks. Once the checks pass, set the alias and default model option, then choose Save the tested configuration. Wait for the save result before continuing. Model configuration guide · Wizard options in source
/model setupCodant defaults to Chinese in a regular interactive terminal. Use codant --ascii for ASCII art and English setup, session, and approval controls. Some daemon messages keep their original language. Press Ctrl+L inside the model setup wizard to switch its language. Classic CMD on English Windows may select English ASCII mode automatically. Terminal options · Setup wizard labels · Windows installer notes
The experimental VS Code extension currently uses Chinese panel labels. The repository guide covers building and installing the VSIX locally and connecting it to the same Codant daemon. VS Code extension guide
Submit your first read-only task
Enter these commands one at a time in Codant. /mode plan puts workspace operations in read-only mode. The example asks for an entry point, call paths, and related tests you can check in the repository. Permission modes
/mode planWhen Plan mode is active, submit the investigation.
/task Find the entry point of this project and list its main call paths and related tests.After Codant acknowledges the task, open the swarm panel.
/ants/ants shows agents and task progress. Use /ants <task ID> to inspect a specific task once you have its ID. Task commands

Codant's terminal swarm panel with demo data.
| Command | Purpose |
|---|---|
/task <goal and acceptance criteria> | Submit a task you want to track. |
/ants changes <task ID> | Review the file changes recorded for a task. |
/diff | Inspect the current workspace diff. |
/sessions, /resume | Browse or resume sessions. |
/help | List terminal commands supported by your build. |
