KaroX

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

KaroX 6 — a small, fast coding-agent CLI: headless runs, chat and MCP on any model. Beta.

README.md

KaroX — a small, fast coding-agent CLI

A small, fast coding-agent CLI: one agent core for headless automation, interactive chat and MCP.

KaroX demo
Watch the 68-second demo (with sound)

Version 6.0.0b1 beta License: MIT Python 3.12 or newer

Русский

Install

KaroX needs Python 3.12 or newer. The Python package is karox6; the command it installs is karox. With uv:

uv tool install --python 3.12 "git+https://github.com/kar0777/[email protected]"
uv tool update-shell
karox --version

Other install and update paths, including wheels and the rescue scripts: docs/guide.md.

30-second quickstart

Add a model to ~/.karox6/config.toml:

model = "deepseek-chat"
base_url = "https://api.deepseek.com/v1"
api_key_env = "DEEPSEEK_API_KEY"   # the variable's name, never the key itself

Put the API key in the named environment variable. Then:

karox chat                         # interactive chat
karox run "fix the failing test in tests/test_api.py"
karox run --json "fix the failing test" > events.jsonl
karox mcp                          # serve KaroX to MCP clients over stdio

karox run is the headless one-task mode. With --json, it writes one JSON event per line for scripts and CI. karox mcp --http 8765 serves the same agent as a remote MCP server; see docs/chatgpt.md for web clients.

Why KaroX

Method: 15 real, recent GitHub issues from public Python repos (set speed15), each in an isolated Docker container, graded by the task's own hidden tests (Harbor). One attempt per task per CLI. All CLIs use the same model through the same gateway with the same sampling settings. Cost = model list price (GLM-5.3-Flash: $0.15 / 1M input, $0.03 / 1M cached input, $0.50 / 1M output). December 2026.

GLM-5.3-Flash

KaroX 6.0.0.dev79, Claude Code 2.1.329 and OpenCode 2.3.2:

CLI solved agent time (sum) model calls input tokens cost cost/task
KaroX 6 9/15 276 min 1,206 96M $3.88 $0.26
Claude Code 9/15 450 min 4,887 501M $16.67 $1.11
OpenCode 8/15 286 min 1,492 94M $3.61 $0.24

On this run, KaroX matched Claude Code's solves at ~4.3x lower cost and ~1.6x less time, with ~4x fewer model calls.

Machine resources (same runs; median per task of the task container's peak memory and CPU time, which include the project's own tests the agent ran):

CLI peak memory CPU time
KaroX 6 387 MB 112 s
Claude Code 1,602 MB 542 s
OpenCode 2,466 MB 203 s

The KaroX process itself idles at about 50-70 MB.

DeepSeek-V4.1-Flash

14 valid tasks; one task was void because the provider rejected both CLIs' first request:

CLI solved agent time model calls input tokens
KaroX 6 9 308 min 766 56M
OpenCode 7 329 min 878 62M

Blind review of solved patches

8 tasks solved by two or more CLIs; labels shuffled; two independent reviewer models (Codex gpt-6.2-sol and Gemini 4 Neon); scores 1–10, averaged:

CLI root cause minimal scope code quality tests would merge ranked 1st
KaroX 6 8.1 8.7 7.8 8.6 7.3 8 of 16
OpenCode 8.5 8.1 7.5 8.1 7.5 7 of 14
Claude Code 6.4 6.0 5.4 4.8 3.9 1 of 14

Median size of a solved source patch: KaroX 26 lines, OpenCode 34, Claude Code 47.

Early results: small sample — 15 tasks, one attempt each. Larger runs across Rust, Go, TypeScript, Python and ML are in progress. Full method and reproduction: docs/benchmarks.md. Public benchmark harness: karox-hard12-bench.

Features

Area What KaroX does
Providers OpenAI-compatible chat, OpenAI Responses, Anthropic and Gemini; any OpenAI-compatible endpoint, including DeepSeek, GLM and local Ollama
Headless automation karox run, JSON-lines event stream, limits, saved sessions and machine-readable exit status
MCP both ways Serve KaroX over stdio or HTTP; use external MCP servers as agent tools
ChatGPT and Claude web Built-in Tailscale tunnel for remote MCP connectors; direct mode can use the chat's own model
Interactive chat Streaming answers, session resume and fork, diff view, undo/redo, file and image input
Safety Destructive commands are held for approval or denied; MCP output is checked for secrets; runs can be confined to a root directory
Platforms Windows, Linux and macOS

Beta status

KaroX 6.0.0b1 is a beta. The headless API agent is the strongest part. The MCP bridge and the TUI are still maturing. Behavior and configuration may change before the stable release.

The command is karox. The Python package remains karox6, so python -m karox6 also works.

Documentation

Document Contents
User guide Install, configuration, chat, headless runs, safety, MCP, plugins and troubleshooting
ChatGPT and Claude web clients Remote MCP server, Tailscale tunnel, connector setup and direct mode
Benchmarks Full benchmark method, all tables, caveats and reproduction steps
Русская версия Russian README, with links to the Russian guides

Contributing

Contributions are welcome. Open an issue or pull request in kar0777/KaroX, keep changes focused, and update tests and documentation when behavior changes. The CI workflow runs Ruff, mypy, pytest, a performance gate and wheel smoke tests on Windows, Linux and macOS.

License

MIT. Third-party material: THIRD_PARTY_NOTICES.md.

Yorumlar (0)

Sonuc bulunamadi