Docs

Install

The desktop app:

The command line, built from source. It needs Rust:

cargo install --git https://github.com/aykk/ibexx ibexx

Start

In the app: choose a project folder, enter an Anthropic API key when it asks, and say what you want done.

On the command line, in the project folder:

export ANTHROPIC_API_KEY=...
ibexx chat --provider anthropic --model claude-haiku-5-5

Any server that speaks chat completions works too, a local one included. Its key is read from IBEXX_API_KEY.

ibexx chat --base-url http://localhost:11434/v1 --model <name>

Commands

CommandWhat it does
ibexx chatTalk with the agent, one message a line. A line typed while it works reaches it at its next step.
ibexx runRun the agent on one task and stop.
ibexx climbTry a change, score it, keep it only if the score improves.
ibexx undoPut the folder back as it was before the last run changed it. What is there now is kept as a save point first.
ibexx diffWhat changed in the files since the latest session started, line by line.
ibexx snapshotTake a save point of the folder and print its id.
ibexx restoreMake the folder match a save point.
ibexx forkWrite a save point out as a new, separate folder.
ibexx sessionsThe sessions in this folder that can be carried on.
ibexx logWhat a session did. The latest one unless you name another.
ibexx allowedWhat you allowed for good in this project. With --forget, take one back.
ibexx memoryThe notes kept from earlier sessions in this project. With --forget, take one away.
ibexx settingsWhere the settings file is and what it sets.

Every command takes --help.

In a chat

You typeWhat happens
/undoPut the files back as they were before your last message that changed them.
/undo allPut the files back as they were before this chat changed any.
!commandRun a command yourself, at once: no model, no question. The agent is told what it printed with your next message.
/planWhere the work stands.
/plan firstMake your next messages planning turns: the agent reads and lays out a plan, and changes and runs nothing.
/goStart the work that was planned.
/usageTokens and tool calls so far.
/rulesThe rules files this session reads.
/allowedWhat you allowed for good in this project.
/memoryThe notes kept from earlier sessions in this project.
/sessionsThe sessions of this project that can be carried on.
/exitEnd the chat.

What it asks about

Every tool call has one of four effects. Some run by themselves and the rest wait for your yes: for once, for the session, or for good in that project.

EffectWhat it coversUnless you say otherwise
readReading and searching files.Runs by itself
writeChanging a file. A save point is taken first.Runs by itself in the app and in a climb. Asks in run, unless allowed
networkSearching the web, reading a page.Asks
irreversibleA shell command, or anything no save point can take back.Asks
ibexx run "fix the failing test" --allow read,write

Undo

A save point of the folder is taken before the first change of every turn. An undo keeps what was there as a save point too, so an undo can be undone.

ibexx undo          # what the last run changed
ibexx undo --last   # only the most recent step that changed something
ibexx undo --all    # back to where the whole conversation began

Climb

Give it a task and a command that prints a score. Each attempt starts from the best version so far and is kept only if it scores better.

ibexx climb "Raise the dev accuracy of the Fashion-MNIST model in train.py." \
  --score "python score.py" \
  --holdout "python holdout.py" \
  --protect score.py \
  --protect data
FlagWhat it does
--scoreThe command that prints the score as a number on its last line.
--holdoutA second scoring command the agent never sees. Measured at the start and for each kept attempt.
--hideA path the agent may not read or change. Switches the shell tool off, since a command could read it anyway.
--protectA path the agent may read but not change.
--attemptsHow many attempts to make. 8 unless you say.
--goalWhether a higher or a lower score is better: max or min.
--repeatRun each scoring command this many times and use the median.
--patienceStop after this many attempts in a row that were not kept.
--targetStop as soon as the score is at least this good.
--resumeCarry on the latest climb in this folder if it was cut off.

Settings

What you would otherwise pass as flags can go in a settings file. ibexx settings prints where it is. A flag on the command line wins over the file.

{
  "provider": "anthropic",
  "model": "claude-opus-5-5",
  "allow": ["read", "write"]
}