Researcher
researcherAnswers one developer question from the pages it fetches, with a verbatim quote as evidence for every claim.
- Input
- A question, optional start URLs
- Access
- The web, no repository
- Cost cap per run
- $2.00
NanoStack puts the coding agent on your laptop and specialised cloud agents in one durable session. They delegate, ask each other questions and pass results down the task graph. You answer from your phone, and the session keeps going when you close the lid.
> Review feat/retry, then fix what the reviewer finds.
nanostack · delegate_task(agent: "reviewer") nanostack · wait_task reviewer asks: Is the retry limit meant to be 3 or 5? nanostack · send_message("3, see RETRY.md")✓ reviewer finished · 2 findings✓ Fix the findings · local thread got the report as dataThe same session, in the dashboard
ReviewerCloud · sandbox
succeeded · 2 findings · asked 1 question
ResearcherCloud · sub-task
succeeded · asked by the Reviewer · 2 sources
Fix the findingsLocal thread
running · input: the Reviewer’s report, pinned
Question from the Reviewer
Is the retry limit meant to be 3 or 5?
Answered: 3, see RETRY.md
How it works
NanoStack does not replace your coding agent. It connects it to cloud agents, records the work as one session, and keeps that session going when you walk away.
Link a repository in the terminal, or open it in the desktop app. Every session shows up in NanoStack as events: prompts, answers and tool names, never your transcript or file contents.
nanostack linkSend a research question, a diff or a failing CI log to a cloud agent. Your agent gets a short, cited result back instead of spending its own context.
delegate_taskA cloud agent that needs a fact asks instead of guessing, and can ask your laptop to run a declared command. Answer from your agent, the desktop app or your phone.
ask_requester · send_messageHand the session to a cloud worker. It carries on from your exact repository state on its own branch, and you steer it from the web or your phone.
nanostack handoffThe result comes back as a patch, merged three-way into your working tree. Nothing is staged and the cloud never pushes: you decide what to commit.
nanostack pullAgent conversations
Every message goes through the session, never agent to agent. So the whole conversation is on the record, a person can answer from a phone, and nothing another agent writes is ever treated as an instruction.
From the terminal or a desktop-app thread, hand work to a cloud agent or to a local thread, in the session you are already in.
delegate_task {agent: "researcher"}wait_task → answer, framed as dataA task that needs a fact waits for input instead of guessing. The question reaches whoever asked: your agent, or you.
ask_requester "Which DB does CI use?"send_message "postgres://ci-db/app"Run the tests against your local database, list the names in .env: only commands your repository declares, only after you approve.
request_local "test-local-db"approved → daemon runs its argvAn agent delegates to the collaborators its definition names, answers their questions, and pays for them out of its own budget.
delegate_subtask "builtin/researcher"wait_subtask → answer_subtaskWhen a local task depends on a cloud one, the cloud result is pinned at claim time and handed to the local agent as data, in files git never sees.
Reviewer ─▶ Fix the findings.nanostack-inputs/ (never committed)Questions and local requests land in one inbox: in your coding agent, the desktop app, the dashboard and as a push on your phone.
wait_inboxpush · dashboard · desktop appDepth, fan-out, messages and spend are bounded by the control plane. A sub-task’s cap comes out of its parent’s budget, and an agent cannot appear twice in its own chain.
Cloud agents
Each agent has narrow tools, an output schema and an evaluation suite, and returns a structured artifact instead of a transcript. Built-in and custom agents differ only in their definition.
researcherAnswers one developer question from the pages it fetches, with a verbatim quote as evidence for every claim.
reviewerIndependent review of a diff with severity-ranked, quoted findings. Asks you when intent is unclear, and the Researcher about an unfamiliar library.
test-doctorFinds the root cause of failing tests and confirms it with one targeted test. Can ask your laptop to run a command it declares.
dependency-auditorChecks manifests and lockfiles against npm, PyPI, crates.io and OSV for known vulnerabilities, deprecations and outdated versions.
> Use nanostack to find out what changed in axum 0.8 routing, and cite the source.
Path parameters now use /{id} instead of /:id, and wildcards use /{*rest}.
2 sources, each claim quoted
$ nanostack agent run reviewer --git-range origin/main..HEAD --waitDefine agents for your organization with their own prompt, tools, sites and limits. A version becomes runnable only after it is evaluated against your dataset and published.
Every cloud agent runs on the same agent engine, so a feature such as questions, skills or model tuning works for all of them at once. Where it runs depends on what it needs to reach, never both.
Agent service
The network, through an egress guard
Never sees your repository
Sandbox job
Your repository, in a locked-down container
No network in the agent phase
Laptop to cloud handoff
A local agent’s transcript cannot be resumed by another harness, and your subscription credentials should never leave your machine. So NanoStack hands over what the work needs, and nothing else.
Needs a local database, a service on localhost or values from .env? The handoff check says so before you leave, instead of the cloud failing halfway.
nanostack checkA fenced lease with a generation number keeps a single writer. When the laptop wakes up after a handoff, its stale lease is refused and it shows the session as led by the cloud.
coordinator leaseThe cloud clones your repository through the GitHub App and works on its own branch. Pulling back is a preview first, then a three-way merge that never touches your git index.
nanostack/<session>A secret scan runs on every handoff and checkpoint, and snapshots are capped at 25 MB by default.
Supervise from anywhere
The dashboard is the supervisor for every session, local or cloud. Install it as an app on your phone and approvals and questions arrive as push notifications.
Every event of every agent in the session as it happens, with the task graph that connects them.
Decide from the lock screen. Your organization’s policy sets what runs freely and what waits for a person.
A question from any agent in the session can be answered from the dashboard or your phone, as well as from your coding agent.
Send instructions mid-run, or interrupt: the task finishes its current step and waits for you.
The coordinator panel shows the laptop, the cloud or nobody, the generation, and whether the laptop is still online.
Every handoff gets a budget and every agent run a hard cap that its sub-tasks share. The gateway cuts a stream mid-flight when it is spent.
Security
Cloud agents read the open web, write code and now talk to each other, so they run behind hard walls. Budgets, approvals and audit are the floor, not the pitch.
Your coding agent’s subscription never leaves your machine. Cloud work runs on the NanoStack AI Gateway with a short-lived, spend-capped key per run.
Agents that reach the network never see your repository; agents that read it run in a container with no network. Workers run on your own VPS with no inbound ports.
An agent reaches only the hosts it was explicitly allowed, through a proxy that also controls DNS. New hosts become an approval.
Repositories are reached through a GitHub App and a per-repository, per-method credential proxy. The cloud cannot push to your branches.
A cloud agent can only ask for a command your repository declares, as an argv, never a shell string. Edit the declaration and the old approval no longer runs.
Text from another agent is framed as data and can never approve anything. Secrets are scanned before upload, and every message, approval and outbound call is logged.
Why NanoStack
A coding agent is great at the work in front of you. NanoStack covers what happens around it: the side work, the questions, the walk away and the way back.
A coding agent alone: Read into the main agent’s context
With NanoStack: Delegated to a specialised agent, returned as a cited artifact
A coding agent alone: It guesses, or stalls at your terminal
With NanoStack: It asks, and you answer from your agent or your phone
A coding agent alone: Copied from one window to another by hand
With NanoStack: Pinned into the dependent task and handed over as data
A coding agent alone: Not possible
With NanoStack: A declared command, run only after you approve it
A coding agent alone: The session stops with it
With NanoStack: A cloud worker continues from your exact state
A coding agent alone: Copy changes around by hand
With NanoStack: nanostack pull: a three-way merge into your working tree
A coding agent alone: Whatever the session uses
With NanoStack: A budget per handoff and a cost cap per agent run, shared by its sub-tasks
Get started
The nanostack CLI is a small signed binary for macOS and Linux (Windows through WSL2). It never uses sudo. Prefer a window? The desktop app does the same and runs any ACP agent.
Checks the checksum, and the signature when minisign is installed.
$ curl -fsSL https://raw.githubusercontent.com/teddy-tr/nanostack/main/clients/cli/dist/install.sh | shConfirm the code in a browser where you are signed in.
$ nanostack loginAdds the session hooks and the local MCP bridge, nanostack mcp. Restart your coding agent afterwards.
$ cd your-repo && nanostack linkPoint any MCP client at the remote server with an API key from the dashboard.
https://api.nanostack.si/mcpAuthorization: Bearer $NANOSTACK_API_KEYUnder the hood
Cloud coordinators and agents run on one gateway that speaks the OpenAI, Anthropic and Gemini APIs. Use it from your own apps too: one key for every model, with usage by key and model.
/v1/anthropic/genai/mcpFAQ
Handoff, cloud agents, what leaves your laptop, and what it costs.
Join early access and we will email you when your spot opens, with the guide to link your first repository.