agent

mcp
Security Audit
Warn
Health Warn
  • License — License: GPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • process.env — Environment variable access in plugins/usagefleet/index.ts
  • network request — Outbound network request in plugins/usagefleet/index.ts
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

simple af possible coding harness

README.md
agent

A coding agent in one Rust binary. It signs in with the subscription you already pay for, moves to your next account when one hits its limit, and can rewind any change, files included.

Release Downloads License CI

Install

curl -fsSL https://agent.rokartur.com/install.sh | sh

On Windows:

irm https://agent.rokartur.com/install.ps1 | iex

macOS, Linux and Windows (notes). It updates itself (agent update to update now).

Quick start

agent                              # terminal UI; /login to pick Claude, ChatGPT or GitHub Copilot
agent -p "Why is this test flaky?" # one-shot; answer on stdout
agent --headless "Fix the lint"    # JSONL events, for scripts and CI
agent -c                           # continue the latest session in this directory
agent --on auto                    # run on the least loaded of your computers, over Tailscale
agent attach                       # return to a running session from any terminal
agent acp                          # Agent Client Protocol for Zed and other editors

Prefer pay as you go? Paste an Anthropic or OpenRouter API key in /login, and every OpenRouter model is in /model. Google Antigravity signs in too, once ANTIGRAVITY_CLIENT_SECRET holds the app's OAuth client secret; Google has banned accounts that use the Antigravity sign-in outside Antigravity.

Features

  • All your accounts. Several Claude and ChatGPT accounts, Anthropic and OpenRouter keys; when one hits its limit, the next takes over.
  • Any model. Any OpenAI- or Anthropic-compatible server, Ollama and LM Studio included.
  • Rewind. Esc twice goes back to an earlier prompt, and your files go back with it.
  • Edits that cannot go stale. Edits by line anchors are refused when the file changed since the last read.
  • Checks its own work. After each edit, the language server and .agents/edit-hooks.json report errors for it to fix.
  • Approvals your way. Ask before every change, let a reviewer model approve, or --yolo.
  • Subagents and sessions. Parallel child agents, and whole sessions in their own git worktrees, here or on your other computers.
  • Sessions outlive the terminal. Close it mid-turn and the turn finishes; agent attach picks it up again.
  • Extensible. Plugins in any language, MCP servers, skills, prompts and saved workflows, all in ~/.agents.
  • Sees more than code. Web search and fetch, PDFs, videos, generated images, and pages it opens in your browser.

Every feature in detail.

Commands worth knowing

/goal           keep going until it is done
/btw            ask aside, keep the session clean
/env            switch this terminal to a session on another computer
/worktree       move the session to a git worktree, or remove one
/changes        every file it touched, with diffs
/skill:<name>   run a skill
/prompt:<name>  run a saved prompt
/profile:<name> turn a skill profile on or off
/voice          talk instead of type (whisper.cpp)
/fast           standard, fast, ultrafast: quicker output, higher price

Documentation

Compared with Claude Code, jcode and pi

agent Claude Code jcode pi
Version 0.1.36 2.1.309 0.99.1 1.4.0
C: finished in time, cases passed per run 3 of 3, 388 · 387 · 388 2 of 3, 388 · 388 · 388 0 of 3, 21 · 21 · 21 0 of 3, 387 · 388 · 387
C: time, cost 1208 s, $4.08 1955 s, $7.39 2400 s, $4.92 2400 s, $5.12
D: time, tool calls, tokens, cost 69.6 s, 9.7, 260k, $0.35 94.9 s, 13.3, 645k, $0.58 197.3 s, 17.7, 954k, $0.89 70.7 s, 9.3, 289k, $0.38
E: time 161.3 s 128.6 s 224.0 s 229.4 s
E: tool calls, tokens, cost 7.0, 144k, $0.43 8.7, 348k, $0.56 12.0, 575k, $0.79 10.3, 202k, $0.49
Reply to "OK", median of 15 1.10 s 3.08 s 5.24 s 1.44 s
Base context 3.2k 20.2k 23.4k 2.6k
CPU, memory when idle 0.04 s, 25 MB 0.82 s, 299 MB 0.31 s, 45 MB 0.49 s, 135 MB
How it was measured

Same model (Claude Opus 5.5, medium thinking), same prompt, three large tasks, 3 runs each. On every run agent, jcode and pi start together, each with only its login. Claude Code ran the same tasks a day later on its own, on a MacBook with the same chip (M1 Max), also with only its login. C: write a jq interpreter in TypeScript, checked on 388 programs against jq 1.7.1, 40 minute limit. D: fix 11 reported bugs in marked, a 4,000 line Markdown renderer, where 1687 inputs must render byte for byte as the original. E: port Python's difflib to TypeScript, checked on 2916 cases from CPython.

In C, jcode spent all 40 minutes trying jq and wrote no code. pi had a working interpreter in all three runs, but two were still checking it when time ran out, and one waited 16 minutes on a command that never ended; agent stops a command after 2 minutes. Claude Code passed every case in every run; in C one of its runs was still checking its interpreter against jq when time ran out. In D one pi run and one jcode run missed one case. Run to run, times vary more than the gaps between agent and pi in D and E. The reply to "OK" varies from series to series too: in the previous one, on another Mac, agent took 2.78 s and pi 1.67 s.

Contributing

See CONTRIBUTING.md. Report vulnerabilities as described in SECURITY.md, not in a public issue.

License

GPL-3.0-or-later.

Reviews (0)

No results found