A desktop home for your AI agents. Runs on the subscriptions you already pay for.
Nest gives every agent a name, a face, instructions, memory and a folder to work in, then runs it through the real Claude Code and Codex CLIs on your machine. Cursor, Gemini CLI and Grok CLI work too. No API bill unless you ask for one. No scraping. No proxy servers. Your chats live in a SQLite file on your own disk.
1. Get a provider. You need at least one of these installed and signed in:
npm install -g @anthropic-ai/claude-codeclaude auth login --claudeainpm install -g @openai/codexcodex login2. Get Nest. Grab the installer from the latest release:
| Platform | File |
|---|---|
| Windows 10/11 | Nest.Setup.<version>.exe |
| Linux | Nest-<version>.AppImage |
| Debian / Ubuntu | nest_<version>_amd64.deb |
3. Open it. Nest finds your CLIs on its own and drops you into a chat with a Chief of Staff and an Engineer.
Note
The installers aren't code signed yet. On Windows, SmartScreen will warn you once: click More info, then Run anyway. It installs for your user only, so no admin prompt.
Build it yourself instead
Needs Node.js 24+.
git clone https://github.com/UseNestBot/Nest-Bot.gitcd Nest-Botnpm installnpm run buildnpm startHot reload while hacking on it:
npm run devBuild your own installer (lands in dist/):
npm run distnpm run dist:linuxOther providers
| Provider | Install | Sign in |
|---|---|---|
| Claude Code | npm install -g @anthropic-ai/claude-code |
claude auth login --claudeai |
| Codex | npm install -g @openai/codex |
codex login, pick Sign in with ChatGPT |
| Cursor | irm 'https://cursor.com/install?win32=true' | iex |
agent login |
| Gemini CLI | npm install -g @google/gemini-cli |
run gemini, pick Login with Google |
| Grok CLI | xAI's installer | grok login |
Nest can also start these sign-ins for you from Settings, Sign in. Hit Recheck providers afterwards.
Want plain API access instead? Paste a key for OpenRouter, OpenAI, Anthropic, Gemini or xAI into Settings, Providers, API keys. Those models are chat only and billed per token to that key.
- Delegation. Agents can see the team, hand work to each other (up to 3 levels deep) and post results back to your Inbox.
- Memory. Plain text notes per agent or shared. Every run records exactly which notes it saw.
- Projects. Group agents around a brief and a shared folder. Chats can move in and out.
- Switch models mid chat. Jump from Claude to Codex and the new provider gets a short summary of what it missed. Sessions are never faked as shared.
- Connectors. Gmail, Calendar, Slack and anything else you've hooked up in Claude Code or Codex. Allow all, none or a few per agent.
- Browser. Claude Code agents can drive your real Chrome through Claude in Chrome, one approval at a time.
- Git and pull requests. Each chat and project has a source control panel for its working folder: stage, commit, branch, push and pull, a history graph, pull requests on GitHub, GitLab and Forgejo with their checks, reviews and logs, merging, and issues. Give a chat its own worktree so its agent works on a branch without touching other chats' files. Your agent can write the commit message or pull request for you to review, and you can hand it an issue, a review or failing checks to work on. Nest signs in with what you already use (
gh,glab,teaor git's credential helper), your browser, or a token you paste. - Voice. Hit the mic or Ctrl+Shift+Space. Whisper runs locally. Audio never leaves your machine.
- On your phone. Chat, approve tool calls and get notifications from your phone while the agents keep running on your PC. See Use Nest from your phone.
- Safe by default. Agents ask before acting. Bypass and full access modes aren't offered. Stray
*_API_KEYenv vars get stripped so you never get billed by accident.
Your PC keeps doing the work. Your phone opens Nest in its browser over Tailscale, a free private network that only your own devices can join. Nothing is opened to your Wi‑Fi or the internet.
- Install Tailscale on your PC and your phone, and sign in to both with the same account.
- In Nest on your PC, open Settings → Remote access, turn it on and click Set up. That runs
tailscale serve, which gives your PC a privatehttps://<pc-name>.<tailnet>.ts.netaddress. - Open that address on your phone, then click Pair a phone on your PC and type the 6-digit code into the phone.
- Optional: add Nest to your Home Screen (iPhone: Share → Add to Home Screen) and turn on Settings → This device → Notifications. You'll get a push when an agent replies, fails or needs your approval.
Your PC has to be on with Nest open. Paired devices are listed under Remote access, and Remove signs one out straight away. Some things stay on the PC: signing in to providers, choosing which programs run, permission bypass, updates and dictation.
| What | Where |
|---|---|
| Agents, chats, memory, routines | %APPDATA%\Nest\nest.sqlite |
| Daily backups (newest 10 kept) | %APPDATA%\Nest\backups |
| API keys (encrypted with Windows DPAPI) | %APPDATA%\Nest\api-keys.json |
| Self-hosted forges, pasted forge tokens and browser sign-ins (encrypted the same way) | %APPDATA%\Nest\forges.json |
| Remote access settings and paired devices (tokens stored hashed) | %APPDATA%\Nest\remote.json |
| Files sent from your phone | %APPDATA%\Nest\uploads |
| Default working folder for agents | Documents\Nest |
Installing, updating and uninstalling never touch your data. To restore a backup, quit Nest, delete nest.sqlite, nest.sqlite-wal and nest.sqlite-shm, then copy the backup in as nest.sqlite. Set NEST_USER_DATA to a folder to run a separate profile.
Config file
Copy nest.config.example.json to %APPDATA%\Nest\nest.config.json. It holds no secrets.
| Key | Meaning |
|---|---|
claudePath, codexPath, cursorPath, geminiPath, grokPath |
Explicit executable path, null to auto detect |
allowApiKeyBilling |
false (default) blocks runs that would bill an API key |
transferBudgetChars |
Max characters carried across providers and handoffs |
defaultWorkspace |
Default working folder, null for Documents\Nest |
Any other setting key (see AppSettings in src/shared/types.ts) works too, such as theme, accentColor, uiScale or defaultModels. Each value is checked the same way the Settings screen checks it; an invalid one is ignored and logged. Everything is also in Settings.
How it works under the hood
- Claude Code runs as the unmodified
claudeCLI in print mode withstream-jsonin and out. Sessions start with--session-idand continue with--resume. Permission prompts come back over stdio (--permission-prompt-tool stdio), so a run never waits on a terminal you can't see. - Codex runs through the official
codex app-serverJSON-RPC protocol. Threads resume withthread/resume. - Cursor, Gemini CLI and Grok CLI speak the Agent Client Protocol:
session/new, thensession/loadon the next turn. Permission requests become approval cards. "Allow always" is never offered because it writes permanent rules into the tool's own config. - API providers use each service's OpenAI compatible Chat Completions endpoint. History is kept in
%APPDATA%\Nest\api-sessionsand resent each turn. - Agent tools come from a small MCP server bundled with Nest (
nest-mcp.mjs). Agents can read their profile,remembernotes,list_agents,delegate, and proposecreate_agent,create_scheduleorupdate_my_instructionsbehind an approval card. It talks to Nest over a local named pipe with a per conversation token. - Connectors are listed through each provider's own interface and narrowed per agent with
--strict-mcp-config/--disallowedToolsfor Claude Code and per thread config overrides for Codex. Nest stores no connector credentials. - Cancel sends the provider's interrupt, then force stops the process tree if it doesn't settle. Partial text is kept and marked Stopped.
- Restart safety. Anything still running when Nest closes is marked interrupted on next launch. Pending approvals expire.
- Credentials. Nest never reads, copies or stores the agent CLIs' logins. Each tool keeps its own.
- Git and forges. Git commands run through your own
git, with prompts turned off so nothing waits on a hidden terminal. For forge APIs Nest asks, in order: a token you saved in Settings, a browser sign-in, the forge's CLI (gh auth token,glab config get token,tea's config) andgit credential fillwith interactive sign-in disabled. CLI and helper tokens stay in memory in the main process and are never written anywhere or sent to the renderer. Browser sign-in is the OAuth device flow (GitHub and GitLab; Forgejo and Gitea don't have one), so no client secret ships with Nest: it needs an OAuth app's client ID, built in for a host insrc/main/forge/oauth.tsor set per host in Settings. A chat's worktree goes beside the main working tree, in<repo>.worktrees/<branch>. Agents getdraft_commit_message,draft_pull_request,list_pull_requests,get_pull_request,get_check_log,list_issuesandget_issue.create_pull_request,merge_pull_request,comment_on_pull_request,create_issueandcomment_on_issuealways show an approval card, even when permissions are skipped. Paired phones can read history, pull requests and issues but not commit, push, open, merge or comment.
npm testThe offline suite drives the real adapters against fake CLIs in tests/fixtures: approvals, cancel, crash handling, session resume, provider switching, handoffs, process tree kills and more.
Live tests send a few small requests on your real subscriptions:
NEST_LIVE=codex,claude npx vitest run tests/live.test.tsNEST_LIVE=cursor,gemini,grok npx vitest run tests/live-acp.test.tsSet NEST_DEBUG_PROTOCOL=1 to log Codex protocol method names.
- Nest runs the unmodified Claude Code CLI for one person on their own machine. It doesn't offer, resell or sit between anyone and Claude access.
- When a Codex agent's model is Default, Nest uses the default from Codex's catalog for your account, since a model pinned in
~/.codex/config.tomlmight not be on your plan. - Nest is an independent project, not affiliated with or endorsed by OpenAI or Anthropic. Codex, ChatGPT, Claude and Claude Code are their trademarks.
Bug reports, fixes and new provider adapters are welcome. Start with CONTRIBUTING.md. For help see SUPPORT.md, and report security problems privately as described in SECURITY.md.
Copyright (C) 2026 Jonah DaCosta
Nest is licensed under the GNU General Public License v3.0 only (GPL-3.0-only). See LICENSE for the full text.




