A minimal web GUI for coding agents
Ship code with AI agents.
Chat with Codex and Claude in real time. Every thread runs in its own git worktree. Review diffs, run terminals, and deploy — all from one interface.
npx okcodesRefactor the auth form to use server actions and add proper validation
I'll refactor the auth form to use Next.js server actions with Zod validation. Let me start by updating the form component.
Done. The auth form now uses useActionState with a server action that validates input through authSchema. Error messages render inline per field.
Features
Everything you need
Codex and Claude, one interface
Switch providers per thread. Stream responses in real time. Attach images, terminal output, or file context.
Every thread, its own worktree
Each conversation runs in an isolated git worktree. Your main branch stays clean. Merge when ready.
Review every change
Inline and side-by-side diffs with syntax highlighting. Accept or reject changes per file before committing.
Built-in terminal
Up to four terminal tabs per thread. Feed output directly to the agent. No window switching.
Structured implementation plans
AI-generated step-by-step plans with status tracking. See the full scope before any code changes.
You stay in control
Full-access or approval-required modes. Review every file write and command before execution.
GitHub PR review
Inline comments, conflict resolution, full review flow.
Reusable skills
Built-in and custom skill catalog for automation.
Restore any turn
Automatic snapshots. Roll back to any point in the conversation.
Desktop, web, mobile
npx, Electron, or Capacitor. Same experience everywhere.
Quick start
Get running in 60 seconds
Install a provider
npm install -g @openai/codexnpm install -g @anthropic-ai/claude-codeLaunch OK Code
npx okcodesStart coding
Open a thread, describe what you want, review the diff.