Kadhai
Provides a GitHub connection that the agent crew can use during runs, allowing tasks to interact with GitHub-backed work.
Provides read-only access to Gmail so the crew can use mail content during runs.
Provides read-only access to Google Drive so the crew can use Drive content during runs.
Provides a Linear connection that the agent crew can use while working, enabling tasks to interact with Linear issues and projects.
Provides a Notion connection that the agent crew can use while working, enabling tasks to interact with Notion content.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kadhaibuild a simple todo app in the current folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kadhai
Website: kadhai.pages.dev · Download: releases · Community: discussions
A crew of AI agents that plans, writes, checks and fixes code in a folder on your computer, on free model tiers or your own keys.
Beta. Kadhai works and is used every day, and it is still being polished. Expect rough edges, and please report what breaks.
You describe what you want in plain words. A crew organised like a restaurant kitchen (a Chef who plans, cooks who write the code, a Taster who checks it, a Fixer who fixes what the Taster finds) does the work in a folder on your computer, runs the checks, reviews itself and reports back. You watch every step live, approve the commands it wants to run, and can undo any run.
It runs entirely on free AI model tiers (Gemini, Groq, Cerebras and seven more), switching to the next provider whenever one hits its limit. Paid keys and the subscriptions you already have (Claude Code, Codex, Gemini CLI) work too, when you want them.
Highlights
Separate agents for separate jobs. Planning, coding, checking and fixing are separate agents with separate jobs, coordinated by plain code. Every step has a fixed budget of model calls, so runs are predictable and cheap. Hire your own specialists, or have the Chef write one for you, and switch off any agent a job does not need.
Free by default. One small Node process with a single dependency, no GPU, no build step. Automatic failover across providers keeps going when a free tier says "slow down".
You stay in charge. Listens only on your own computer. The crew cannot leave its folder. Commands wait for your approval. Every secret is encrypted on disk. Every run can be diffed and undone.
Flows. Draw automations on a canvas (schedules, feeds, webhooks, AI, logic, HTTP and fifteen built-in services), or just describe one in words and let the Chef draw it. Try any flow safely first: reads run for real, anything that would send or change something is held back and shown.
Connections. More than sixty services the crew can use while it works (web search, a browser, GitHub, Notion, Linear and more), plus Google Drive, Gmail and Calendar, read-only.
Works with your editor. Kadhai is an MCP server and client and an ACP agent, so Claude Desktop, Claude Code, Cursor or Zed can hand it work, and it can use their tools.
A kitchen you can watch. A 3D kadhai and 3D cooks drawn entirely in text characters: the Chef hands out tickets, cooks walk up to the pot, dishes go to the Taster, and the crew cheer or slump when the run ends. Nine themes with their own fonts, shapes and effects.
Related MCP server: CatHub Nyaanes
Quick start
On Windows, the easiest way is the desktop app (beta): download Kadhai-Beta-Setup from the releases page and run it. No Node.js needed. The installer is not code-signed yet, so Windows may warn about an unknown publisher: choose More info, then Run anyway.
On any system, you need Node.js 20 or newer and Git (Git also powers View changes and Undo):
git clone https://github.com/Madhuhas/kadhai.git
cd kadhai
npm install
npm run demo # try it with simulated models, no account neededOpen http://localhost:4747, type a request in the chat (for example make a small web page that says hello) and watch the crew work.
For real work:
npm startThe keys dialog opens by itself. Paste a free key from Google AI Studio, Groq or Cerebras; it is checked and used straight away. Keys from two or more providers give the smoothest failover.
Documentation
Guide | For |
Everyone: getting started, the screen, the crew, models and keys, flows, connections, kitchens, themes, safety, troubleshooting | |
Everyone: what leaves your computer, when, and to whom (no telemetry) | |
Contributors: architecture, the life of a run, where data lives, the rules, recipes, testing | |
Everyone: how the Windows installer is built and signed, and who approves each release | |
Everyone: how to report a security problem privately, and what counts as one | |
Contributors: ways to help, talking first, what a change must keep, setup, testing, pull requests, the contributor agreement | |
The desktop app (beta): Kadhai in its own window, and how to build the installer |
How it works, in one picture
You
| request report ^
v |
Chef --plan--> orchestrator (plain code) ---------------+
| one cook per step (up to 3 at once on high flame)
+------------+------------+------------------+
v v v v
Prep Cook Senior Cook your specialists
(simple) (standard) (complex) (when the job matches)
+--- could not finish? ---> Senior Cook (once)
|
v
check command -> Taster --defects--> FixerFailover. Each provider, key and model is a route. A rate-limited route rests until the provider says it may try again and the request goes to the next one; a broken key or retired model is switched off.
Small, safe edits. Cooks change existing files with SEARCH/REPLACE blocks. An edit that does not apply cleanly writes nothing and goes back to the cook to correct.
Verified reviews. A plan can carry a check command (such as
npm test); its real output goes to the Taster, and a failing check forces a fix.No chat history in prompts. Each prompt is a small state file (
memory.md), the files the step needs and a few lessons, which keeps it within free-tier limits.Checkpoints. Every run is snapshotted in a private git repository (separate from yours), which is what View changes and Undo use.
Safety at a glance
The server listens on
localhostonly and refuses other machines and other websites.The crew can read and write only inside its folder. Protected folders (
.git,.kadhai,node_modules) and links leading outside are refused.Commands from the crew wait for your approval by default. Commands are not sandboxed unless you turn on the optional Docker sandbox: an approved command runs with your account's permissions.
Keys, tokens and credentials are encrypted at rest (AES-256-GCM; on Windows the master key is tied to your account).
Prompts, including the files a step needs, go to the AI providers you add keys for. Add only providers you are comfortable sharing your code with.
The details are in Safety and privacy and Privacy.
Limits worth knowing
Free models make mistakes. Kadhai catches format slips and sends them back to be corrected, and the review and check command catch many logic errors, but not all. Read what the crew wrote.
One run at a time per folder; further tasks queue. Open another folder in a second kitchen to work on two projects at once.
Only the most recent run can be undone, and undo needs git.
Some integrations have only been tested against stand-ins, not real accounts: subscription CLIs as agents, paid providers, the Google connector, and the account-based flow services. The guide says which.
Feedback
Found a bug? Open a bug report. Paste the details from more > about in Kadhai; they hold no keys.
Have an idea? Post it in Feature Requests, where others can upvote it.
Want to help? Open for Contribution lists work anyone may pick up. News goes to Announcements.
Found a security problem? Please do not open an issue: report it privately. See SECURITY.md.
License
Copyright (C) 2026 Kotini Sai Madhuhas
Kadhai is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for details.
In plain words: use it, change it and share it freely, on your own computer or anyone else's. If you run a changed version of Kadhai as a service other people use over a network, you must offer them the source code of your version under the same license. Contributions are welcome: contributors sign a short agreement once, keep their copyright, and are promised their work will always stay open source (see CONTRIBUTING.md).
Code signing policy
The Windows installer is built from this repository by GitHub Actions, and each signed release is approved by hand by the maintainer. Signing through the SignPath Foundation has been applied for; until it is in place the installers are unsigned. Signed releases: Free code signing provided by SignPath.io, certificate by SignPath Foundation. Team roles and the details are in the code signing policy.
Credits
Logos of the services Kadhai connects to are from Simple Icons (CC0). The names and logos are trademarks of their owners and are used only to show which service a connection or node talks to; Kadhai is not affiliated with or endorsed by any of them.
Theme palettes follow Dracula, Nord, Solarized and the Light and Dark Modern themes of Visual Studio Code, all MIT licensed. Kadhai uses their colours, not their files.
Express (MIT) is the one dependency.
The idea of a skills library came from wshobson/agents (MIT). Kadhai's built-in skills are written in its own words.
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Orbit is an MCP server that gives your AI agents a 4000+ tools, a shared memory brain and a live dashboard OS. Every agent reads active decisions, logs outputs to a searchable vault, and reports status in real time. 2-minute setup via MCP; works across Claude, ChatGPT, Codex, Cursor, Gemini, and Manus. Finally Agents work, agents that grow your business and bring you customers. https://orbitagents.xyz
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceAn MCP server for orchestrating a fleet of CLI coding agents in isolated git worktrees. It exposes tools for spawning workers, sending instructions, reviewing diffs, and merging changes, with full terminal visibility.6 npm4MIT
- AlicenseNot gradedqualityCmaintenanceEnables orchestrating multiple AI CLI agents (Codex, Grok, Claude, etc.) via Claude Code, providing tools for dispatching tasks, broadcasting, debating, and managing jobs through a local MCP server.MIT
- AlicenseBqualityAmaintenanceLocal MCP server for specialist personas, reusable Markdown workflows, task-scoped subagent contracts and per-repository memory. Runs on your own computer with Python 3.11+ and a locally installed embedding model; its Claude Code plugin launches that separate installation.24814MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-capable chat clients like ChatGPT, Claude, and Cursor to read, search, edit, and run commands on a local machine, including git operations and browser automation. Runs as a local daemon with workspace path jails, safety modes, checkpoints, and human-in-the-loop approval for edits and shell commands.MIT