The AI‑native IDE

The next-generation AI IDE
for autonomous coding.

CodeGrex pairs frontier and local models with autonomous agents that plan, edit, run, and verify — so you stay in flow and ship faster.

Free to start · Bring your own keys · Works with local models

codegrex — agent
# app/checkout/route.ts
export async function POST(req) {
const cart = await getCart(req);
const total = price(cart);
+ await applyTaxes(cart, region);
return Response.json({ total });
}
3 files edited · tests passing
Agent · Opus 4.8
Add region‑aware tax to checkout and cover it with tests.
Read checkout flow · 6 files
Add applyTaxes()
Write unit tests
Running npm test
Plan, build, or ask anything

Stay on the frontier — choose the best model for every task

GPT 5.5Claude Opus 4.8GPT 5.4Gemini 3.1 ProKimi K2.6Claude Sonnet 4.6Gemini Flash 3.5Kimi K2.5Local · OllamaGPT 5.5Claude Opus 4.8GPT 5.4Gemini 3.1 ProKimi K2.6Claude Sonnet 4.6Gemini Flash 3.5Kimi K2.5Local · Ollama
Agentic development

Agents turn ideas into code.

Describe the outcome. CodeGrex explores your codebase, drafts a plan, edits across files, runs commands, and checks its own work — while you focus on the decisions that matter.

  • Whole‑repo context and search
  • Real terminal commands with a permission sandbox
  • Post‑task lint, typecheck and test verification
Learn about agentic development
agent · plan
$ build region‑aware checkout
Exploremapped 12 files, 4 searches
Plan3 steps · approved
Editroute.ts, tax.ts, tax.test.ts
Verifytsc · eslint · vitest — green
Done — checkout now applies regional taxes, all tests passing.
background agents
Running in parallel
Auth token rotation
feat/auth-rotate
Edge cache invalidation
feat/edge-cache
Binary protocol parser
feat/proto-parse
Each on its own worktree — your branch stays clean.
Multi‑agent · background

Works autonomously, runs in parallel.

Decompose a big task into sub‑tasks that execute in waves — concurrent where they're independent, serialized where they touch the same files. Long jobs run as background agents in isolated git worktrees.

How background agents work
Local‑first & private

Your code stays yours.

Run capable models locally for privacy and zero‑latency edits, and reach for frontier cloud models only when the task demands it. Bring your own keys and keep full control of spend and policy.

  • Local model routing
  • Bring your own keys
  • Hybrid cloud fallback
  • Org‑wide policy
terminal — local model
$ codegrex run --local
→ routing to local · qwen2.5‑coder
→ context indexed · 0 bytes left your machine
→ patch ready in 1.2s
$ codegrex run --frontier
→ escalating to Opus 4.8 (BYOK)

One editor. Every superpower.

The familiar editor you love, with an agent that actually ships work.

Agentic editing

Hand off a task and the agent plans, edits across files, runs commands, and verifies its own work.

Multi‑agent waves

Decompose big work into sub‑tasks that run in parallel where safe, and serialize where they conflict.

Background agents

Long jobs run in isolated git worktrees on their own branch — your working tree stays untouched.

Local & hybrid models

Route to local models for privacy and speed, or the frontier cloud models when you need the muscle.

Plan mode

See the agent think, then approve a live, strikable checklist before a single line changes.

Command sandbox

An allowlist and permission prompts keep the agent honest. You decide what it can run.

The new way to build software.

Download CodeGrex and let agents do the heavy lifting — on your machine, with your models, on your terms.