An AI that lives inside your project — it reads your code, edits files, runs terminals, drives your browser, and learns your project as you use it — remembering your structure, conventions, and decisions from session to session.
One command is all it takes — paste in PowerShell:
cmd.exe (Command Prompt):
kbcode is an AI coding agent that works inside your project folder. It uses your API key to connect to powerful models (Claude, GPT, Gemini and more), then reads, writes, and debugs your code — while remembering your project's structure, conventions, and preferences across every session.
🛠️ Built by itself. kbcode is developed with kbcode — every feature on this page was written, tested, and shipped by the agent you're about to use, dogfooding its own knowledge base, memory, and browser automation on its own codebase.
Reads, edits, runs. Works with your files and terminal directly — plain English is all you need.
Persistent memory. Remembers facts, decisions, and preferences across sessions. Yesterday's context is there tomorrow.
Knowledge base. Builds compact kb/ notes with code pointers. Token-cheap, no full re-scans.
All major model providers. Claude, OpenAI, Gemini, xAI, DeepSeek, Moonshot, Ollama, and any OpenAI-compatible API. Your key, your choice.
Drives your real Chrome. Uses your profile, logins, and cookies — not a sterile separate browser. See how →
$0 kbcode fee. Bring your own API key and pay only your provider at their official prices. No markup.
Encrypted API keys. Fernet-encrypted and machine-bound in ~/.kbcode. They go to your provider and nowhere else.
One command to install. No Python, no clone, no admin rights. Paste one line and you're done.
Works with any model. Weak models get tool-call repair, strong models get full capability. No wasted turns.
Learns from mistakes. Catches failures in real time, turns them into permanent lessons. Improves the more you use it.
36 capabilities across coding, memory, context, tools, safety, and setup.
Reads your files, writes code, runs commands — runs locally, no server needed.
Core15+ built-in providers — Claude, OpenAI, Gemini, xAI, DeepSeek, Moonshot, Z.ai, MiMo, OpenRouter, Mistral, Groq, Together, Qwen, Ollama, and any OpenAI-compatible API.
CoreCode, architect, ask, debug, driven, pilot, orchestrator, and custom modes — each gets only the tools it needs.
More → CoreDelegate to specialist subagents — autopilot, fixer, code-explorer, plus your own custom agents. Parallel and autonomous.
CoreRemembers facts, decisions, and preferences across sessions in a thread-safe store. Teach it once.
MemoryReusable workflows saved as .md files. Teach once, run any time with /<name>.
Short notes with code pointers — token-cheap, no full re-scan. kb_read, edit, write, auto-update, semantic search.
MemoryA running diary that survives context summarization — your goal and rules never get lost mid-session.
MemorySummarize, trim, or none — keeps long sessions inside the window without losing the thread.
ContextWeak model sends a malformed call? kbcode fixes it automatically. No wasted turns.
ContextEvery session is recorded. Reopen an old chat exactly where you left it.
ContextRead, write, edit, list, search, run, plus background tasks. PageRank symbol map shows the code that matters.
ToolsSearch/replace with multiple fallback strategies. Edits land cleanly even when the file has drifted.
ToolsSearches the web and fetches URLs for current docs and changelogs. Pages cached with a TTL.
ToolsReads images and screenshots. Paste a mockup or an error screen and it understands.
ToolsPulls the transcript from any YouTube video — walkthroughs, talks, tutorials.
ToolsConnect any stdio MCP server — its tools become built-in. No platform lock-in.
ToolsDrop a .py file in .kbcode/tools/ — it becomes an in-process tool.
Detached agents in git-worktree sandboxes. Start one, switch tasks — lands as a branch.
ToolsPreToolUse / PostToolUse / Stop hooks from .kbcode/ config. Block or allow any tool.
Drives your real Chrome — your profile, logins, cookies — via the kbcode extension.
Tools More →Snapshot before every edit. /undo reverts the last turn. Nothing is lost.
Register with email or Google at kbcode.dev. Only --version, login, doctor stay open.
Fernet-encrypted and machine-bound in ~/.kbcode. Keys go to your provider only.
External text from web, pages, and files is wrapped — prompt injection can't issue instructions.
SafetyTests, lint, and KB checks in one command: kb gate. Nothing unready gets committed.
Probes each model on onboarding. Weak models get handled, not trusted blindly.
SafetyCatches mistakes mid-turn, turns them into permanent lessons. Never repeats the same error twice.
SafetyScores and ranks its own answers — you get the best one it produced.
SafetyCompares models head-to-head on real tasks. Pick the provider that actually performs.
Safetykb doctor checks PATH, install, config, provider, and warns if your binary is stale.
Precedence-based config with presets. Per-project .kbcode/ retargeting. Set once, inherits everywhere.
kb model, kb init, kb onboarding — from zero to a configured project in minutes.
28 fragments, served by the brain at startup. Not bundled in the exe — improve without a reinstall.
SetupOpt-in feedback, scrubbed of secrets and file paths before leaving your machine.
Setupkb update downloads a SHA256-verified kb.exe — one command to upgrade.
Ask kbcode to do anything on a website — it opens your own Chrome, uses your logins, and does the whole job while you watch.
The report you download every morning. The form you refill every week. The data you copy-paste between tabs. It's not real work — it's just clicks.
Logging into a portal every morning to download the same report. Copy-pasting numbers between tabs. Repeating the same upload, the same form, the same scrape — every day, by hand.
Scrapers break the moment the site changes. "Automation browsers" log you out and make you re-login — a sterile window with none of your sessions, none of your logins, none of your work.
Tell it in plain English. It drives the Chrome that's already open — your cookies, your logins, your extensions — and clicks, types, scrapes and saves while you keep working.
browser_dialogs shows you every answer it gave.kb/, so the second run is faster and doesn't repeat the mistake.browser_navigateopen any URLbrowser_snapshotlist clickable elementsbrowser_clickclick by text or selectorbrowser_typefill forms, submitbrowser_readscrape visible textbrowser_execrun JS, return databrowser_screenshotcapture the pagebrowser_actionhover, drag, upload, keysbrowser_framesdiscover iframe targetsbrowser_dialogsreview answered popups
The bridge between kbcode and your browser. Install it from the
Chrome Web Store in one click — run
kb extension
and the store page opens for you. It's optional: kbcode works without it
until you want browser automation.
Re-searching the internet for an error you already fixed?
Your solutions hide in chat logs, tabs and notes — until now.
Capsule keeps every error, fix and how-to in a private
knowledge base on your PC, searchable in seconds. kbcode
finds it automatically, answers from it, and backs it up with
/capsule.
The bridge that keeps kbcode connected to your browser. A single background service that lets every Chrome profile connect to kbcode at once — no console window, no per-session setup. Install it once and your browser automation just works, even when kbcode isn't running.
A compact memory of your codebase — short notes with code pointers.
/init to fill them with real facts.
/init — your project has a memory
On a new project, kbcode drops empty starter templates into kb/.
Until you run /init, the agent has no knowledge of your codebase — it
will re-scan files from scratch every time, miss conventions, and repeat the same mistakes.
One command scans your entire project, fills every note with real facts from your code, and web-searches for the latest docs. Minutes later, your project has a real memory — and the agent actually knows what it's doing.
All major providers, one agent loop. Bring your own API key — any OpenAI‑compatible endpoint works.
Don't see yours? Pick Custom — kbcode works with any OpenAI-compatible API. Your endpoint, your key.
Terminal flags and 83 slash commands inside the chat. More →
/undo /rollback /diff /review /explain/status /context /compact /usage /cost/model /provider /thinking /temperature /fallback/kb /curate /memory /skills /learn/mode /auto /todo /worklog /agents /tools/commit /pr /bg /tasks /gate /open/help in chat for all 83 commands$0 kbcode fee. You pay only your AI provider.
Bring your own provider key (Claude, OpenAI, Gemini, DeepSeek). You pay your provider directly at official API prices with zero markup.
Your code and keys stay under your control.
API keys in ~/.kbcode are machine-bound encrypted. They go straight to your provider and nowhere else.
Every edit takes a git checkpoint. Run /undo to revert the last turn instantly. Nothing is lost.
Logs, prompts, and feedback automatically strip API keys and secrets before touching disk or network.
External web content is wrapped to prevent prompt-injection attacks from overriding agent instructions.
Create an account or sign in to get your install command.
Sign up in 30 seconds — no credit card required. Free forever.
We only access your name and email — we'll never post without your permission.
Already signed in? Go to your dashboard.