SuperAPIAI Directory

CodeAF

github.com · AI coding

CodeAF is an open-source coding tool developed by AgentField AI, designed specifically for open models with the aim of achieving frontier-level coding capabilities at lower cost. It is written in Go as a single small binary and requires no additional installation. CodeAF provides a single window for managing multiple projects and conversations, supports splitting natural language instructions into independent tasks, with each task running on a separate copy and branch of the repository and automatically merging into your branch after passing checks. It includes multiple built-in specialized sub-tools (such as code review and security audit) and supports multi-model collaboration, scheduled tasks, headless mode (for CI/scripts), and remote development. On the DeepSWE benchmark, its senior-dev sub-tool solved 62 of 113 problems (54.9%) under the same model, ranking first among ten coding tools, at a cost of 39.9 cents per solved problem. The project is licensed under Apache 2.0 and is currently in early preview.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

CodeAF is a coding harness for open models, developed by AgentField AI, licensed under Apache 2.0, and written in Go as a single small binary (about 53 MB) that requires no additional installation or running of other components. Its goal is to achieve frontier-level coding capabilities on open models while reducing the cost per solved problem.

Purpose and positioning: CodeAF aims to solve the management challenges of running multiple tasks in parallel. In the traditional approach, each repository requires a terminal, and users must manually coordinate among multiple agents. CodeAF provides a single window that centrally displays all projects, conversations, and task statuses, so users only need to step in when judgment is required. It is described as a "factory" model: automatically assessing task size, splitting tasks, running them in non-conflicting environments, testing results, and merging work that passes checks.

Main capabilities:

  • Single-window management: the home interface lists all projects and conversations on the machine, supports tab switching and jumping to any conversation, and each conversation retains independent approval rules, models, and spending limits.
  • Natural language to tasks: users can describe problems in everyday language, and multiple items in a single message can each become independent tasks that run on separate copies and branches of the repository. Tasks that pass checks are automatically merged into the user's branch (not into main, dev, or release branches), while tasks that fail checks wait for the user to handle them.
  • Subharnesses: built-in specialized tools such as senior-dev (development), review (code review, from PR-AF), and sec (security audit, from SEC-AF). These tools run as tasks and return results to the conversation. Users can also design and save custom subharnesses for repetitive work.
  • Multi-model collaboration: each task is executed by a set of models (a crew), including a planner and a checker. Models are selected automatically by default, and can also be fixed or restricted via the /crew command. Supports OpenRouter, DeepSeek, GLM, Kimi, MiniMax, Qwen, OpenCode Go, Codex (via ChatGPT plans), Ollama, and any OpenAI-compatible endpoint.
  • Scheduled tasks and reminders: set reminders, scheduled work, or monitoring (such as CI status) via natural language, effective while running, with missed tasks executed once the next time it is opened.
  • Headless mode: provides do, exec, and run commands for CI, cron, scripts, and baseQuasi-testing, output JSON and exit codes.
  • Remote development: the screen runs locally, the conversation runs on the remote machine, input does not wait for the network, reconnects after disconnection, bidirectional file transfer, and supports SSH access from mobile phones.
  • Organization features: an organization server can be deployed, members run chats in independent sandboxes, and model keys and git access are isolated from chats.

Usage: the installation script places the release binary into ~/.codeaf/bin; it can also be built from source (git clone, make build, bin/codeaf). On first launch, connect to OpenRouter or enter a key; Codex can log in to a ChatGPT plan via /connect or codeaf connect codex; other providers require a key; Ollama requires no key.

Use cases: suitable for developers or teams that need to manage multiple coding tasks simultaneously, want to use open models to reduce costs, need code review or security audit assistance, and want to integrate coding capabilities into CI or scripts.

Limitations and notes: the project is in an early preview stage and may have rough edges. Benchmark results are based on the DeepSWE and DeepSeek V4 Flash models; performance may differ with other models or scenarios. The review and sec subtools only read source code; they do not run tests, builds, or exploit code, and do not guarantee finding all security issues. Anonymous usage statistics are sent by default (can be disabled), and the model pool feature is disabled by default. Some features (such as pairing via a relay to access machines without SSH) are built but require a hosted relay to be enabled.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools