A personal coding agent in Rust.
One binary, TUI-first. Your sessions remember everything, and you never wait on the model to talk to it.
Built for long sessions you actually steer.
ilar keeps the conversation, the files and the model's work in plain files on your disk, and lets you step in at any moment.
›Steer mid-turn
Type while the model works. Your message lands at the next step, not after the whole task, and you see its fate until the model reads it.
▤Sessions that forget nothing
Append-only JSONL. When the context fills, compaction writes a handover, and the full log stays searchable by the model and by you.
↺Rewind your files too
Every turn checkpoints the working tree to a shadow git ref. /rewind restores conversation and code together; /fork branches.
◆Subagents with memory
Read-only explorers fan out in parallel, and every task's session survives the call, so a follow-up costs a sentence.
✓Goal mode
/goal fix the flaky tests keeps the agent working, and proving it with evidence, until the goal holds or you call it off.
✦Memory per project
Notes that say why and how to apply, recalled when they matter, written before a compaction, and importable from Claude Code.
⌕Find a session by its middle
/sessions greps every session's whole history live. Type the error you half remember; Enter resumes.
▸Headless when you need it
ilar exec "…" prints the answer on stdout, or NDJSON events with --json. Same sessions, same runtime.
✉An assistant on your messenger
ilar-gateway runs one session per chat on Telegram or Delta Chat, with memory, cron and heartbeat turns.
Your session, on your phone.
Type /remote and scan the QR code. The phone follows that session live and drives it, with no server in between.
- Prompts, steers, tool approvals, questions and cancel, under the same rules as the terminal.
- Switch the model and thinking level, and send photos to models that see images.
- Pair a phone and a desktop at the same time; paired devices reconnect without the code.
- Over iroh, encrypted end to end; the relay in between sees only ciphertext.
Bring your own model.
Each provider on the wire it speaks, with thinking kept and replayed the way the model expects. Prompt caching pays for compaction and asides, and the status line shows the cache rate live.
Install
Build from source with a stable Rust toolchain. Sessions are plain files, and nothing phones home.
Build and install
$ git clone https://github.com/lambadalambda/ilar $ cd ilar $ scripts/install.sh # to ~/.local/bin
Run
$ export ILAR_ZAI_API_KEY=… # or another provider $ ilar # F1 shows every key $ ilar exec "what broke in CI?"
Other providers, ChatGPT sign-in and the configuration file are in the quick start and the docs.
Run it inside a sandbox.
ilar is pre-alpha and is not a security boundary. It runs shell commands and can read, change or delete anything its process can reach. It asks only before it hands a command a stored secret or runs one as root; its own process sandbox is an opt-in experiment.
Run it inside an external, OS-enforced sandbox, such as Agent Safehouse, nono, a locked-down container or a virtual machine.