Skip to content
NewAgents that ask each other, and you

Local and cloud agents, working as one team.

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.

  • Terminal agents over MCP and hooks
  • Any ACP agent in the desktop app
  • macOS and Linux
~/acme-apiyour coding agent
> 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 data

The same session, in the dashboard

Review and fix feat/retryLaptop leads
  1. ReviewerCloud · sandbox

    succeeded · 2 findings · asked 1 question

  2. ResearcherCloud · sub-task

    succeeded · asked by the Reviewer · 2 sources

  3. 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

Message the session

How it works

One session for every agent, from laptop to cloud and back

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.

  1. 01

    Connect your agent

    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 link
  2. 02

    Delegate the side work

    Send 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_task
  3. 03

    Talk it through

    A 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_message
  4. 04

    Close the lid

    Hand 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 handoff
  5. 05

    Pull it back

    The 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 pull

Agent conversations

Agents that hand off work, ask questions and share results

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.

  • Your agent delegates

    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 data
  • Cloud agents ask back

    A 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"
  • Cloud agents ask your laptop

    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 argv
  • Cloud agents work together

    An 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_subtask
  • Results flow down the graph

    When 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)
  • You answer from anywhere

    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 app

Depth, 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

Built-in agents and your own, on one engine

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.

  • Researcher

    researcher

    Answers 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
  • Reviewer

    reviewer

    Independent review of a diff with severity-ranked, quoted findings. Asks you when intent is unclear, and the Researcher about an unfamiliar library.

    Input
    A diff or a git range
    Access
    Read-only repository, no network
    Cost cap per run
    $1.00
  • Test Doctor

    test-doctor

    Finds the root cause of failing tests and confirms it with one targeted test. Can ask your laptop to run a command it declares.

    Input
    A CI log and a commit
    Access
    Node projects with a lockfile
    Cost cap per run
    $1.00
  • Dependency Auditor

    dependency-auditor

    Checks manifests and lockfiles against npm, PyPI, crates.io and OSV for known vulnerabilities, deprecations and outdated versions.

    Input
    A manifest or lockfile
    Access
    Package registries, no repository
    Cost cap per run
    $0.25
In your coding agent

> Use nanostack to find out what changed in axum 0.8 routing, and cite the source.

  • nanostack · delegate_task(agent: "researcher")
  • nanostack · wait_task(45 s)
  • nanostack · get_artifact

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 --wait

Bring your own agents

Define 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.

  • Skills
  • Collaborators
  • Effort and thinking
  • Fallback model
  • Evaluation gate

One engine, two environments

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

Handoff moves state, not processes

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.

What travels

  • Goal, plan, task graph and the decisions so far
  • Artifacts the session has produced
  • A compact context summary, written from redacted events
  • Repository state: base commit, unpushed commits as a git bundle, and a binary-safe patch of your working tree

What never leaves your laptop

  • Your coding agent’s transcript
  • Your coding agent’s subscription and credentials
  • Ignored files such as .env and build output
  • Your NanoStack credentials file
  • Checked before it moves

    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 check
  • One coordinator at a time

    A 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 lease
  • Its own branch, your merge

    The 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

Steer every agent from the web or your phone

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.

  • Live timeline and graph

    Every event of every agent in the session as it happens, with the task graph that connects them.

  • Approvals with push

    Decide from the lock screen. Your organization’s policy sets what runs freely and what waits for a person.

  • Agents ask, you answer

    A question from any agent in the session can be answered from the dashboard or your phone, as well as from your coding agent.

  • Message or interrupt

    Send instructions mid-run, or interrupt: the task finishes its current step and waits for you.

  • Who leads, at a glance

    The coordinator panel shows the laptop, the cloud or nobody, the generation, and whether the laptop is still online.

  • Budgets that hold

    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

Built for code you care about

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 credentials stay local

    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.

  • Web or repository, never both

    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.

  • Egress by allow-list

    An agent reaches only the hosts it was explicitly allowed, through a proxy that also controls DNS. New hosts become an approval.

  • Scoped GitHub access

    Repositories are reached through a GitHub App and a per-repository, per-method credential proxy. The cloud cannot push to your branches.

  • Your laptop runs what you approved

    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.

  • Messages are data, on the record

    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

What changes when your agent has a team

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.

  • Research and review

    A coding agent alone: Read into the main agent’s context

    With NanoStack: Delegated to a specialised agent, returned as a cited artifact

  • An agent needs a fact

    A coding agent alone: It guesses, or stalls at your terminal

    With NanoStack: It asks, and you answer from your agent or your phone

  • One agent’s result, another’s input

    A coding agent alone: Copied from one window to another by hand

    With NanoStack: Pinned into the dependent task and handed over as data

  • The cloud needs your laptop

    A coding agent alone: Not possible

    With NanoStack: A declared command, run only after you approve it

  • Closing the laptop

    A coding agent alone: The session stops with it

    With NanoStack: A cloud worker continues from your exact state

  • Coming back

    A coding agent alone: Copy changes around by hand

    With NanoStack: nanostack pull: a three-way merge into your working tree

  • Spend

    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

Link your first repository in three commands

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.

  1. 1

    Install the CLI

    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 | sh
  2. 2

    Approve this machine

    Confirm the code in a browser where you are signed in.

    $ nanostack login
  3. 3

    Link a repository

    Adds the session hooks and the local MCP bridge, nanostack mcp. Restart your coding agent afterwards.

    $ cd your-repo && nanostack link

Only want the cloud agents?

Point any MCP client at the remote server with an API key from the dashboard.

URL
https://api.nanostack.si/mcp
Header
Authorization: Bearer $NANOSTACK_API_KEY

Under the hood

The NanoStack AI Gateway

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
  • /mcp
Browse models and prices

FAQ

Questions about NanoStack

Handoff, cloud agents, what leaves your laptop, and what it costs.

NanoStack

Give your coding agent a team

Join early access and we will email you when your spot opens, with the guide to link your first repository.