# Nested — full documentation --- --- > Nested deploys specialized coding agents into the Kubernetes you already run. Packs, tasks, and connectors stay inside your cluster. --- --- # What is Nested > Nested runs specialized coding agents on Kubernetes you control. Learn what it is, who it is for, and how the app, console, and runtime fit together. Section: Start here · Updated: 2026-11-19 · Canonical: https://nested.me/docs/introduction ## Nested in one paragraph Nested runs specialized coding agents inside a Kubernetes cluster that you operate. Each agent is a deployment with its own machine, tools, and sign-ins. You hand it work as a **task**, it works while you do something else, and it tells you when it needs you. Many tasks can run at the same time, across many agents. Nested is not a multi-tenant SaaS. The control plane, the agent hosts, and the platform services (Postgres, Temporal, an S3-compatible object store, and more) install into your cluster, so prompts, repository context, and connector tokens stay inside a boundary you already secure. > [!NOTE] > One optional feature runs outside the cluster: **Environments**, the short-lived machines agents create to run or test an app, run on a cloud provider and connect back through an outbound-only gateway. Your team enables them only if it wants them. ## Who it is for - **Engineers** who want to hand off real work — a bug fix, a review, a migration, a report — and come back to a finished result instead of babysitting a chat window. - **Platform teams** who need agents to run next to their own workloads, under their own network policy, with their own credentials. - **Security and compliance owners** who need to know exactly where agent data lives. In Nested, the answer is: in the cluster you host. ## The three surfaces | Surface | Who uses it | What it does | | --- | --- | --- | | **The app** | Everyone on a team | Chat-first workspace: start tasks, answer agents, run automations, read reports | | **The console** | Operators | Register clusters, manage the agent catalog and packs, operate deployments | | **The runtime** | Your cluster | Every agent runs as a `cloud-agent` deployment next to the control plane and platform services | Most of these docs cover **the app**, because that is where people spend their day. The [Platform](https://nested.me/docs) section explains what runs underneath. ## How work flows 1. You deploy an agent with **New agent**. A pack gives it skills, subagents, formulas, and MCP servers; secrets give it credentials. 2. You start a **New task**, pick the agent and a workspace in the composer, and describe the work. 3. The agent works on its own machine. If it needs an answer, a sign-in, or a decision, the task moves to **Needs you** at the top of your task list. 4. You answer, or you mark the task done. Closed tasks move to **Archived**. 5. For recurring or event-driven work, an **automation** starts tasks for you — on a schedule, from a webhook, from GitHub, from Slack, and more. ## What makes Nested different - **Specialized agents, not one chatbot.** Each agent carries the packs and secrets for its job, so its context stays focused. - **Parallel, durable tasks.** Tasks are not browser tabs. They keep running when you close the app, and you can reopen a closed one later. - **Memory that belongs to you.** What agents learn about you and your work lives in your [memories](https://nested.me/docs/memory), shared across every agent you use. - **Your boundary.** Data stays in the datastores that run in your cluster (Environments, if enabled, are the exception noted above). See the [privacy policy](https://nested.me/privacy). ## How to read these docs - New to Nested? Read the [Quickstart](https://nested.me/docs/getting-started), then the [Glossary](https://nested.me/docs/concepts). - Working in the app every day? Start with [Chat, workspaces, and tasks](https://nested.me/docs/chat) and [Needs you](https://nested.me/docs/attention). - Setting up recurring work? Go to [Automations](https://nested.me/docs/automations). - Every page is also available as Markdown: add `.md` to the URL. ## Questions ### Is Nested a hosted SaaS? No. Nested installs into a Kubernetes cluster you operate. The control plane, agents, and datastores run there, and the vendor does not receive a copy of your content by default. Optional Environments run on a cloud provider. ### Which coding agents can a Nested agent run? The deploy wizard offers **Cursor** (the default), **Claude Code**, and **Kimi CLI** as presets. You can pick another agent with **Choose from registry** (the ACP registry) or **Manual entry**. ### Do I need to know Kubernetes to use Nested? No. People use the app to deploy agents and start tasks. Operators handle the cluster and the agent catalog in the console. [Open in Nested](https://app.nested.me/) ## Related - [Quickstart](https://nested.me/docs/getting-started) - [Glossary](https://nested.me/docs/concepts) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) --- # Quickstart > Sign in, deploy your first agent, start a task, answer it from Needs you, and hand recurring work to an automation — in about ten minutes. Section: Start here · Updated: 2026-11-19 · Canonical: https://nested.me/docs/getting-started This quickstart takes you from sign-in to a finished task. One chatbot that does everything loses context fast; Nested keeps specialized agents and parallel tasks instead, so you can start work, walk away, and come back when an agent needs you. ## Before you start - You need a Nested account on your team’s deployment. Ask your operator for the app address. - If your account has no team yet, Nested opens **Create or Join a Team** after sign-in. Create a team, or paste the invitation link a teammate sent you. ## Steps 1. Open the app and sign in with **Sign in with a passkey**, your email and password, or **Continue with Google**. 2. Deploy an agent. With no agents yet, the home screen shows one **New agent** action. Later, use **New agent** at the end of the **Agents** group in the sidebar, or press Cmd/Ctrl+K and choose **New agent**. 3. Walk the wizard: choose to create your own agent, give it a name, pick packs and a coding agent, attach secrets, and confirm. Nested opens the agent in chat when it is running. See [Deploy an agent](https://nested.me/docs/deploy) for every step. 4. Select **New task**. In the composer, pick the agent in the agent picker and a workspace in the workspace picker. Create a workspace with **New workspace** if you need one. 5. Write what you want and press Enter. Shift+Enter makes a new line. 6. Leave the task whenever you like. When the agent needs an answer or a sign-in, the task moves to **Needs you** at the top of the **Active** list. 7. Answer in the thread, or select **Complete** when the work is done. The task moves to **Archived**. 8. For work that repeats, open **Automations** from the account menu (on a phone, the **Automations** tab) and let Nested start tasks for you. > [!TIP] > Tasks run in parallel. Start a second task while the first one works — each one is a separate row in the task list. ## What you see on the home screen | Section | What it shows | | --- | --- | | **Needs you** | Tasks waiting on your answer, sign-in, or decision | | **Running** | Tasks an agent is working on now | | **Agents** | Your agents and their status | | **Shortcuts** | **Search or jump to…** (the command palette), archived tasks, **Packs**, **Connectors**, and **Settings** | | **Recently finished** | Tasks that closed lately | ## Example Deploy an agent called `research`, create a workspace called “August launch”, and start “Draft the announcement”. While it writes, select **New task** again and start “Review the launch checklist” in the same workspace. Both run at the same time. When the first one asks which product name to use, it appears under **Needs you**; answer, then mark it done. ## Questions ### Why is the composer hidden on my home screen? You have no agents yet. Deploy one with **New agent**; the composer appears once you have an agent to send tasks to. ### Can I close the browser while an agent works? Yes. Tasks run on the agent in your cluster, not in your browser. Turn on [notifications](https://nested.me/docs/notifications) to hear when a task needs you. ### How do I start a task on a different agent? Select **New task**, then choose the agent in the composer’s agent picker. You can also press Cmd/Ctrl+K, type the agent’s name, and press Enter. [Open in Nested](https://app.nested.me/) ## Related - [What is Nested](https://nested.me/docs/introduction) - [Deploy an agent](https://nested.me/docs/deploy) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) --- # Product tours > Four short desktop walkthroughs — deploy an agent, connectors, scheduled tasks, workspaces and tasks — that you can start, skip, or replay anytime. Section: Start here · Updated: 2026-11-19 · Canonical: https://nested.me/docs/tours The desktop shell is easier to learn by pointing at the real controls than by reading a diagram. Tours highlight those controls one at a time. They explain; they never force you to finish a deploy or connect a tool. ## Before you start - Use a desktop window at least 1024px wide. Phones and tablets never show the tour overlay. - Open your account menu at the foot of the sidebar. **Take a tour** is the icon button in the menu footer, next to Settings. ## Steps 1. Select **Take a tour**. Nested shows **Four short tours**. 2. Pick a tour and select **Start**. 3. Move with **Next** and **Back**. The last step reads **Got it**. 4. Leave at any point with **Skip this tour**. To dismiss the whole list, select **Skip for now**. 5. Come back later from the same icon. Finished tours show **Replay**. ## The four tours | Tour | What it covers | | --- | --- | | **Deploy an agent** | Pick an existing agent or create your own, then land in chat | | **Connectors** | Give every agent access to the tools you already use | | **Scheduled tasks** | Let an agent run a prompt on a calendar or interval | | **Workspaces and tasks** | How Nested organizes parallel work: agents, workspaces, **New task**, active tasks, and the composer | > [!NOTE] > Tours that need an agent are marked **Needs an agent**. If you have none, the start button reads **Deploy an agent first** and opens the deploy tour instead. ## Example On your first desktop session, Nested offers the tour list on the home screen. Select **Skip for now** to dismiss it. A week later, open the account menu, select **Take a tour**, and replay **Workspaces and tasks** to learn the task list filters. ## Questions ### Why don’t tours show on my phone? Tours need the desktop layout. They run only in windows at least 1024px wide. ### How do I restart a tour I skipped? Open the account menu at the foot of the sidebar and select the **Take a tour** icon. Pick the tour again or select **Replay**. [Open in Nested](https://app.nested.me/) ## Related - [Quickstart](https://nested.me/docs/getting-started) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Deploy an agent](https://nested.me/docs/deploy) --- # Glossary > The words Nested uses — agent, pack, skill, formula, workspace, task, automation, connector, memory, team — and how they fit together. Section: Concepts · Updated: 2026-11-19 · Canonical: https://nested.me/docs/concepts Nested uses a small set of words consistently across the app, the console, and these docs. Learn them once and every screen reads the same way. ## The short version A **team** owns **agents**. Each agent is a **deployment** that carries **packs** and **secrets**. You give an agent work as a **task** inside a **workspace**. **Automations** start tasks for you. **Connectors**, **knowledge centers**, and your **memories** give agents what they need to know and reach. ## Terms | Term | What it means | | --- | --- | | **Agent** | A specialized worker with its own machine, tools, and sign-ins. You deploy it once and give it tasks. | | **Deployment** | The running form of an agent in your Kubernetes cluster: a `cloud-agent` pod plus its configuration. | | **Pack** | A versioned bundle of capabilities you attach to an agent: skills, subagents, formulas, MCP servers, setup scripts, and guides. | | **Skill** | A focused instruction set (a `SKILL.md` file) that teaches the agent how to do one kind of job. | | **Subagent** | A specialist the agent can hand part of a job to, defined inside a pack. | | **MCP server** | A tool server the agent talks to over the Model Context Protocol, declared in a pack. | | **Formula** | A reusable, typed workflow: a graph of steps and gates with checked input. Runs open on a run canvas. | | **Workspace** | A named topic for an agent’s tasks. It is an open folder (a scratch space) or one repository. | | **Task** | One unit of agent work: a conversation thread with a status. Many tasks run in parallel. | | **Subtask** | A task started from another task. It appears on a lane under its parent. | | **Automation** | A named trigger plus instructions. When it fires — on a schedule, a webhook, GitHub, Slack, or another source — Nested starts a task. | | **Connector** | An account-level link to an outside tool (for example GitHub) that agents can use. | | **Secret** | A stored credential, such as an API key, that you bind to an agent instead of pasting it into chat. | | **Knowledge center** | A shared, versioned set of Markdown pages that you attach to agents as reference or as a place to write. | | **Memory** | What agents remember about you and your work. It belongs to you, not to one agent, and you choose it per task. | | **Team** | The group that owns agents, workspaces, and tasks. Every account works inside a team. | | **Environment** | A short-lived machine an agent creates to run or test an app outside its own container. It runs on a cloud provider, not in your cluster, and only when your team enables Environments. | | **Site login** | A saved sign-in for a website, which an agent can use to log in for you. | ## How the pieces relate ### Agents, packs, and secrets An agent is only as capable as what you attach to it. A pack adds skills, subagents, formulas, and MCP servers. Secrets supply the credentials those packs declare. You pick both in the [deploy wizard](https://nested.me/docs/deploy) and change them later in [agent settings](https://nested.me/docs/agent-settings). ### Workspaces and tasks A workspace groups related tasks for one agent so topics do not mix. A task is the actual conversation. You pick the agent and the workspace in the composer when you start a task. See [Chat, workspaces, and tasks](https://nested.me/docs/chat). ### Knowledge and memory A knowledge center is shared and attached to agents. A memory is yours and is chosen per task. Both use the same page format, with full version history. See [Shared knowledge centers](https://nested.me/docs/knowledge) and [Memories](https://nested.me/docs/memory). ### Automations and formulas An automation decides *when* work starts. A formula decides *how* multi-step work proceeds once it starts. An automation can run either plain instructions or a formula from the agent’s packs. See [Automations](https://nested.me/docs/automations) and [Formula runs in chat](https://nested.me/docs/formulas). ## Example Your team deploys a `reviewer` agent with a code-review pack and a GitHub token secret. An automation fires when a pull request opens and starts a task in the “Pull requests” workspace. The agent reads the team’s “Coding standards” knowledge center, remembers from your memory that you prefer short comments, and posts its review. ## Questions ### What is the difference between an agent and a deployment? They are the same thing seen from two sides. People talk about the agent; the cluster runs it as a deployment. ### What is the difference between knowledge and memory in Nested? A knowledge center is shared and attached to agents. A memory belongs to you and follows you to whichever agent works on your task. ### What is a pack? A pack is a versioned bundle of skills, subagents, formulas, MCP servers, and setup that you attach to an agent. You can build your own in the [pack builder](https://nested.me/docs/pack-builder). ## Related - [What is Nested](https://nested.me/docs/introduction) - [How tasks work](https://nested.me/docs/tasks-lifecycle) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) --- # How tasks work > A task’s life in Nested: running, needs you, completed, canceled, failed, or rejected — plus reopening, queued messages, subtasks, and automated tasks. Section: Concepts · Updated: 2026-11-19 · Canonical: https://nested.me/docs/tasks-lifecycle Every piece of agent work in Nested is a task — whether you start it, an automation starts it, or another agent starts it. Knowing the states tells you when to act and when to leave the agent alone. ## The caller decides when a task is done When an agent finishes a turn, the task does not close by itself. It waits for you, so you can ask a follow-up in the same thread instead of opening a new task each time. You close it when you are satisfied, with **Complete**. ## Task states | State | What you see | What to do | | --- | --- | --- | | Working | The task is under **Running**. The composer shows **Working…** | Nothing. You can still send a message; it waits in the queue. | | Waiting for input | The task moves to **Needs you** | Answer in the thread, or select **Complete** if the work is done. | | Needs sign-in | The task moves to **Needs you** with a sign-in prompt | Sign the agent in, then continue. | | Completed | **Task completed** | Nothing. The task moves to **Archived**. | | Canceled | **Task canceled** | You or someone else aborted it. Reopen it or start a new task. | | Failed | **Task failed** | Read the last message, then start a **New task**. Failed tasks cannot be reopened. | | Rejected | **Task rejected** | The agent declined the request. Rephrase it in a new task. | ## Closing and reopening - **Complete** stops the agent and closes the thread. “You can always start a new task in this workspace.” - **Abort** stops the agent right where it is and marks the task canceled. Anything already written stays in the thread. - A closed task replaces the composer with **New task**. When the task can continue, you also get **Reopen task**. - In the task list, each row has quick actions to mark a task done, abort it, or reopen it. ## Queued messages You do not have to wait for a turn to end. Messages you send while the agent works go to **Queued messages** and send after the current turn. Press Esc to stop the current turn instead. If the task ends or fails before the queue sends, Nested holds the messages and offers **Resume**, **Send as new task**, or **Discard all**. ## Subtasks Select **New subtask** in the **Task options** (⋯) menu to split work off a task. Subtasks hang on a lane under their parent instead of cluttering the list. The assistant can also turn a long agent message into subtasks; see [Writing faster in chat](https://nested.me/docs/assist). ## When an agent is stopped An agent with no work for about 10 minutes stops to free cluster resources. Its tasks are safe. When you open a task on a stopped agent, Nested says it stopped after a quiet period; select **Start agent** to continue. ## Tasks that start without you Automations, schedules, webhooks, Slack, GitHub, formula steps, startup tasks, and other agents all create ordinary tasks. Their first message is labeled **Automated message from** the source. In the **Archived** tab, filter by kind: Chat, Scheduled, Hook, Automation, Formula, or Startup. > [!NOTE] > Formula step tasks close themselves when the step finishes cleanly, and scheduled tasks are closed by their schedule. You rarely need to complete those by hand. ## Example You ask an agent to upgrade a dependency. It finishes a turn and asks whether to also update the lockfile, so the task moves to **Needs you**. You answer “yes”, then add a second message while it works — it waits in the queue. When the agent reports success, you select **Complete** and the task moves to **Archived**. ## Questions ### Why didn’t my task close when the agent finished? Nested leaves the task open after each turn so you can follow up in the same thread. Select **Complete** when you are done. ### What is the difference between Complete and Abort? **Complete** closes a task whose work is done. **Abort** stops the agent mid-turn and marks the task canceled. ### Can I send a message while the agent is working? Yes. It goes to **Queued messages** and sends after the current turn ends. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) - [Share, export, and runbooks](https://nested.me/docs/share-export) --- # Teams > Every agent, workspace, and task belongs to a team. Create or join a team, invite members, set roles, and handle agents left behind by former members. Section: Concepts · Updated: 2026-11-19 · Canonical: https://nested.me/docs/teams In Nested, “every agent, workspace, and task belongs to a team.” A team is the boundary for sharing: members can use agents that accept tasks from anyone, see team packs, and use team connectors. You can belong to several teams and switch between them. ## Before you start - After your first sign-in, an account without a team sees **Create or Join a Team**. - Managing members, invitations, and domains needs the **Owner** or **Admin** role. ## Steps ### Create or join a team 1. On **Create or Join a Team**, enter a **Team name** and select **Create team**. 2. Or accept one of your **Pending invitations** with **Accept invitation**. 3. Or paste a link under **Join with an invitation link** and select **Join team**. ### Invite a teammate 1. Open **Settings → Team**. 2. Under **Invitations**, enter the invitee’s email, choose a **Role**, and select **Create invite link**. 3. Select **Copy link** and send it. The invitee opens it and selects **Join team**. 4. To add someone who already has an account, use **Add member** under **Members** instead. ### Switch teams Use **Switch active team** in **Settings → Team**, the team control in your account menu, or the **Teams** group in the command palette (Cmd/Ctrl+K). The account menu shows counts for work waiting or running in your other teams. ## Roles | Role | What it can do | | --- | --- | | **Owner** | Everything an admin can do, plus **Delete team**. Every team keeps at least one owner. | | **Admin** | Manage members and roles, invitations, claimed auto-join domains, and left-behind agents. | | **Member** | Use the team’s shared agents, packs, and connectors; deploy and own agents. | | **Billing** | A role you can assign for billing contacts. | ## Claimed auto-join domains Owners and admins can claim email domains such as `acme.com`. Verified accounts with no team whose email matches a claimed domain join automatically as members. Only domains on the platform allowlist can be claimed, and one domain belongs to one team. ## Left-behind agents When a member leaves, their agents stop. They appear under **Left-behind agents**, where an owner or admin can **Reassign** each one to an active member or **Delete** it. ## Leaving or deleting a team - **Leave team** removes you from the team. Your memories in that team are removed with you. - **Delete team** is for owners. Delete or reassign every agent first, and destroy any live environments. ## Example You create “Acme Engineering”, claim `acme.com` so new colleagues join automatically, and send an invite link to a contractor with the **Member** role. When the contractor’s engagement ends, you remove them and reassign their `docs-bot` agent to yourself from **Left-behind agents**. ## Questions ### Can I be in more than one Nested team? Yes. Switch the active team from **Settings → Team**, the account menu, or the command palette. ### What happens to my agents if I leave a team? They stop and appear under **Left-behind agents**, where an owner or admin reassigns or deletes them. ### Why can’t I delete my team? Only owners can delete a team, and only after every agent is deleted or reassigned and no environments are live. [Open in Nested](https://app.nested.me/settings/team) ## Related - [Glossary](https://nested.me/docs/concepts) - [Deploy an agent](https://nested.me/docs/deploy) - [Connectors](https://nested.me/docs/connectors) --- # Chat, workspaces, and tasks > Use the task list, pick an agent and workspace in the composer, create folder or repository workspaces, and run several tasks in parallel. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/chat ![The task list, a task thread, and the task panel in the Nested app](https://nested.me/screens/task-thread-light.webp "The app on desktop: the task list, one task’s thread, and the task panel.") Nested organizes work as tasks, not as one long chat. The sidebar is your team’s task list across every agent, so you can see at a glance what needs you and what is still running. Workspaces keep topics from mixing; tasks are the actual conversations. ## Before you start - Have at least one agent. If you have none, the home screen shows **New agent**; see [Deploy an agent](https://nested.me/docs/deploy). - On desktop, you can collapse and resize the sidebar to give the thread more room. ## The task list The desktop sidebar holds: | Part | What it does | | --- | --- | | **Search tasks** and **New task** | Find a task by title, or start a blank one | | **Agent** and **Workspace** filters | Narrow the list to one agent or one workspace; **Clear filters** resets them | | **Active** tab | **Needs you** at the top, then **Running** | | **Archived** tab | Closed tasks, filterable by kind: Chat, Scheduled, Hook, Automation, Formula, Startup, or All | | **Agents** group | Each agent with **New task**, sign-in, and settings actions; **New agent** and **All agents** at the end | | Account control | Your account menu, at the foot of the sidebar | On a phone, the **Tasks** tab shows the same list with an agent strip on top (**All agents** plus each agent). ## Steps 1. Select **New task** in the sidebar, or **New task** on an agent in the **Agents** group. 2. In the composer, choose the agent in the agent picker (**Choose agent**) and the workspace in the workspace picker (**Choose workspace**). 3. Write your message. Enter sends; Shift+Enter makes a new line; the mic dictates. 4. While the agent works, you can keep typing — messages wait in the queue and send after the current turn. Press Esc to stop the turn. 5. To work in parallel, select **New task** again. Each task is its own row in the list. 6. When the work is done, select **Complete** in the task header. To stop the agent at once, select **Abort**. ## Workspaces A workspace is a named topic for an agent’s tasks. Create one from the workspace picker with **New workspace**: | Workspace type | What it is | Good for | | --- | --- | --- | | **Open folder** | A scratch space on the agent | Research, writing, one-off scripts | | **One repository** | Checks a repository out for every task | Code changes, reviews, fixes | For **One repository**, search a **Repository** (or type `owner/repo`) and optionally a **Branch**. Nested reads and clones the repository through the GitHub connector, so connect it first under [Connectors](https://nested.me/docs/connectors). Repository tasks can run in the main checkout (**Local**) or in a separate **Worktree**; see [The task panel](https://nested.me/docs/task-panel). > [!TIP] > Keep one workspace per project or thread of work. Tasks stay grouped, and the **Workspace** filter becomes useful. ## The task options menu The task header shows **Complete** and **Abort**. Everything else lives in **Task options** (⋯): - **New subtask** — split work off this task onto a lane under it. - **Runbooks** — the agent’s turn-by-turn log. - **Share…** — a public, read-only link. See [Share, export, and runbooks](https://nested.me/docs/share-export). - **Export history…** — the conversation as Markdown. ## On a phone New tasks and **Expand composer** open a full-screen sheet so the keyboard has room. Replies to an open task are written inline under the thread. **Task details** opens the task panel as a sheet. ## Example In the “Launch” workspace, start “Draft the announcement” on your writing agent. Then select **New task** and start “Review the checklist” on the same agent. Both appear under **Running**. Filter by the “Launch” workspace to see only those two. ## Questions ### How do I run tasks in parallel in Nested? Select **New task** again while another task runs. Each task is independent and appears as its own row in the task list. ### Where do I pick the agent for a task? In the composer’s agent picker. The sidebar lists tasks across all agents; use the **Agent** filter to narrow it. ### Why can’t I choose a repository for a workspace? Repository workspaces need the GitHub connector. Connect it on the Connectors page, then try **New workspace** again. [Open in Nested](https://app.nested.me/) ## Related - [The composer](https://nested.me/docs/composer) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) - [The task panel, changes, and worktrees](https://nested.me/docs/task-panel) - [How tasks work](https://nested.me/docs/tasks-lifecycle) --- # Needs you: tasks waiting on you > When a task needs your answer, sign-in, or decision, Nested moves it to Needs you at the top of the task list — without pulling you out of your thread. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/attention Parallel work only feels safe if waiting tasks are obvious. In Nested, any task that cannot continue without you moves to **Needs you** at the top of the **Active** list. You stay in your current thread; the list tells you where to go next. ## What puts a task in Needs you - The agent finished a turn and is waiting for your reply. - The agent needs a sign-in it cannot finish alone. - A formula run is waiting for a check, decision, or input from you. Tasks the agent is actively working on stay under **Running**. ## Before you start - Nothing to set up for the in-app list. - For a ping when you are in another app or away, turn on [notifications](https://nested.me/docs/notifications) and choose **A task needs me**. ## Steps 1. Look at the top of the **Active** tab in the sidebar. **Needs you** lists every waiting task across your agents. 2. On a phone, the **Tasks** tab shows a count, for example “Tasks, 2 need you”. 3. In the **Agents** group, an agent with waiting work shows how many tasks need you. 4. Select a row to open that task, then answer, sign in, or decide. 5. If nothing more is needed, select **Complete** — or use the row’s quick action to mark it done. > [!NOTE] > The account control at the foot of the sidebar shows how many tasks are **running**, not waiting. If you belong to several teams, it also shows waiting and running counts for your other teams. ## Example You are drafting in one task while your `builder` agent waits on a secret. The `builder` row in the **Agents** group shows that one task needs you, and the task sits at the top of **Needs you**. Select it, add the secret, and reply “continue”. The task moves back to **Running**. ## Questions ### Where is the attention inbox in Nested? There is no separate inbox. Waiting tasks sit in **Needs you** at the top of the **Active** task list. ### How do I get notified when an agent needs me? Open **Settings → Notifications**, select **Notify me in this browser**, and turn on **A task needs me**. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Notifications](https://nested.me/docs/notifications) - [How tasks work](https://nested.me/docs/tasks-lifecycle) --- # Writing faster in chat > Rephrase a draft, dictate by voice, summarize a long reply, read it aloud, and turn any agent message into subtasks — without leaving the thread. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/assist Most of what you send is a rough draft. Small assistant tools clean it up, read long replies to you, and mine long agent messages for next steps — all inside the thread. ## Before you start - Nothing to install. The tools live in the composer and on long agent messages. - Optional: turn on **Read long messages** in **Settings → Preferences** to hear long replies. - Optional: set up dictation in **Settings → Dictation** — the speech engine (automatic, the browser’s speech service, or Whisper on this device), language, and Whisper model. ## Steps 1. In the composer, open **AI tools** and select **Rephrase text** to clean up a draft before you send it. **Undo** restores your words. 2. Select **Dictate** to speak instead of type. When a draft came from dictation, the tool reads **Clean up dictation** and fixes words the mic may have missed. 3. On a long agent message, use **Summarize**, **Read aloud**, or **Suggest tasks from this message**. 4. In the suggestions, select **Use in composer** to edit one before sending, **Create subtask** for one, or **Create all** for every suggestion. **Regenerate** asks again. 5. When a task closes, **Suggest follow-ups** turns leftover work into subtasks for the next run. ## Whisper on your device Local Whisper dictation runs in your browser, so audio never leaves your device. Pick a model when Nested offers it: | Model | Trade-off | | --- | --- | | Fast · Tiny | Quickest, least accurate | | Balanced · Base | A middle ground | | Accurate · Small | Slowest, most accurate | ## Example Dictate “eh give me a summary of last week bugs and draft reply to sam”, select **Clean up dictation** to turn it into a clean sentence, and send it. When the agent replies with a long plan, select **Suggest tasks from this message** and create two of the suggestions as subtasks in one step. ## Questions ### Does Nested dictation send my voice to a server? Not when you use Whisper on this device: transcription runs locally in your browser. The browser speech service option uses your browser’s own speech provider. ### Can Nested read agent replies aloud? Yes. Use **Read aloud** on a long message, or turn on **Read long messages** in Settings → Preferences. [Open in Nested](https://app.nested.me/) ## Related - [The composer](https://nested.me/docs/composer) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Preferences and profile](https://nested.me/docs/preferences) --- # Formula runs in chat > A formula run opens on its own canvas: see where it is, act on checks, decisions, and inputs, open a step’s chat, and cancel or restart the run. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/formulas ![A formula run on its canvas, with the state of each step](https://nested.me/screens/formula-run-light.webp "A formula run on its canvas.") A formula is a reusable, typed workflow: a graph of steps and gates with checked input. Each step runs as an ordinary task on the agent. You design formulas in the pack builder; watching, deciding, and cancelling happen on the run canvas next to the chat that started it. ## Before you start - Formulas come from packs attached to the agent. Author them in the [pack builder](https://nested.me/docs/pack-builder). - A run starts when an agent calls a formula, when an automation runs one, or when a parent formula starts it. - Acting on a run needs manage access on the agent. Without it, you see “You need manage access on this deployment to act.” ## Steps 1. Open the run from the task that started it, or open the full-screen **Formula run** view. 2. Read the canvas: the formula name, version, status, and where the run is now. **Live** follows the run; **Replay** steps through its history, and **Back to live** returns. 3. Open a step with **Open step chat**. Steps that have not started yet have no chat link. 4. Act where the run waits for you — see the table below. 5. Select **Cancel run** to stop the steps still running. A failed or cancelled run can be revived with **Restart run**. ## What a run can ask you | Node | What you do | | --- | --- | | Check | Choose **approve**, **revise**, or **reject**. **revise** needs a note. | | Decision | Choose one of the formula’s own routes, with a note when the route asks for one | | Input | Write a reply to the step and select **Submit** | Runs that wait on you also appear under **Needs you**, and notifications can tell you when “A formula needs a decision” or “A formula needs input”. ## Example A bug-fix run reaches a human check after the agent writes a patch. You open the step chat, read the diff, and choose **approve**. The next step starts, and its chat is one click away. Later a flaky test fails a step; you select **Restart run** and the run picks up again. ## Questions ### What is a formula in Nested? A formula is a typed workflow shipped in a pack: steps that run as agent tasks, joined by gates that route by rules or by a person. ### Why can’t I approve a formula check? Acting on a run needs manage access on the agent. Ask the agent’s owner, or have them act on the run. [Open in Nested](https://app.nested.me/) ## Related - [Pack builder](https://nested.me/docs/pack-builder) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) - [Automations](https://nested.me/docs/automations) --- # The task panel, changes, and worktrees > See a task’s agent, session, memory, environments, and changed files beside the chat; review diffs; and run repository tasks in separate worktrees. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/task-panel ![The Changes view: a file tree beside a line-by-line diff](https://nested.me/screens/changes-review-light.webp "The Changes view of a task, with the task panel open beside it.") Chat tells you what the agent says it did. The task panel shows what it actually did: the files it changed, the machine it works on, and the memory it uses. Files, diffs, Desktop, Terminal, and runbooks open as view tabs beside **Chat**, so you never lose the thread. ## Before you start - The task panel is a desktop feature (windows at least 1024px wide). On a phone, open **Task details** for the same information as a sheet. - **Changes** and **Files** need a workspace on the agent. Some views are “Not available for this workspace”. ## Steps 1. Open a task and select **Show task panel**. **Use full width** hides it again; you can resize it. 2. Read the sections, described in the table below. 3. Select a changed file to open the review view as a tab beside **Chat**. To see the whole file as it is now instead of its diff, hover over the row and select **Open file**, or press O on a focused row. Deleted files have no **Open file**. 4. For a repository workspace, select **Manage worktrees** to see every worktree for that checkout. ## Panel sections | Section | What it shows | | --- | --- | | Account | The first row: the vendor account the agent works as. The agent’s owner can switch accounts here when the agent has several. See [Agent sign-in and accounts](https://nested.me/docs/agent-accounts) | | **Agent** | The agent on this task, with **Agent settings**. Collapsed by default; its heading shows CPU and memory as two small gauges, and it opens by itself when the agent needs a sign-in | | **Session** | Desktop and Terminal for the agent’s machine — “Available when the agent is running” | | **Memory** | The memories this task uses, in one row; **All {count} memories** lists them. **Forget what this task saved** undoes what it wrote | | **Environments** | The machines this task runs apps on, with their links, **Keep**, and **Destroy**. Shown only while the task has one. See [Environments](https://nested.me/docs/environments) | | **Changes** | Uncommitted changes, or the branch’s changes, with lines added and removed. The headers stay in place while the file list scrolls | | **Files** | The workspace’s files | ## Reviewing changes The review view lists **Changed files** with a filter. Switch the **Diff layout** between **Unified** and **Split**, and use **Diff settings** to **Wrap lines** or **Hide whitespace changes**. Mark each file **Viewed** to track progress; a file that changes afterwards shows **Changed since viewed**. **Keyboard shortcuts** lists keys for the next or previous file and change. ## Worktrees A worktree lets a repository task work on its own copy of the code, so parallel tasks do not edit the same files. When you start a task in a **One repository** workspace, **Run this task** offers: - **Local** — the main checkout. - An existing **Worktree**. - **New worktree**, with an optional **Worktree name**. **Manage worktrees** opens the workspace view with **Files**, **Changes**, and **Worktrees** tabs. For each worktree you can **Sync** (update files), **Reset** (back to its base; local commits and changes are discarded), or **Delete**. Select several to act in bulk; worktrees **In use** are skipped. **Refresh** updates status only. > [!WARNING] > **Reset** discards local commits and changes in that worktree. Check **Changes** first. ## Example Two tasks fix two bugs in the same repository. Start each with **New worktree**, so they never touch each other’s files. When the first finishes, open **Changes**, review the diff in **Split** layout, mark each file **Viewed**, then **Complete** the task and **Delete** its worktree from **Manage worktrees**. ## Questions ### How do I see which files an agent changed? Open the task panel with **Show task panel** and read **Changes**. Select a file to open the diff beside the chat. ### Why use a worktree for a Nested task? A worktree gives the task its own copy of the repository, so parallel tasks on the same repo do not overwrite each other. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Desktop and Terminal](https://nested.me/docs/desktop-terminal) - [Memories](https://nested.me/docs/memory) --- # Share, export, and runbooks > Share a task with a public read-only link, export its history as Markdown, and read the runbook — the agent’s turn-by-turn log. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/share-export Sometimes the person who needs to see a task is not on your team, or you need a record outside Nested. Share links, Markdown export, and runbooks cover those cases without giving anyone access to your agents. ## Before you start - All three live in the **Task options** (⋯) menu on an open task. ## Share a task A share link “shows the live task and its formula runs until it expires. Viewers cannot send messages or change runs.” 1. Open **Task options** and select **Share…**. 2. Set **Expires**. 3. Choose what to include: **Allow comments**, **Include subtasks**, **Include runbook**, **Include files**. 4. Select **Create link**, then **Copy link**. 5. Later, **Extend** a link to keep it alive or **Revoke** it to end it at once. A task can have up to 10 live links. Revoke one to create another. ### What viewers see The public **Shared task** page needs no sign-in. It shows the **Chat** and **Formula runs**, plus **Subtasks**, **Runbook**, and **Files** when you included them. It is read only. To **Leave a comment**, a viewer must log in or create an account; the task owner reads comments on the task. ## Export history 1. Open **Task options** and select **Export history…**. 2. Optionally turn on **Include message metadata**. 3. Select **Download Markdown** for a file, or **Copy to clipboard**. ## Runbooks A runbook is the agent’s turn-by-turn log for a task: thinking, messages, tool calls, plans, progress, and usage for each turn. Open **Task options → Runbooks** to read it. Large tool payloads load on demand. > [!TIP] > When a result looks wrong, the runbook shows exactly which tool the agent called and what came back — faster than asking the agent to explain itself. ## Example A customer asks how you fixed their bug. Select **Share…**, set it to expire in a week, include files but not the runbook, and send the link. For your incident report, select **Export history…** and paste the Markdown into the postmortem. ## Questions ### Can people without a Nested account view a shared task? Yes. The share page is public and read only until the link expires. Commenting needs an account. ### Can a viewer send messages through a share link? No. Viewers cannot send messages or change runs. ### How do I export a Nested conversation? Open **Task options → Export history…** and select **Download Markdown** or **Copy to clipboard**. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [How tasks work](https://nested.me/docs/tasks-lifecycle) - [The task panel, changes, and worktrees](https://nested.me/docs/task-panel) --- # Command palette > Press Cmd/Ctrl+K to start a task with any agent, open an agent’s settings, jump to any page, or switch teams from the keyboard. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/command-palette Once you have several agents and teams, clicking through menus slows you down. The command palette puts the common jumps one shortcut away. ## Before you start - Press **Cmd+K** (macOS) or **Ctrl+K** (Windows and Linux). You can also select **Search or jump to…** under **Shortcuts** on the home screen. ## Steps 1. Open the palette and type part of an agent’s name or a page. 2. Use the arrow keys to move. 3. On an agent, press Enter to start a **New task** with it. 4. On an agent you own, press Cmd/Ctrl+Enter to open its **Agent settings**. 5. Press Esc to close. ## What you can reach | Group | Items | | --- | --- | | **Agents** | Every agent you can use, plus **New agent** and **All agents** | | **Go to** | Chat, Overview, Timeline, Connectors, Automations, Packs, Settings | | **Teams** | Your teams; switch with the left and right arrow keys | The footer lists the keys for the current item: **Navigate**, **Open**, **New task**, **Agent settings**, **Teams**, and **Close**. ## Example You are in Settings and want to hand a bug to your `debugger` agent. Press Cmd+K, type “deb”, and press Enter. Nested opens a new task with `debugger` selected in the composer. ## Questions ### What is the keyboard shortcut for the Nested command palette? Cmd+K on macOS, Ctrl+K on Windows and Linux. ### Can I switch teams from the keyboard? Yes. Open the palette and use the left and right arrow keys on the **Teams** group. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Teams](https://nested.me/docs/teams) - [Deploy an agent](https://nested.me/docs/deploy) --- # The composer > Attach files, reuse drafts, reference other tasks, set session options, run slash commands, choose memory, and queue messages while the agent works. Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/composer The composer is more than a text box. It decides which agent and workspace a new task uses, what context the agent gets, and what happens to messages you send while the agent is still working. ## Before you start - Pick the agent and workspace in the composer’s pickers. For an open task they are **Fixed for this task**. On desktop, picks in the **Task context** popover apply as you make them; select **Done** to close it. ## Add to message Open **Add to message** (the plus) for: | Item | What it does | | --- | --- | | **Attachment** | Attach files or images to the message | | **Drafts** | Everything you type is saved automatically, per agent and task. Search, open, edit, or delete drafts — for **This task** or **All** | | **Reference tasks** | Point the agent at other tasks so it can use their context | | **Session options** | Agent-specific settings such as **Mode**; **Reset to agent defaults** undoes them | When any of these are active, the button shows how many. ## Steps 1. Type your message. Enter sends; Shift+Enter makes a new line. 2. Type `/` at the start to see **Available commands** the agent’s session offers, then pick one. 3. Choose memory with **Memory for this task**: **Default memory**, **No memory**, or **Choose memories** (up to three). See [Memories](https://nested.me/docs/memory). 4. Send. While the agent works, the composer shows **Working…** and you can still type. 5. Send again while it works: the message goes to **Queued messages** and sends after this turn. Edit or remove queued messages before they send. 6. Press Esc to stop the current turn. ## Queued messages The queue lets you think ahead without interrupting the agent. If the task ends, fails, or you stop it before the queue drains, Nested holds the messages and tells you why. Choose **Resume**, **Send as new task**, or **Discard all**. When the queue is full, wait for one to send or remove one. > [!NOTE] > Attachments upload before a queued message sends. If one is no longer available, edit the message to keep its text, or remove it. ## Drafts Unsent text survives a reload. Nested saves it as you type, as one draft per agent and task, in this browser and for your account only. Starting a second **New task** keeps the text you had as its own draft. 1. Open **Add to message → Drafts**. 2. Switch between **This task** and **All**, or use **Search drafts**. 3. Select **Open draft** to load a draft into the composer, or **Edit** to change its text in place and **Save**. 4. To clean up, select drafts and choose **Delete selected**, or **Clear all**. **Undo** brings deleted drafts back. Nested keeps your 50 most recent drafts. Files are not stored with a draft: after you open one that had attachments, re-attach the files. ## Example The agent is halfway through a refactor. You attach a screenshot of the failing page, reference yesterday’s “Login bug” task, and send — the message is queued behind the current turn. When the turn ends, the agent picks it up with both pieces of context. ## Questions ### Does Nested save unsent messages? Yes. Anything you type is saved to **Drafts** automatically, in this browser, and survives a reload. Open them from **Add to message → Drafts**. ### What happens if I send a message while the agent is working? It joins **Queued messages** and sends after the current turn. Press Esc if you want to stop the turn instead. ### How do I give an agent context from another task? Use **Add to message → Reference tasks** and pick the tasks it should read. [Open in Nested](https://app.nested.me/) ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Writing faster in chat](https://nested.me/docs/assist) - [Memories](https://nested.me/docs/memory) --- # Deploy an agent > Deploy a Nested agent: choose a base, packs, and a coding agent (Cursor, Claude Code, Kimi CLI), attach secrets, and choose who can chat with it. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/deploy An agent in Nested is a deployment: a running `cloud-agent` in your team’s Kubernetes cluster, built from a base image, extended with packs, and driven by a coding agent such as Claude Code or Cursor. The **Deploy a focused agent** wizard asks only what an agent needs to start. Cluster placement and Helm overrides stay with operators in the console. ## Before you start - Sign in and pick a team. An agent always belongs to one team. - Know which coding agent you want. Cursor needs a `CURSOR_API_KEY`; Claude Code and Kimi CLI can sign in after the agent starts. - Optional: save API keys ahead of time in **Settings → Secrets**. You can also create them inside the wizard. ## Open the wizard Use any of these entry points: - **New agent** at the end of the **Agents** group in the sidebar. On desktop it opens the wizard as a dialog. - **New agent** on the home screen when you have no agents yet. - **New agent** in the command palette (Cmd/Ctrl+K). - **Settings → Agents → New agent** (the usual path on a phone). ## Steps 1. **Choose.** Open an agent that already answers anyone (marked **Answers anyone**), or select **Create my own agent**. Opening a shared agent takes you straight to chat; the rest of the steps apply only when you create your own. 2. **Name.** Enter an **Agent name**: 3–63 lowercase letters, numbers, or dashes, starting with a letter, unique in the team. On the same step, answer **Who can chat with this agent?** with **Only me** or **Anyone signed in**. 3. **Base.** Pick the **Base agent**, the Nested catalog image the deployment is built from. Nested skips this step when the catalog has only one base. 4. **Pack.** Select zero or more **Packs**. Packs add skills, formulas, MCP servers, and tools; the agent uses each pack’s latest revision. Select **Explore** to preview a pack’s contents before you add it. You can continue without a pack. 5. **ACP.** Choose the **ACP agent**, the coding agent that runs inside the deployment (see the table below). 6. **Secrets.** Attach a saved secret to each environment variable the packs and the ACP agent declare, or select **Create a new secret** and **Save and attach**. Each secret is injected under the variable name you set, not under the secret’s own name. 7. **Confirm.** Review the summary. If your team’s cluster has Kata installed, choose the **Runtime** here (see the table below). Select **Deploy**. Nested deploys the agent onto your team’s cluster and opens it in chat when it is running. ### Runtime The **Runtime** choice appears only when the cluster offers Kata. Otherwise every agent uses the standard runtime. | Option | What it means | | --- | --- | | **Standard** (default) | Shared kernel, fastest start. Right for most agents. | | **Isolated VM** | The agent runs in its own virtual machine. Stronger isolation, but it starts slower, builds run about 1.6× slower, and it reserves its full memory limit. | > [!WARNING] > You can’t change the runtime after the agent is created. To move an agent to another runtime, create a new agent. ### ACP agents | Option | How it signs in | Notes | | --- | --- | --- | | **Cursor** | API key | Needs a `CURSOR_API_KEY` secret. Ready immediately on boot. | | **Claude Code** | Web sign-in | No key during setup. You sign in to Claude in chat after the agent starts. | | **Kimi CLI** | Device sign-in | Signs in with a device code in chat, or attach a `KIMI_API_KEY` secret to skip it. | | **Choose from registry** | Varies | Community and third-party ACP agents from the registry. | | **Manual entry** | Varies | Runs any ACP-compatible command already in the base image, with optional arguments and environment variables. | > [!TIP] > Task acceptance and secret visibility are different settings. **Only me / Anyone signed in** on the Name step controls who can chat with the agent. **Only me / Everyone** on a secret controls who can attach that secret. ## Example Create `research`, keep **Only me**, add a browsing pack, choose **Claude Code**, and attach a saved `SEARCH_API_KEY` secret. After **Deploy**, the agent appears in the sidebar **Agents** group. When it is running, a sign-in card asks you to sign in to Claude once; then start your first task. ## Questions ### Which coding agents can a Nested agent run? The wizard offers Cursor, Claude Code, and Kimi CLI, plus any ACP agent from the registry or a manual command that is installed in the base image. ### Can I deploy an agent without a pack? Yes. Packs are optional on the **Pack** step; you can attach them later in agent settings → **Packs**. ### Who can use my agent after I deploy it? With **Only me**, only you can start tasks on it. With **Anyone signed in**, everyone in the team sees it in their picker. Only you can change, stop, or delete it. ### Can a Nested agent run in its own virtual machine? Yes, when your cluster has Kata installed. Choose **Isolated VM** as the **Runtime** on the wizard’s Confirm step. The choice is fixed once the agent is created. [Open in Nested](https://app.nested.me/agents/new) ## Related - [Agent settings](https://nested.me/docs/agent-settings) - [Secrets](https://nested.me/docs/secrets) - [Agent sign-in, accounts, and auto-stop](https://nested.me/docs/agent-accounts) - [Packs](https://nested.me/docs/packs-page) --- # Agent settings > Change an agent you own: name, ACP agent, session defaults, access, packs, secrets, knowledge, runtime, automations, startup tasks, hooks, and activity. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/agent-settings Agent settings is where the owner of an agent edits it and manages its deployment. Other people can chat with a shared agent but see “You can chat with this agent, but only its owner can change settings.” ## Before you start - You must own the agent. - Open settings from any of these places: **Settings for {name}** on the agent’s row in the sidebar **Agents** group, **Agent settings** in the composer’s agent picker, **Agent settings** in the task panel’s **Agent** section, the agent’s row in **Settings → Agents**, or Cmd/Ctrl+Enter on the agent in the command palette. ## Sections The settings rail lists these sections. **Startup tasks**, **Lifecycle hooks**, and **Activity** sit under **Advanced**. | Section | What you change | | --- | --- | | **Agent** | Name, **ACP agent** (takes effect on redeploy), **Session defaults** for every new task, **Access** (“Who can send tasks”: Only me or Anyone signed in), **Resource usage**, and **Delete agent**. | | **Packs** | Attach or remove packs from the catalog. **Explore** previews a pack. Each attached pack shows whether its required secrets are attached. | | **Secrets** | Variables the packs declare, marked **Required** or **Optional**, with **Attach secret** or **Change secret**. Add extra variables that no pack declares. | | **Knowledge** | Shared knowledge centers the agent can read or write. See [Shared knowledge centers](https://nested.me/docs/knowledge). | | **Runtime** | Status plus **Start**, **Stop**, **Deploy**, and **Undeploy**. An **Isolated VM** badge marks an agent that runs in its own virtual machine. Also the **Accounts** card for vendor sign-ins. See [Agent sign-in and accounts](https://nested.me/docs/agent-accounts). | | **Automations** | This agent’s automations, **New automation**, and links to the raw bindings: Schedules, Webhooks, Slack, and GitHub. | | **Startup tasks** | Messages that run each time the agent process starts. See [Startup tasks and lifecycle hooks](https://nested.me/docs/startup-hooks). | | **Lifecycle hooks** | Shell or HTTP callbacks before and after sessions and prompts. | | **Activity** | **Timeline** of lifecycle events, **Metrics** (turns, tokens), and the agent’s day, week, and month **Reports**. | ## Steps 1. Open the agent’s settings and select a section. 2. Make your change. A save bar shows **Unsaved changes**, or **Unsaved · this change restarts the agent** when the change needs a restart. 3. Select **Save & redeploy** to apply the change now, **Save only** to apply it on the next deploy, or **Discard**. 4. Watch the status line. If a task is still running, Nested does not restart the agent and tells you the change was not applied; try again when the work finishes. > [!WARNING] > **Delete agent** undeploys the agent and removes it from your list. Its workspaces and tasks are no longer available. ## Example Rename `research` to `briefing`, switch **Access** to **Only me**, and select **Save only**. Later, on **Runtime**, select **Stop** to free the cluster overnight and **Start** in the morning. ## Questions ### Why can’t I open settings for an agent I use every day? Only the agent’s owner can change its settings. A shared agent you did not create is chat-only for you. ### What is the difference between Stop and Undeploy? **Stop** scales the running agent down and keeps its deployment, so **Start** brings it back. **Undeploy** removes the deployment; you can **Deploy** it again later. [Open in Nested](https://app.nested.me/settings/agents) ## Related - [Deploy an agent](https://nested.me/docs/deploy) - [Shared knowledge centers](https://nested.me/docs/knowledge) - [Agent sign-in, accounts, and auto-stop](https://nested.me/docs/agent-accounts) - [Startup tasks and lifecycle hooks](https://nested.me/docs/startup-hooks) --- # Shared knowledge centers > Attach shared knowledge centers to an agent so it can read or update your docs, runbooks, or team wiki during tasks, with read-only or read-and-write access. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/knowledge A knowledge center is a store of pages an agent can search and read during tasks. Shared centers belong to the team, not to one agent: attach the same center to several agents and they all work from one source, without copying files between them. Your [memories](https://nested.me/docs/memory) are different — they belong to you and follow you to any agent. ## Before you start - Own the agent, and open its settings → **Knowledge**. - Have a center to attach. **Nested Platform**, the built-in platform docs, is **Always granted** and cannot be removed. ## Steps 1. Under **Attach a center**, use **Search knowledge centers** to find the center you need, then select **Add**. 2. Set **Access** on each attached center. **Read & write** lets the agent add and update pages during tasks; **Read only** is safer for reference material such as policies or runbooks. 3. Select **Remove** when the agent should stop using a center. > [!NOTE] > Memories are not attached here. You choose memories per task, automation, or schedule. See [Memories](https://nested.me/docs/memory). ## Example Attach “Team runbooks” as **Read only** and “Customer notes” as **Read & write**. The agent answers from the runbooks and files new findings into customer notes on its own. ## Questions ### What is the difference between a knowledge center and a memory? A shared knowledge center is attached to an agent and shared by everyone who uses it. A memory belongs to you and is chosen per task, so it follows you across agents. ### Can an agent change a read-only center? No. With **Read only**, the agent can search and read the center but cannot write pages to it. [Open in Nested](https://app.nested.me/settings/agents) ## Related - [Memories](https://nested.me/docs/memory) - [Agent settings](https://nested.me/docs/agent-settings) - [Glossary](https://nested.me/docs/concepts) --- # Memories > Memories hold what your agents learn about you and your work. Create, search, edit, restore, and reorganize them, and choose which tasks use them. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/memory A memory is yours inside a team. Every agent you work with can read it and add what it learns — your preferences, notes about its environment, lessons, and a logbook — so the next task starts where the last one left off, on any agent. Only you can see and edit your memories. ## Before you start - Open **Settings → Memories**. You start with one default memory. Create more with **New memory** to keep areas of work apart. ## Steps 1. Select **Open** on a memory to browse its pages, search them, and edit them. Each page has a **History**; select **Restore this version** to bring an earlier version back. A restore writes a new version, so history is kept. 2. In the memory’s **Settings**, choose how new work uses it. **Attach to new tasks by default** selects this memory for new tasks. **Default access** is **Read and write** or **Read only**. **Save lessons automatically** lets agents add what they learn when a task ends; turn it off to stop automatic writes. 3. Choose memories per piece of work. In the composer, an automation, a schedule, a webhook, or a Slack or GitHub binding, pick **Default memory**, **No memory**, or **Choose memories** (up to three). Formula steps keep the memories of the task or automation that started them. 4. To clean up, select **Reorganize**. One of your agents — pick it or leave **Automatic (most recently active)** — reads the memory and proposes merges, conflict fixes, and condensed logbook entries. Nothing changes until you review the preview and **Apply**. 5. Use **Search your memories** to find words across **All memories** or one memory. 6. **Reset memory** removes every page you and your agents added. **Delete memory** removes the memory. Both ask first and cannot be undone. You cannot delete your last memory. > [!TIP] > Reorganize needs one of your agents to be running in the team. Start an agent first if Nested says no agent is available. ## Example An agent keeps citing an old product name. Search your memories for the old name, edit the page, and later open the page’s **History** to confirm no task added it back. ## Questions ### Can other people in my team read my memories? No. Memories are personal: only you can see and edit them, and agents read them only for the tasks you run. ### How do I stop agents from writing to my memory? Turn off **Save lessons automatically**, set **Default access** to **Read only**, or choose **No memory** for a specific task. ### Does Reorganize change my memory right away? No. It shows a preview of proposed changes. Nothing changes until you select **Apply**. [Open in Nested](https://app.nested.me/settings/memories) ## Related - [Shared knowledge centers](https://nested.me/docs/knowledge) - [Agent settings](https://nested.me/docs/agent-settings) - [The composer](https://nested.me/docs/composer) --- # Desktop and Terminal > Open an agent’s graphical desktop or a shell on its machine to watch work, verify results, or finish a sign-in, from the task panel or Settings → Agents. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/desktop-terminal Each agent runs on its own machine in your cluster. Desktop shows that machine’s graphical session; Terminal opens a shell on it. Use them when watching or running a command is faster than reading a chat summary — for example, to confirm a tool is installed or to finish a sign-in that needs a browser. ## Before you start - The agent must be running. Until it is, Nested shows: “This agent is not running yet. Desktop and Terminal open when the deployment is ready.” ## Steps 1. Open Desktop or Terminal from the task panel’s **Session** section (on desktop, each view opens as a tab beside **Chat**; select **Connect** to start it), from **Settings → Agents → More actions** (**Open the desktop of {name}** or **Open the terminal of {name}**), or with **Open Desktop** on a sign-in card when the vendor login needs a browser. 2. In the full-screen session view, switch between **Desktop** and **Terminal** with the tabs. 3. Select **Back to chat** to return, or **Close session** to end it. > [!NOTE] > An agent allows a limited number of open sessions. If Nested says too many are open, close one and try again. ## Example The agent says it installed a CLI. Open **Terminal** from the task panel and run the CLI’s version command to confirm before you continue the task. ## Questions ### Why are Desktop and Terminal disabled? The agent is not running yet, or it stopped. Start it, wait until it is ready, and the buttons become available. ## Related - [Agent sign-in, accounts, and auto-stop](https://nested.me/docs/agent-accounts) - [The task panel, changes, and worktrees](https://nested.me/docs/task-panel) - [Site logins](https://nested.me/docs/site-logins) --- # Agent sign-in, accounts, and auto-stop > Sign an agent in to its coding vendor, keep several vendor accounts and switch between them, and restart an agent that stopped after a quiet period. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/agent-accounts Some coding agents, such as Claude Code and Kimi CLI, sign in to their vendor after the agent starts. Nested shows the sign-in in chat, keeps the login on the agent, and lets the owner hold several vendor accounts. Separately, an idle agent can stop on its own to free cluster resources. ## Sign the agent in When an agent needs a vendor login, chat shows **Sign in to use this agent** (“This agent can’t start work until it’s signed in.”). 1. Select **Sign in**. 2. Select **Open sign-in page**, or **Copy link** to open it elsewhere, and approve access. 3. If the page shows a code, paste it into **Code from the sign-in page** and select **Continue**. Some vendors update on their own once you approve. 4. If the vendor needs a browser on the agent’s machine, Nested shows **Open Desktop** so you can finish there. > [!NOTE] > Anyone with access to the agent uses the same vendor login. If the agent needs an API key instead, add it to the agent’s secrets and restart the agent. ## Manage several accounts The owner manages logins in agent settings → **Runtime** → **Accounts**. One account is **Active** at a time. 1. Select **Add account**, give it a name such as “Work”, select **Sign in**, and finish the vendor sign-in. The current account stays active until you switch. 2. Select **Switch** on another account. If turns are running, choose **Wait for it to finish** (nothing is interrupted; new messages wait until the switch is done) or **Switch now** (running turns stop; their tasks stay open, and the next message continues on the new account). 3. Use **Rename**, **Sign in again**, or **Remove**. When you remove the active account, choose the account to switch to, or **Sign the agent out**. If the new account cannot sign in, Nested keeps the previous account active and tells you. ## When an agent stops after a quiet period To free resources, an agent stops after a quiet period with no work — ten minutes by default. Chat then shows **This agent is stopped** — “It stopped after a quiet period to free resources. Start it to continue.” 1. Select **Start agent**. 2. Wait for **Starting the agent…**. This can take a few minutes. You can send messages once it is ready. An agent that was stopped by hand shows “It was stopped by hand” instead; **Start agent** works the same way. ## Example Your team shares a Claude Code agent. Its owner adds a second account named “Overflow”. When the first account hits a limit, the owner selects **Switch**, chooses **Wait for it to finish**, and new tasks continue on “Overflow”. ## Questions ### Does everyone need to sign in to a shared agent? No. The vendor login lives on the agent, so everyone who uses it shares the same login. ### Why did my agent stop by itself? It stopped after a quiet period to free cluster resources. Select **Start agent** to bring it back; your tasks and workspaces are kept. ## Related - [Deploy an agent](https://nested.me/docs/deploy) - [Agent settings](https://nested.me/docs/agent-settings) - [Agent runtime](https://nested.me/docs/agent-runtime) --- # Startup tasks and lifecycle hooks > Run messages every time an agent starts, and call shell scripts or HTTP endpoints before and after each session or prompt with lifecycle hooks. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/startup-hooks Two advanced settings let an owner run work around an agent’s life. **Startup tasks** send messages each time the agent process starts. **Lifecycle hooks** run a shell script or an HTTP callback at session and prompt boundaries. ## Before you start - Own the agent and open its settings → **Advanced**. ## Startup tasks Use startup tasks to warm an agent up: clone a repository, refresh a cache, or check that its tools work. 1. Open **Startup tasks** and select **Add task**. 2. Enter a unique **Display name** and the **Message**, a markdown prompt sent to the agent on startup. 3. Choose the **Run mode**: **Background (non-blocking)** or **Foreground (blocking)**. 4. Order tasks with **Move up** and **Move down**, then select **Save tasks**. Changes apply on the next restart of the agent’s pod. All startup tasks together must stay under 256 KiB. Tasks they create appear in the task list under the **Startup** kind. ## Lifecycle hooks 1. Open **Lifecycle hooks** and select **Add hook stage**. 2. Pick the **Stage**: **Before session**, **After session**, **Before prompt**, or **After prompt**. 3. Pick the **Type**. A **Shell script** runs inside the agent’s sandbox, with optional environment variables (`KEY=value`, one per line). An **HTTP callback** calls an **HTTP URL** with an **HTTP method** and optional headers (`Header: Value`, one per line). 4. Set **On failure** to **Continue session** or **Fail session**, and an optional **Timeout** such as `30s` or `5m`. 5. Select **Save hooks**. > [!WARNING] > **Fail session** stops the session when the hook fails. Use it only for checks that must pass, such as a policy gate. ## Example Add a foreground startup task named “Sync repo” with the message “Pull the latest main branch of acme/app and run the test suite once.” Add an **After prompt** HTTP callback to your audit service with **Continue session** on failure. ## Questions ### When do startup task changes take effect? On the next restart of the agent’s pod, for example after **Save & redeploy** or a **Stop** and **Start**. ## Related - [Agent settings](https://nested.me/docs/agent-settings) - [Automations](https://nested.me/docs/automations) - [Agent runtime](https://nested.me/docs/agent-runtime) --- # Site logins > Save website sign-ins your agents can use, including authenticator keys for two-step codes, and choose which agents may sign in without asking you. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/site-logins Agents sometimes need to sign in to a website — a dashboard, a vendor portal, an admin console. Site logins store those credentials encrypted, so an agent can sign in without you pasting a password into chat. Passwords are never shown again after you save them. ## Before you start - Open **Site logins** from the account menu, or **Settings → Site logins**. ## Steps 1. Select **New login**. 2. Enter a **Name** (for example “Work GitHub”) and the **Site**, the address of the sign-in page. A subdomain such as `accounts.example.com` limits the login to that host. 3. Under **Sign in with**, add a **Username**, an **Email**, or a **Phone** with its country code. Use **Add another way to sign in** for sites that accept more than one. 4. Enter the **Password**. 5. Optional: add the **Authenticator key**, the setup key from the site’s two-step settings. Agents use it to make sign-in codes. 6. Optional: set **Preferred sign-in** and **Second step** (**Password** or **SMS or app code**) for sites that offer a choice. 7. Select **Save login**. 8. Under **Unattended sign-in**, turn on **Allow {name} to sign in unattended** for each agent that may use the login without asking you first. ## When an agent asks in chat If an agent reaches a sign-in page without an unattended grant, chat shows a sign-in card marked **Needs you**. Depending on the site, you can save the login, choose an account, enter a one-time code, approve a prompt on your phone, or solve a challenge. Check **Allow this deployment to sign in next time** to grant it for later. Use **Disable**, **Enable**, **Edit**, or **Delete** on a saved login. Deleting removes the saved password and authenticator key. ## Example Save “Staging admin” for `admin.staging.example.com` with an authenticator key, then allow only your QA agent to sign in unattended. The QA agent signs in during nightly checks; other agents still ask you first. ## Questions ### Can I see a saved password again? No. Passwords and authenticator keys are stored encrypted and never shown after you save. To change one, edit the login and enter a new value. ### Can every agent use my site logins? Only agents you allow under **Unattended sign-in** use a login on their own. Other agents ask you in chat first. [Open in Nested](https://app.nested.me/settings/site-logins) ## Related - [Desktop and Terminal](https://nested.me/docs/desktop-terminal) - [Secrets](https://nested.me/docs/secrets) - [Security model](https://nested.me/docs/security) --- # Environments > See the short-lived machines your agents create to run code, open their preview links, and keep, extend, or destroy them from a task or the Environments page. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/environments ![The log viewer of an environment](https://nested.me/screens/environment-logs-light.webp "The log viewer of an environment.") When a task needs a machine to run an app — to build it, deploy it, and give you a link to try — an agent can create an environment: a short-lived machine with the app running on it. The **Environments** page lists those machines so you can open them, keep them longer, or clean them up. ## Before you start - Environments must be turned on for your team. When they are, **Environments** appears in the account menu. If they are off, the page says “Environments are off for this team.” - Team limits, such as the maximum lifetime, are shown read-only in **Settings → Team**. ## Steps 1. Open **Environments** from the account menu. 2. Filter with **Whose environments** (**All** or **Mine**) and **Live or ended** (**Live** or **Ended**). 3. Read each row: its state (for example **Creating**, **Starting**, **Ready**, **Failed**), who created it, and when it **Expires**. Rows created by an agent link to the task with **Created by an agent. Open the task**. 4. Open **Preview links** to try the running app in a new tab. 5. Select **Extend** and pick **1 hour more**, **4 hours more**, or **1 day more**. An extension stops at the team limit. 6. Select **Destroy** to delete the machine now. Preview links stop working, and you cannot undo it. Turn on **Auto-refresh** to keep the list current while an environment starts. ## From a task A task’s own environments also appear in its [task panel](https://nested.me/docs/task-panel), in the **Environments** section (on a phone, the **Environments** page of **Task details**). While a task has one, the task header shows a mark with the count; select it to open the section. Each row shows the environment’s state, its time left, and links to its running apps (**Open {name}**). An environment an agent creates for a task ends with that task by default. After the task closes, the row reads **Task closed** with the time left. To keep it past the task, select **Keep this environment**; it becomes yours and follows its own lifetime. A team limits how many kept environments each person can have. Select **Destroy…** to remove it now, or **Manage in Environments** to open the full page. ## Example A task asks the agent to “deploy this branch and give me a link.” The agent creates an environment and posts the preview link in chat. You review it, select **Extend → 4 hours more** so a teammate can look, and **Destroy** it when the review is done. ## Questions ### What happens when an environment expires? It ends and its machine is removed. It moves to the **Ended** list, and its preview links stop working. ### Who can extend or destroy an environment? You can change the environments you are allowed to manage, such as ones you or your agents created. The page shows the actions available to you. [Open in Nested](https://app.nested.me/environments) ## Related - [Architecture](https://nested.me/docs/architecture) - [Agent runtime](https://nested.me/docs/agent-runtime) - [Desktop and Terminal](https://nested.me/docs/desktop-terminal) --- # Packs > Browse your packs, your team’s packs, and the global catalog. Copy catalog packs, change visibility, review revisions, and attach packs to agents. Section: Your agents · Updated: 2026-11-19 · Canonical: https://nested.me/docs/packs-page ![The Packs page](https://nested.me/screens/packs-light.webp "The Packs page.") A pack is a portable bundle of capabilities for an agent: skills, subagents, formulas, MCP servers, guides, memory, setup scripts, and services. The **Packs** page is where you find, share, and manage them. ## Before you start - Open **Packs** from the account menu or the command palette. ## Tabs | Tab | What it shows | | --- | --- | | **Mine** | Packs you created. Edit them in the builder, change who can see them, or delete them. | | **Team** | Packs your teammates shared with the team. Read-only; only the owner can edit. | | **Catalog** | Global packs other teams published. Copy one to give your team its own private snapshot. | ## Steps 1. Search by name or description. 2. On a catalog pack, select **Copy to my team**. The copy is private until you change its visibility, and later edits to the original do not change your copy. 3. On a pack you own, set **Visibility** to **Private**, **Team**, or **Global**. 4. Select **Revisions** to see every upload. Each upload is a revision, marked **Verifying**, **Available**, or **Failed**. Deployments use the latest available revision. 5. Select **Pack builder** to create or edit a pack. See [Pack builder](https://nested.me/docs/pack-builder). 6. To use a pack, open an agent’s settings → **Packs**, find it under **Catalog**, and select **Add**. Then attach any secrets it requires under **Secrets**. > [!NOTE] > Deleting a pack removes it and its revisions from the team. Agents that already use it keep their current revision until they are redeployed. ## Example Copy a “Postgres operations” pack from the catalog, keep it **Private** while you test it on one agent, then set it to **Team** so teammates can attach it. ## Questions ### Does copying a catalog pack keep it in sync with the original? No. A copy is a snapshot. Later edits to the original do not change your copy. ### Which revision does my agent use? Deployments use the latest available revision of each attached pack, picked up when the agent is deployed or redeployed. [Open in Nested](https://app.nested.me/packs) ## Related - [Pack builder](https://nested.me/docs/pack-builder) - [Packs](https://nested.me/docs/packs) - [Deploy an agent](https://nested.me/docs/deploy) --- # Automations > Run a Nested agent on a schedule or when something happens in GitHub, Slack, Sentry, or a webhook. Every run opens a task and lands in the automation’s history. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/automations ![The Automations page with a list of automations](https://nested.me/screens/automations-light.webp "The Automations page.") Recurring and event-driven work should not depend on you remembering to open a thread. An automation is one named thing: **When** a trigger fires, the agent **Do**es what you wrote, in a new task with the automation’s name. Every run lands in the automation’s **History**. ## Before you start - Have an agent you can assign. The agent picker lists your agents that accept tasks **Only me**; agents set to **Anyone signed in** cannot be picked. With none, the form shows **Deploy an agent first**. The agent does not need to be running to save. - Open **Automations** from the account menu (desktop) or the **Automations** tab (phone). - For GitHub or Slack triggers, connect the service on the **Integrations** card of the Automations page first. See [GitHub](https://nested.me/docs/github) and [Slack bots](https://nested.me/docs/bots). ## Steps 1. Select **New automation**, or **Start from a template** to begin from a prepared form. 2. Pick the **Agent** and enter a **Name**. Each run opens a task with this name. 3. Under **When**, add one or more triggers (see the table below). 4. Under **Do**, choose **Instructions** (markdown) or a **Formula** from the agent’s packs. The trigger’s event payload — for GitHub, the webhook JSON — is appended to instructions. For a formula, fill its **Variables**; a value you leave empty is filled from the trigger event when the formula declares a matching input. 5. Set any optional settings (listed below). 6. Select **Save and turn on**, or **Save as paused** to turn it on later. Optional settings: - **Session options** apply to every task this automation starts. They appear once the agent is running. - **Memory** chooses which of your memories the runs use. - **Mark task complete when the agent finishes** — turn it on for digests and chores. - **While it runs** lets the agent read recent messages in one Slack channel. - **When it finishes** posts the agent’s final message to a Slack channel, or comments with **Comment on the pull request** when a pull request started the run. ### Triggers | Trigger | What you set | When it fires | | --- | --- | --- | | **Schedule** | **On weekdays** (Days, Time, optional Day of month; quick **Every day** or **Weekdays**) or **On an interval** (every N minutes, hours, or days), plus **Timezone** | On the schedule. Schedules carry no payload. | | **GitHub** | **Organization**, **Repository**, one or more **When** presets, optional **Mentions**, optional **Acknowledge comments** reaction | On matching repository events. | | **Slack** | **Slack workspace**, **Channel** (or **Any channel**), **Events**: **App mention**, **New message in channel** (optionally **Only if the message contains** a word), or **Emoji reaction** | On matching Slack events. | | **Webhook** | **Method** and optional **Path slugs** | When something calls the URL Nested shows after you save, with the one-time HMAC secret. | | **Run now** | Nothing | Only when you select **Run now**. | | Provider (for example **Sentry**) | The provider’s fields and **Start when** presets | On the provider’s events. See [Sentry](https://nested.me/docs/sentry). | ## Manage an automation On the automation’s page you can switch it **On** or **Paused**, select **Run now**, edit it, or **Delete** it (its history goes with it). **History** lists each run with its status (**Running**, **Succeeded**, **Failed**, **Skipped**), **Open task** or **Open run**, **Repeat**, and **Payload** to inspect the trigger data. > [!TIP] > The automations list filters by agent with **All agents** or one agent, and shows each automation’s **When** and **Last run**. An agent’s own automations also appear in its settings → **Automations**. ## Example When a pull request opens in `acme/app`, run the code-review agent with the instructions “Review for bugs and comment only when you find something real.” Turn on **Comment on the pull request**. Nested starts a task per pull request, the agent comments, and each run appears in **History** with its payload. ## Questions ### Why can’t I pick my agent in an automation? Automations can only use agents that accept tasks **Only me**. Agents set to **Anyone signed in** are not assignable. ### Does the agent see the event that triggered it? Yes. For instructions, the event payload is appended to your text. For a formula, empty variables are filled from the event. Schedules carry no payload. ### Can one automation have several triggers? Yes. Add more than one trigger under **When**; any of them starts a run. [Open in Nested](https://app.nested.me/automations) ## Related - [Scheduled tasks](https://nested.me/docs/schedules) - [Webhooks](https://nested.me/docs/webhooks) - [GitHub](https://nested.me/docs/github) - [Formula runs in chat](https://nested.me/docs/formulas) --- # Scheduled tasks > Have a Nested agent start a prompt on chosen days and times or at a repeating interval, in a workspace you choose, with pause, run now, and history. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/schedules A schedule is a named cadence plus a prompt — the simplest way to have an agent work on time. You can create one as a **Schedule** trigger in [Automations](https://nested.me/docs/automations), which most people should use, or as a raw schedule binding on one agent, described here. ## Before you start - Own the agent. Open its settings → **Automations**, then **Schedules** under the raw bindings. ## Steps 1. Select **Create**. The **Schedule work** form opens. 2. Enter a **Name** and the **Prompt**. 3. Pick a **Workspace**, or select **Create new workspace**. Each run lands in this workspace. 4. Set the **Timezone**. 5. Under **When**, choose **Days and time** (Days of week, Time of day, and an optional Day of month) or **Every interval** (Minutes, Hours, or Days). 6. Optionally pick memories for the runs, then select **Save**. On the schedule’s page, select **Pause** or **Resume**, **Run now**, or **Delete**. **History** lists runs; select **Open in chat** to open a run’s task. ## Example Every weekday at 09:00 Europe/Berlin, start “Summarize overnight GitHub activity for acme/app” in the Launch workspace. ## Questions ### Should I use a schedule binding or an automation? Use an automation with a **Schedule** trigger for new work: it adds formulas, Slack posting, and run history in one place. Schedule bindings remain for agent-level setups. [Open in Nested](https://app.nested.me/automations) ## Related - [Automations](https://nested.me/docs/automations) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) --- # Webhooks > Turn inbound HTTP requests into Nested tasks: route, HMAC or token verification, Go-template task bodies with .JSON fields, deliveries, and redelivery. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/webhooks Systems that are not Nested still need to start work. A webhook is an ingress URL on your Nested installation. When something calls it, Nested verifies the request, renders a task from it with a Go template, and starts that task on an agent. You can create a webhook as a **Webhook** trigger in [Automations](https://nested.me/docs/automations), or as a raw hook on one agent from its settings → **Automations** → **Webhooks**. The raw hook wizard is described here. ## Before you start - Own the agent you want the tasks to go to. - Decide how callers will authenticate. Use HMAC when the caller can sign the body. ## Steps 1. Select **Create hook** and enter a **Hook name**. 2. **Deployment**: choose the agent that receives the tasks. Nested skips this step inside an agent’s settings. You cannot change the target later. 3. **Route**: pick the **HTTP method** (or **Any method**), the **Deploy key** (the first path segment; use a fixed name for stable URLs), and 0–3 **Path segments**, which can be literal or `{param}` placeholders. Check the **Ingress URL preview**. 4. **Verification**: choose a mode (see below). 5. **Task**: enter the task name, pick a workspace — or leave it unspecified to create one from the event — and write the message body. Use **Simple mapping** or **Advanced template**. 6. **Secret**: copy the secret now. It is never shown again. The ingress URL has this shape: ```text https:///hooks/g/// ``` ### Verification modes | Mode | How callers authenticate | | --- | --- | | **HMAC signature** (Recommended) | Send `X-Hook-Signature` with the hex HMAC-SHA256 of the raw body, computed with the hook secret. A `sha256=` prefix is accepted. | | **Bearer token** | Send the secret as `Authorization: Bearer `. The `X-Hook-Token` header and the `secret` query parameter also work. | | **None (insecure)** | Anyone who knows the URL can start tasks. You must type the hook name to confirm. | ```bash BODY='{"id":"inv_42","total":100}' SIG=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$HOOK_SECRET" | cut -d' ' -f2) curl -X POST "https:///hooks/g/billing/invoice" \ -H "Content-Type: application/json" \ -H "X-Hook-Signature: sha256=$SIG" \ -d "$BODY" ``` ## Template fields The task template is a Go `text/template`. These fields are available: | Field | Value | | --- | --- | | `.Method` | HTTP method (`GET`, `POST`, …) | | `.Path` | Full request path | | `.Route` | Matched route form, such as `/hooks/g/billing/{env}` | | `.PathParams` | Map of `{param}` values from the path | | `.Query` | First value of each query parameter | | `.QueryAll` | All values of each query parameter | | `.Headers` | Request headers | | `.ContentType` | `Content-Type` header | | `.Body` | Raw request body as a string | | `.JSON` | Parsed body when the content type is JSON; empty otherwise | | `.Provider` | `generic`, `slack`, or `github` | | `.EventType` | Provider event type, such as the GitHub event name; empty for generic hooks | | `.DeliveryID` | Nested’s internal delivery id | > [!WARNING] > Fields from a JSON body live under `.JSON`. Write `{{ .JSON.id }}` or `{{ dig .JSON "id" }}`; a bare `{{ .id }}` renders nothing. Functions include `dig` (nested lookup, for example `{{ dig .JSON "comment" "body" }}`), `default`, `coalesce`, `lower`, `upper`, `replace`, `toJSON`, `parseJSON`, `quote`, `b64enc`, and `b64dec`. In the hook’s template editor, **Presets** load starting templates (Generic JSON, Slack mention, GitHub push, GitHub pull request), **Input reference** inserts fields, and **Test render** previews the result without creating a task. ## Deliveries On the hook’s detail page, **View deliveries** lists recent events with their status: **Received**, **Dispatched**, **Render failed**, **Dispatch failed**, **Unrouted**, or **Duplicate**. Open one to see the request, body, rendered envelope, and tasks, and select **Redeliver** to create a new task from the same event. **Rotate secret** replaces the secret; the old one stops working immediately. ## Example A billing system POSTs `{"id":"inv_42","total":100}`. With the task name `Invoice {{ .JSON.id }}` and the body `Check invoice {{ .JSON.id }} for {{ .JSON.total }} EUR against the ledger.`, Nested starts a task named “Invoice inv_42”. ## Questions ### Why does my template render an empty value? JSON fields live under `.JSON`. Use `{{ .JSON.field }}` or `{{ dig .JSON "a" "b" }}` instead of `{{ .field }}`. ### I lost the webhook secret. Can I see it again? No. Secrets are shown once. Select **Rotate secret** to issue a new one; the old secret stops working immediately. ### Can I replay a webhook delivery? Yes. Open the delivery under **View deliveries** and select **Redeliver**. Nested creates a new task from the same event. [Open in Nested](https://app.nested.me/automations) ## Related - [Automations](https://nested.me/docs/automations) - [GitHub](https://nested.me/docs/github) - [Security model](https://nested.me/docs/security) --- # GitHub > Connect the Nested GitHub App, then start agent tasks from pull requests, reviews, comments, pushes, and CI with automations or raw repository bindings. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/github Nested listens to GitHub through the Nested GitHub App. Most people start work from GitHub with a **GitHub** trigger in [Automations](https://nested.me/docs/automations), which turns GitHub’s many event types into plain presets. Raw repository bindings remain for agent-level setups. ## Before you start - Open **Automations** and use the **Integrations** card: **Connect** your GitHub identity, then **Add organization** to install the Nested GitHub App on an organization you can see. - The **GitHub connector** on the Connectors page is a separate thing: agents use it to work with repositories, for example in a repository workspace. Automations do not need it. ## Start work with an automation 1. Create an automation and add a **GitHub** trigger. 2. Pick the **Organization** and **Repository**. 3. Under **When**, select one or more presets (see the table). 4. Optional: add **Mentions**, GitHub logins without `@` or `[bot]`. The run then starts only when one of them is @mentioned, requested as a reviewer, or assigned. 5. Optional: set **Acknowledge comments** to a reaction Nested adds right away to a pull request comment that starts a run. 6. Optional: under **When it finishes**, turn on **Comment on the pull request**. | Preset | Fires when | | --- | --- | | **Pull request opened** | A pull request is opened or marked ready for review. | | **Pull request updated** | New commits land on an open pull request. | | **Review requested** | Someone is requested as a reviewer or assigned. With **Mentions** set, only when one of those logins is requested or assigned. | | **Pull request merged** | A pull request is merged. Closing a pull request without merging does not fire it. | | **Push to a branch** | Someone pushes to a branch. | | **Comment on a pull request** | A new comment on a pull request or in a review thread. Comments on plain issues do not fire it. | | **Review submitted** | A pull request review is submitted. | | **Review thread** | Someone comments on a line in a review. | | **CI finished** | A check suite or workflow run completes, whatever its conclusion. | | **Workflow run finished** | A GitHub Actions workflow run completes, whatever its conclusion. | | **Issue opened** | A new issue is opened. | | **Label added** | A label is added to a pull request. | The webhook JSON is appended to the agent’s instructions, so the agent sees the pull request, comment, or run that started it. ## Raw repository bindings From an agent’s settings → **Automations** → **GitHub**, select **Add binding** and walk the steps: **Organization**, **Repository** (or all repositories in the organization), **Events** — raw GitHub events such as Push, Pull request, Issues, Issue comment, Release, Pull request review, Review comment, Check suite, and Workflow run — optional **Only these changes** (actions such as `opened, synchronize`), optional **Mentions / special users**, and the **Task** template. Repository-level bindings win over organization-level ones when both match. Remove a binding when the repository should stop creating tasks. ## Example Create an automation on your review agent: **Pull request opened** and **Comment on a pull request** on `acme/app`, **Mentions** `nested-bot`, **Acknowledge comments** with 👀, and **Comment on the pull request** on finish. When someone writes “@nested-bot please review”, the comment gets 👀, a task starts, and the agent comments back when it is done. ## Questions ### Do I need the GitHub connector for GitHub automations? No. Automations use the Nested GitHub App from the **Integrations** card. The GitHub connector is for agents that work with repositories on your behalf. ### How do I stop every comment from starting a task? Add **Mentions**. The automation then runs only when one of those logins is @mentioned, requested as a reviewer, or assigned. [Open in Nested](https://app.nested.me/automations) ## Related - [Automations](https://nested.me/docs/automations) - [Webhooks](https://nested.me/docs/webhooks) - [Connectors](https://nested.me/docs/connectors) --- # Slack bots > Connect a Slack workspace to Nested, start agent tasks from mentions, channel messages, or emoji reactions, and post the agent’s answer back to Slack. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/bots Some work starts in Slack. Connecting a Slack workspace lets an agent take requests from channels as Nested tasks and reply in the thread, instead of running a separate bot. Use a **Slack** trigger in [Automations](https://nested.me/docs/automations) for most setups; raw channel bindings remain for agent-level routing. ## Before you start - Have permission to install apps in the Slack workspace. - Open **Automations** and use the **Integrations** card to connect Slack, or **Add workspace** on the Slack bots page. A Slack workspace can be connected to only one Nested team. Enterprise Grid org-wide installs are not supported. - Invite the Nested bot to each channel it should hear. ## Start work with an automation 1. Create an automation and add a **Slack** trigger. 2. Pick the **Slack workspace** and a **Channel**, or **Any channel**. 3. Pick **Events**: **App mention** (the Nested bot is mentioned), **New message in channel** (optionally **Only if the message contains** a word), or **Emoji reaction** with the emoji’s Slack name, such as `eyes`. 4. Optional: turn on **Reply in thread** to post the agent’s completion on the originating thread. 5. Optional: under **While it runs**, let the agent read recent messages in one channel; under **When it finishes**, post the final message to a channel. ## Raw channel bindings From an agent’s settings → **Automations** → **Slack**, open the **Slack bots** page. **Channel bindings** map channels to agents; **All other channels** is the catch-all for unbound channels. Select **Add binding**, choose the channel and agent, enter **Events** as comma-separated Slack event types (default `app_mention`), and turn **Reply in thread** on or off. Delete a binding to stop a channel from creating tasks. ## Example Bind `#launch-help` to your support agent with **App mention** and **Reply in thread**. A teammate writes “@Nested what changed in the last release?”; a task starts in Nested and the agent’s answer lands in the thread. ## Questions ### Why doesn’t the bot react to messages in my channel? Invite the Nested bot to the channel. Events fire only in channels the bot is in. ### Can I connect the same Slack workspace to two Nested teams? No. An owner or admin of the team that already has it must disconnect it first. [Open in Nested](https://app.nested.me/automations) ## Related - [Automations](https://nested.me/docs/automations) - [Connectors](https://nested.me/docs/connectors) --- # Sentry > Connect a Sentry Internal Integration so new Sentry issues and events start Nested agent tasks, with signed webhooks and issue comments. Section: Automations · Updated: 2026-11-19 · Canonical: https://nested.me/docs/sentry Sentry is a provider trigger: connect your Sentry organization once, and automations can start an agent when Sentry reports an event, so triage begins before anyone opens the issue. ## Before you start - In Sentry, create an Internal Integration. Note its installation UUID and client secret, and create an auth token with `project:read` (so Nested can list projects) and `event:write` (so it can post issue comments). ## Steps 1. Create an automation and add the **Sentry** trigger. 2. Select **Connect Sentry** and enter the **Organization slug** (for example `acme` from `sentry.io/organizations/acme/`), **Installation UUID**, **Client secret**, and **Auth token**. 3. Nested verifies the token and shows a **Webhook URL**. Paste it into the Internal Integration’s webhook settings in Sentry. 4. Choose the conditions under **Start when**, write the instructions, and save. Nested verifies every inbound Sentry webhook with the `sentry-hook-signature` header and the client secret. ## Example Start your on-call agent when Sentry reports a new issue, with the instructions “Find the commit that likely introduced this error and summarize the fix.” Turn on **Mark task complete when the agent finishes** for a daily list of triaged issues. ## Questions ### Which Sentry permissions does Nested need? An auth token with `project:read` to list projects and `event:write` to post issue comments, plus the Internal Integration’s client secret to verify webhooks. [Open in Nested](https://app.nested.me/automations) ## Related - [Automations](https://nested.me/docs/automations) - [Webhooks](https://nested.me/docs/webhooks) --- # Overview of running work > See in-progress tasks, the latest weekly report, recent automation runs, token usage and estimated cost, and your agents on one Overview page. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/overview When several agents are busy, you need one place that shows what is still running and what it costs, without opening every thread. **Overview** is that pulse. Tasks that wait for you are not here; they sit in **Needs you** at the top of the task list. ## Before you start - On desktop, open **Overview** from the account menu at the foot of the sidebar; the row shows how many tasks are running. On a phone, select **Overview** in the **Tasks** header. ## Sections | Section | What it shows | | --- | --- | | **In progress** | Tasks running now, with how long each has run. Select a row to open the task. | | **Latest week** | The newest weekly report. **Open this week** shows the detail; **All reports** opens report history. | | **Recently triggered** | Recent automation runs. | | **Usage** | **Last 7 days**, across your agents: **Turns completed**, **Tokens used** (In, Out, Cached, Thought), **Top skill**, and **Estimated cost**. | | **Agents** | The agents you can access. | ## Steps 1. Scan **In progress** and open any task you want to check. 2. Turn on **Auto-refresh** to keep the page current while you leave it open, or select **Refresh**. 3. Use **Latest week** → **All reports** for closed-period [reports](https://nested.me/docs/reports). 4. For a full history of tasks by day, open the [Task timeline](https://nested.me/docs/timeline). On a phone, an empty **Active** list shows an **At a glance** digest with turns, tokens, and estimated cost. ## Example Three tasks are still running after lunch. **In progress** shows how long each has been running; select one to jump back into its thread. ## Questions ### Where do I see tasks that need my input? In **Needs you** at the top of the **Active** task list, not on Overview. On a phone, the **Tasks** tab shows the count. ### Is the estimated cost exact? No. It is an estimate based on token usage over the last seven days, for a sense of scale. [Open in Nested](https://app.nested.me/overview) ## Related - [Reports](https://nested.me/docs/reports) - [Task timeline](https://nested.me/docs/timeline) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) --- # Task timeline > Browse a chronological, day-by-day history of tasks across all your agents and workspaces, with each task’s state, in the Nested task timeline. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/timeline The task list shows what is active now. The **Task timeline** answers a different question: what happened, and when, across every agent and workspace. ## Before you start - Open **Task timeline** from the account menu or the command palette. ## Steps 1. Read tasks grouped by day, newest first. Each row shows the agent and the task’s state: **Queued**, **Running**, **Needs input**, **Needs sign-in**, **Needs you**, **Completed**, **Failed**, **Canceled**, or **Rejected**. 2. Select a task to open it. 3. Select **Load older tasks** to go further back. 4. Select **Overview** to return to the overview page. ## Example A teammate asks what your agents did last Thursday. Open the timeline, scroll to Thursday, and open the two failed tasks to see why. ## Questions ### How is the timeline different from reports? The timeline lists individual tasks in order. [Reports](https://nested.me/docs/reports) summarize closed days, weeks, and months with counts and latency. [Open in Nested](https://app.nested.me/overview/timeline) ## Related - [Overview of running work](https://nested.me/docs/overview) - [Reports](https://nested.me/docs/reports) - [Chat, workspaces, and tasks](https://nested.me/docs/chat) --- # Reports > Read closed day, week, and month reports for your agents: task, automation, formula, and schedule counts, latency, missing days, and PNG or PDF downloads. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/reports ![A weekly report with task, automation, and formula counts](https://nested.me/screens/weekly-report-light.webp "A weekly report.") Agents run while you are away. Reports close the loop: what ran, what succeeded or failed, how long work took, and which days are missing — per agent or for the whole account. ## Before you start - Open **Reports** from **Overview** → **Latest week** → **All reports**, or **Open this week** for the current weekly report. For one agent, open its settings → **Activity** → **Reports**. - Reports appear after the period closes. A daily report is written after 00:15 UTC for each day an agent did work; a weekly report after Sunday 00:15 UTC. ## Steps 1. Filter by **Period** (**All periods**, **Day**, **Week**, **Month**) and **Agent** (**All agents**, **Account rollup**, or one agent). Filters stay in the URL, so you can bookmark a view. 2. Open a report. It shows counts for **Tasks**, **Automations**, **Formulas**, and **Schedules**; items **Still open** at close; **Active time** and **Wall-clock time**; and named rows with **Succeeded**, **Failed**, **Skipped**, **Cancelled**, and **p50** and **p95** latency. 3. Read **vs previous** for the change against the previous period. 4. Check **Missing days**: UTC dates whose report failed to generate. Quiet days are not listed. 5. Select **Download PNG** or **Download PDF** for a copy to share. ## Example On Monday, open the weekly report for your account: 34 tasks, 2 failed, and the digest automation skipped on the weekend. If the skipped run mattered, open the automation’s **History** and select **Repeat**. ## Questions ### Why is there no report for yesterday? Daily reports are written after 00:15 UTC, and only for days an agent did work. Quiet days have no report. ### Can I see reports for a single agent? Yes. Set **Agent** to that agent, or open the agent’s settings → **Activity** → **Reports**. [Open in Nested](https://app.nested.me/reports) ## Related - [Overview of running work](https://nested.me/docs/overview) - [Automations](https://nested.me/docs/automations) - [Task timeline](https://nested.me/docs/timeline) --- # Preferences and profile > Set theme, text size, read-aloud, motion, and language in Nested, and manage your display name, phone, passkeys, and sign-out in your profile. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/preferences Long working sessions should match how you already work. **Preferences** controls how Nested looks and sounds on this device; **Profile** is how Nested knows you. ## Before you start - On desktop, open the account menu and select the **Settings** icon. On a phone, use the **Settings** tab. On desktop, Settings opens as a dialog over the chat, so your open task keeps its place. Select **Expand to full screen** for more room; Nested remembers that choice next time. **Exit full screen** shrinks it back, and **Close settings** returns you to the chat. Each section still has its own address, so you can link to it or reload it. ## Preferences | Setting | Options | | --- | --- | | **Theme** | Light, Dark, or System | | **Text size** | Default, Large, or Extra large — changes the size of text in task messages | | **Read long messages** | Adds a listen button to long messages. Speech uses a voice already on your device, including Persian when one is installed. | | **Motion** | On, Off, or System | | **Language** | English or Persian. Persian switches the app to right-to-left. | Motion **Off** (or the system’s reduce-motion setting) removes pulses and pane slides; chat still updates instantly. ## Profile **Settings → Profile** shows your **Email**, **Display name** (what agents and notifications can call you), optional **Phone**, **Account ID**, and **Status**. It also holds **Passkeys** — see [Sign-in and passkeys](https://nested.me/docs/sign-in-passkeys) — and **Sign out** for this device. ## Example Set **Theme** to System, **Text size** to Large, and **Language** to Persian. Nested switches to right-to-left without changing your agents or tasks. ## Questions ### Does changing the language change what my agents reply in? No. Language changes the app’s interface. Agents reply based on your messages and their instructions. [Open in Nested](https://app.nested.me/settings) ## Related - [Sign-in and passkeys](https://nested.me/docs/sign-in-passkeys) - [Notifications](https://nested.me/docs/notifications) - [Dictation](https://nested.me/docs/dictation) --- # Sign-in and passkeys > Sign in to Nested with a passkey, email and password, or Google; add and manage passkeys; and approve apps that ask to sign you in with Nested. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/sign-in-passkeys Nested runs on your organization’s cluster, so your account lives there too. You can sign in three ways, and passkeys let you skip passwords entirely. ## Sign in The **Sign in** page offers: - **Sign in with a passkey** — your fingerprint, face, or device PIN. - **Email** and **Password**, then **Sign in with password**. - **Continue with Google** — works for any Google-managed address, including Workspace domains. To create an account, use **Continue with Google** when your organization allows it. ## Add a passkey 1. Open **Settings → Profile** and find **Passkeys**. 2. Enter a **Passkey name** (it defaults to “This device”) and select **Add a passkey**. 3. Confirm on your device when it asks. 4. Next time, select **Sign in with a passkey** on the sign-in page. Each passkey shows when it was added and last used, and **Synced** when your password manager syncs it. Use **Rename** or **Remove**. You cannot remove your only sign-in method — add another one first. ## Sign in to other apps with Nested Some apps let you sign in with your Nested account. They send you to a page titled **Sign in to {app}** that shows the **Account** it will use (or **Use a different account**) and the **Access** it asks for: **Confirm who you are**, **Read your name**, and **Read your email address**. Select **Approve** or **Deny**. The request expires after a few minutes; if it does, start again from the app. ## Example Add a passkey on your laptop and another on your phone. Sign in with either; if you lose the phone, remove its passkey from **Profile** on the laptop. ## Questions ### Can I remove my password and use only passkeys? You can use passkeys for every sign-in. Nested stops you from removing a passkey when it is your only way to sign in. ### Why does my browser say passkeys are not supported? Your browser does not support passkeys. Use a current browser, or sign in with email and password or Google. [Open in Nested](https://app.nested.me/settings/profile) ## Related - [Preferences and profile](https://nested.me/docs/preferences) - [Teams](https://nested.me/docs/teams) - [Security model](https://nested.me/docs/security) --- # Secrets > Store API keys, tokens, and kubeconfigs as write-only secrets in Nested, keep them private or share them with your team, and attach them to agents. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/secrets Packs and coding agents need credentials. Secrets keep them in one place, so you never paste keys into chat and can reuse them on the next deploy. Values are write-only: Nested never shows them again after you save. ## Before you start - Open **Settings → Secrets**. ## Steps 1. Select **New secret**. 2. Enter a **Secret name** (for example `GITHUB_TOKEN`) and the **Secret value**. Line breaks are kept, so you can paste a token, a kubeconfig, or a certificate. Use **Show value** to check what you typed. 3. Optional: add a **Description**. 4. Set **Who can use it?**: **Only me**, or **Everyone** to let anyone in the team attach it. 5. Select **Save secret**. 6. Attach the secret to an agent — in the deploy wizard’s **Secrets** step, or in the agent’s settings → **Secrets** with **Attach secret**. The secret is injected under the environment variable you choose, not under its own name. To change a value, select **Edit** and enter a **New value**; leave it empty to keep the current value. **Delete** removes the secret, and agents using it lose the value. ## Example Create `SEARCH_API` as **Only me**, then attach it as `SEARCH_API_KEY` when you deploy a research agent whose pack asks for that variable. ## Questions ### Can I see a secret’s value after saving it? No. Secret values are write-only. To change one, edit the secret and enter a new value. ### Where are secrets stored? On your team’s cluster, as part of your Nested installation. See [Security model](https://nested.me/docs/security). [Open in Nested](https://app.nested.me/settings/secrets) ## Related - [Deploy an agent](https://nested.me/docs/deploy) - [Agent settings](https://nested.me/docs/agent-settings) - [Connectors](https://nested.me/docs/connectors) --- # Notifications > Get notified when a task needs you, a task finishes, an agent’s status changes, or a formula needs a decision — in the browser or in the background. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/notifications The **Needs you** group only helps while Nested is open. Notifications cover the gap when you are in another task, on another device, or away. ## Before you start - Open **Settings → Notifications**. ## Steps 1. Under **Devices**, select **Notify me in this browser** and allow the browser’s prompt. 2. Optional: under **Background notifications**, select **Enable background notifications** to receive them even when the app is closed. On an iPhone or iPad, first [install Nested](https://nested.me/docs/install-app) on your Home Screen. 3. Under **What to notify**, choose the events and select **Save preferences**. 4. Select **Send a test** and check **Recent notifications** to confirm the device works. | Event | Sent when | | --- | --- | | **A task needs me** | An agent pauses and needs a decision or more information. | | **A task finished** | An agent finishes and the result is ready to review. | | **An agent’s status changed** | An agent starts, stops, or recovers. | | **A formula needs a decision** | A formula waits for you to choose a route. | | **A formula needs input** | A formula waits for input. | To stop notifications on a device, select **Remove** on it, or **Remove all other devices** to keep only this one. > [!TIP] > If you run several tasks in parallel, turn on **A task needs me** first. It is the event that saves the most waiting. ## Example Turn on **A task needs me**, start a long research task, and close the laptop. Your phone buzzes when the agent asks a clarifying question. ## Questions ### Why don’t I get notifications when the app is closed? Turn on **Background notifications**. On iOS, install Nested on your Home Screen first. If notifications are blocked, allow them in your browser settings. [Open in Nested](https://app.nested.me/settings/notifications) ## Related - [Needs you: tasks waiting on you](https://nested.me/docs/attention) - [Install the Nested app](https://nested.me/docs/install-app) - [Preferences and profile](https://nested.me/docs/preferences) --- # Connectors > Connect the tools your Nested agents use on your behalf — OAuth or MCP connectors — reconnect expired ones, and add custom team connectors. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/connectors ![The Connectors page with connected tools](https://nested.me/screens/connectors-light.webp "The Connectors page.") Connectors give your agents access to the tools you already use. They belong to your account, not to one agent: connect once, and every agent you work with can use the tool on your behalf. ## Before you start - Open **Connectors** from the account menu (desktop) or **Settings** (phone). ## Steps 1. Under **Available connectors**, find the tool and select **Connect**. **Official** and **Custom** badges show where a connector comes from. 2. If the connector asks for **Permissions**, choose **Select all** or **Only required**, then **Continue to authorize**. Required permissions stay on. 3. Finish the provider’s sign-in for OAuth connectors. Other connectors ask for details instead, such as a **Remote MCP URL** or credentials. 4. Watch the status: **Connected**, **Needs reconnection**, **Waiting for authorization**, **Not connected**, or **Disabled**. 5. When authorization expires, the status shows **Needs reconnection** and the account menu flags it. Select **Reconnect**. 6. Select **Disconnect** when agents should no longer use the tool. ## Custom team connectors Team owners and admins can select **Add custom connector** to connect a remote MCP server for everyone on the team: 1. Enter a **Name** and the **Server URL** (it must start with `https://`; URLs ending in `/sse` use server-sent events). 2. Choose **Sign-in**: **OAuth** (each member signs in with their own account) or **No sign-in**. 3. Under **More options**, set request headers, the transport, or your own OAuth client. 4. Select **Add connector**. Members then connect it from this page. > [!WARNING] > Custom connectors reach services Nested has not checked. Add only servers your team trusts. Header values are shared: every member’s agents send them. ## Example Connect GitHub on **Connectors**, then create a repository workspace for your agent. If the token expires, the account menu flags it and **Reconnect** brings it back. ## Questions ### Are connectors per agent or per person? Per person. A connector belongs to your account, and agents use it on your behalf in your tasks. ### What is the difference between a connector and a secret? A connector is a tool connection, often with OAuth sign-in, that agents use on your behalf. A secret is a raw value, such as an API key, injected into an agent as an environment variable. [Open in Nested](https://app.nested.me/connectors) ## Related - [Secrets](https://nested.me/docs/secrets) - [GitHub](https://nested.me/docs/github) - [Security model](https://nested.me/docs/security) --- # Pack builder > Build a Nested pack on desktop: describe it, start from a template, import skills from Git, edit every section, verify the archive, and upload it to your team. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/pack-builder A pack teaches an agent: skills, setup scripts, MCP servers, guides, formulas, and memory. The pack builder lets you make one tailored to your workflow without waiting on an operator, then share it with your team or the catalog. ## Before you start - Use a desktop window. Phones show a short notice instead of the builder. - Open **Packs** from the account menu, then select **Pack builder**. ## Steps 1. Pick a starting point under **Start a pack**: **Describe your pack** (say what the agent should do, and the assistant drafts the pack for you to review), **Start from a template** (**Command-line tool**, **MCP connector**, or **Team playbook**), **Open a pack file**, **Open a published pack**, or **Start blank**. 2. Add skills under **Skills**. Choose **Import from Git**, paste a Git URL, find skills, and add the ones you want; or **Write your own**. 3. Edit the other sections: Identity, Memory, Formulas, Setup, Services, Artifacts, Subagents, MCP, and Guides. The AI assistant panel can help. 4. On **Review**, select **Assemble and verify**. When the archive is verified, **Download tar.gz** to keep a copy. 5. Choose **Who can see it** — **Only me**, **My team**, or **Everyone (catalog)** — and select **Upload to team**. Each upload is a new revision. Your team’s policy may block publishing to the catalog. 6. To revise a published pack later, use **Load** → **Open a pack** or **From a file**. ## Example Start from the **Command-line tool** template, import a docs-review skill from Git, add a guide on your style rules, and upload it as **My team**. Teammates can now attach it in agent settings → **Packs**. ## Questions ### Can I edit a pack after uploading it? Yes. Load it in the builder, change it, and upload again. Each upload becomes a new revision, and agents pick up the latest one when they redeploy. [Open in Nested](https://app.nested.me/packs/builder) ## Related - [Packs](https://nested.me/docs/packs-page) - [Packs](https://nested.me/docs/packs) - [Formula runs in chat](https://nested.me/docs/formulas) --- # Dictation > Dictate messages in Nested with the browser’s speech service or Whisper running on your own device, and tune language, model, and your custom words. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/dictation Select **Dictate** in the composer to speak instead of type. **Settings → Dictation** controls how that works on this device, including whether your voice ever leaves it. ## Before you start - Open **Settings → Dictation**. ## Steps 1. Choose the **Speech engine**: **Automatic** (Nested picks one), **Browser speech service** (in Chrome and Edge, this sends your voice to Google or Microsoft to turn it into text), or **Whisper on this device** (your voice never leaves the device; the model downloads once). 2. Set the **Language** you speak: **Same as the app**, **English**, or Persian. It can differ from the app language. 3. For Whisper, pick a **Whisper model**: Tiny (about 40 MB), Base (about 75 MB, recommended), or Small (about 250 MB). Larger models understand more and use more memory and data. 4. Choose **Run Whisper on**: **Graphics card (faster)** or **Processor (works everywhere)**. 5. Add names and terms under **Your words** so Whisper spells them your way. Words you fix after dictating are added automatically. 6. Under **Downloaded files**, select **Delete downloaded files** to free space; Whisper downloads its model again the next time you use it. **Diagnostics** shows how dictation behaves on this device — counts and timings only; no audio or text is kept. ## Example Choose **Whisper on this device** with the Base model, add your product and teammates’ names to **Your words**, and dictate task updates without your voice leaving the laptop. ## Questions ### Does dictation send my voice to the cloud? Only with **Browser speech service** in browsers like Chrome and Edge. **Whisper on this device** keeps your voice on the device. [Open in Nested](https://app.nested.me/settings/dictation) ## Related - [Writing faster in chat](https://nested.me/docs/assist) - [Preferences and profile](https://nested.me/docs/preferences) - [The composer](https://nested.me/docs/composer) --- # Activity log > Review what you did in Nested: a filterable audit log of your account’s actions over about 90 days, with before-and-after detail for each change. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/activity-log **Settings → Activity** is your own audit log: what you did in Nested, when, and what changed. Use it to answer “did I change that?” without asking an operator. ## Before you start - Open **Settings → Activity**. Nested keeps about 90 days of successful actions. ## Steps 1. Set the time range with **From** and **To**. A range is required. 2. Optional: filter by **Action** and **Resource type**, then select **Apply**. 3. Read each row’s **Time**, **Action**, **Resource**, and **Changes**. 4. Open a row to see the event’s detail, including **Before** and **After** values. Sensitive values show as **Redacted**. 5. Select **Load more** for older entries in the range. ## Example An agent’s access changed and no one remembers why. Filter the last week by the agent’s resource type, open the update, and compare **Before** and **After**. ## Questions ### How long does Nested keep my activity? About 90 days of successful actions. [Open in Nested](https://app.nested.me/settings/activity) ## Related - [Security model](https://nested.me/docs/security) - [Preferences and profile](https://nested.me/docs/preferences) - [Task timeline](https://nested.me/docs/timeline) --- # Install the Nested app > Install Nested on your desktop or phone home screen as an app, enable background notifications on iOS, and reload when an update is available. Section: Your account · Updated: 2026-11-19 · Canonical: https://nested.me/docs/install-app Nested is a web app you can install. Installed, it opens in its own window, starts faster, and — on iPhone and iPad — can receive notifications when it is closed. ## Steps 1. When Nested offers **Install Nested** (“Add Nested to your home screen for faster access”), select **Install**. Select **Not now** to dismiss it. 2. On iPhone or iPad, Nested shows **Add to Home Screen** instead. In Safari, tap Share, then choose **Add to Home Screen**. 3. After installing on iOS, open Nested from the Home Screen and turn on background notifications in [Notifications](https://nested.me/docs/notifications). 4. When **Update available** appears, select **Reload** to get the latest version. ## Example Install Nested on your phone, enable **Background notifications**, and get a ping when a task needs you — even with the app closed. ## Questions ### Why do I need to install Nested on iOS for notifications? iOS delivers background web notifications only to apps added to the Home Screen. ## Related - [Notifications](https://nested.me/docs/notifications) - [Preferences and profile](https://nested.me/docs/preferences) --- # Architecture > What Nested installs into your Kubernetes cluster — control plane, agent pods, and platform services — and how a task flows through them. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/architecture ## One install per cluster Nested is not a multi-tenant SaaS. Each install — a *cell* — lives in one Kubernetes cluster that you operate: one control plane, one Postgres, one set of agents. Isolation between customers is the install itself, not a tenancy layer in a shared service. A cell has three layers: | Layer | What runs there | Who installs it | |---|---|---| | Platform services | Postgres, Redis-compatible cache, Temporal, object storage, push notifications, optional observability | `nested-install` with Helm | | Apps | The control plane (`server`), the operator console, the Nested app, and optionally this site | `nested-install`, optionally through Argo CD | | Agent deployments | One `cloud-agent` pod per agent | The control plane, at runtime, with an embedded Helm chart | By default the installer creates three namespaces: `platform` for data services, `apps` for the Nested apps, and `agent-platform` for agent pods. ## The three surfaces - **The app** — where people work: tasks, automations, memories, connectors. See [Chat and tasks](https://nested.me/docs/chat). - **The console** — where operators register clusters, manage the agent catalog and packs, and configure official connectors. - **The runtime** — agent pods that do the work. See [Agent runtime](https://nested.me/docs/agent-runtime). ## Platform services | Service | What Nested uses it for | |---|---| | **Postgres** (CloudNativePG operator) | System of record. Each platform feature — tasks, formulas, knowledge, packs, automations, auth, and the rest — has its own database. | | **Dragonfly** (Redis protocol) | Short-lived state: OAuth and consent transactions, refresh-token reuse detection, caches. | | **Temporal** | Durable workflows: agent turns, formula runs, automation and schedule firings, memory distillation, and pack builds. | | **RustFS** (S3-compatible) | Objects: knowledge pages, task attachments and shared files, runbooks, pack archives. | | **ntfy** | Push notification delivery to browsers and phones. Optional. | | **OpenTelemetry, Jaeger, Grafana** | Traces and metrics. Optional, off by default. | | **oauth2-proxy** | Sign-in in front of internal tools. Optional, off by default. | | **Argo CD** | Rolls out the Nested apps when you turn it on. Optional. | The installer also installs NATS, secured behind Nested auth. Nothing in the product uses it as a data path today. ## How a task flows 1. A person sends a message in the app. The control plane’s task service stores a new task in Postgres in the `SUBMITTED` state. 2. The task service checks that the sender may give work to that agent. If the agent has stopped for being idle, the task service asks the deploy service to start it. 3. The agent pod polls the task service and atomically claims the oldest submitted task for its deployment. The task moves to `WORKING`. 4. The agent runs the turn as a durable workflow. It drives a coding agent (for example Cursor or Claude Code) over the Agent Client Protocol, with your packs, connectors, and memories attached. 5. Progress streams back as task events. A runbook — prompt, tool calls, plan, output, usage — is written to object storage. 6. When the coding agent finishes its turn, the task waits for you in **Needs you**. You reply, mark it done, or abort it. Agent-to-agent work — handing a peer a task — goes through the same task service, so it is stored, authorized, and visible like any other task. One exception: when an agent downloads a file from a peer, it calls that peer agent’s API directly, at the address discovery reports. See [Agent collaboration](https://nested.me/docs/agent-collaboration). ## How agents are deployed The control plane installs each agent with `helm upgrade --install` against the target cluster. It renders settings in three layers — chart defaults, the agent template, then per-deployment overrides — and puts sensitive values in a Kubernetes Secret, not a ConfigMap. Deploys run inside the control plane process, guarded by a generation number so an older deploy cannot overwrite a newer one. A reconcile loop reads release and pod status every minute. Each agent is a singleton: one pod, `Recreate` strategy, and two persistent volumes (data and Docker storage, 20 GiB each by default). The volumes are kept when the agent is undeployed, so redeploying the same agent keeps its git workspaces. ## What stays in your cluster Task history, messages, runbooks, memories and knowledge, pack archives, secrets, and connector tokens are stored in the Postgres and object storage inside your cluster. The vendor does not receive a copy. Some traffic leaves the cluster. Each flow below exists because you configured or enabled something: - The coding agent you pick calls its own model provider, under your account with that provider. - The control plane’s built-in assistant calls the OpenAI-compatible LLM endpoint you configure at install. The installer requires one. - Formula gates that ask typed questions send the question and the gate’s evidence to a resolver. An external gate-resolver service is used only when an operator sets its API key at install; without a key, the gate falls back to the LLM endpoint above when the gate allows a fallback. - Connectors call the services you connect (GitHub, Slack, Google, and others). - At startup, agents download coding-agent CLIs from the public ACP registry, unless you configure a local install. - If your team uses [Environments](https://nested.me/docs/environments-platform), those machines run on a cloud provider, outside your cluster. > [!NOTE] > The privacy policy covers the vendor’s side of this. See the [Privacy policy](https://nested.me/privacy). ## Questions ### Is Nested a SaaS? No. Every Nested service — control plane, agents, and data stores — installs into a Kubernetes cluster you operate. Each install serves one organization. ### Does Nested store my code or prompts on vendor servers? No. Tasks, runbooks, memories, and connector tokens live in the Postgres and object storage inside your cluster. The coding agent you choose still sends prompts to its own model provider under your account. ### What does Nested need from my cluster? A Kubernetes cluster with a default StorageClass, an ingress, and a DNS zone for the Nested hosts. Sysbox is recommended for agent isolation, and Kata adds an optional isolated-VM runtime. See [Install Nested](https://nested.me/docs/install). ## Related - [Agent runtime](https://nested.me/docs/agent-runtime) - [Security model](https://nested.me/docs/security) - [Install Nested](https://nested.me/docs/install) - [Tasks and agent collaboration](https://nested.me/docs/agent-collaboration) --- # Agent runtime > How a Nested agent pod works: coding agents over ACP, task sessions, the sandbox, idle stop and wake, crash recovery, and settings reloads. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/agent-runtime ## What runs in an agent pod Every agent is one pod running `cloud-agent`. The process does four jobs: - Claims tasks for its deployment from the control plane’s task service. - Drives one or more coding-agent CLIs over the **Agent Client Protocol (ACP)**, a JSON-RPC protocol over stdio. - Loads the agent’s packs: skills, subagents, formulas, MCP servers, and setup scripts. See [Packs](https://nested.me/docs/packs). - Serves the built-in `nested` MCP server that gives the coding agent platform tools. See [MCP servers and connectors](https://nested.me/docs/mcp-and-connectors). The image comes in two variants: a full Ubuntu desktop with Chrome, which powers the agent’s [desktop](https://nested.me/docs/desktop-terminal), and a lighter Ubuntu image without it. Docker inside the pod comes from a pack, not the base image. ## Supported coding agents The image ships no vendor CLI. When the agent starts, it installs the coding agents it is configured with from the public ACP registry. You can also point it at a command that is already installed. | Coding agent | How you pick it | Sign-in | |---|---|---| | **Cursor** | Preset in the deploy wizard | API key from a secret | | **Claude Code** | Preset in the deploy wizard | Web sign-in from chat | | **Kimi CLI** | Preset in the deploy wizard | Device sign-in, or `KIMI_API_KEY` | | Any other ACP agent | **Choose from registry** or **Manual entry** | Varies by agent | Among the registry agents, OpenAI Codex has a headless sign-in path, but it has no preset in the deploy wizard. Gemini requires you to sign in from the agent’s desktop. ### Sign-in and multiple accounts When a coding agent needs a login, the agent holds new work and shows a sign-in prompt in chat. Logins run headless: you get a URL or a device code and finish in your browser. An attempt expires after 15 minutes. One agent can keep up to 10 vendor accounts and switch between them. A normal switch waits up to 10 minutes for running turns to finish. A forced switch gives cancelled turns 30 seconds. Switches are journaled, so a crash mid-switch rolls back instead of leaving credentials half moved. ## Tasks, turns, and sessions - The agent polls for work every 5 seconds and runs up to 4 turns in parallel by default. - One turn may run for up to 24 hours, with a 10-minute heartbeat timeout. - Each task gets its own coding-agent session. Tasks in the same workspace share one working directory, but not one conversation. - A pooled session closes after 30 minutes idle — unless it still has background work: a running subagent, a pending permission request, or an open terminal. ## The sandbox Isolation starts at the pod boundary. Each agent has a runtime, chosen when it is created and fixed afterwards: - **Standard** (the default). The pod asks for the **Sysbox** runtime and a user-namespaced pod (`hostUsers: false`), so the agent can run Docker without being privileged on the node. If the cluster has no Sysbox, the pod uses the default container runtime. There is no automatic fallback to Kata. If an operator sets a runtime class explicitly on an agent, Nested never drops it: the deploy fails with a clear error instead. - **Isolated VM** (Kata). The pod runs in its own lightweight virtual machine under the `nested-kata` runtime class. The person creating the agent opts in; the choice is offered only when the cluster has Kata. If Kata is missing at deploy time, the deploy fails rather than run with weaker isolation. A Kata agent reserves its full memory limit, keeps its volumes as raw block devices, and starts and builds more slowly. Nested strips privileged mode from every agent pod that is not a Kata pod. > [!WARNING] > Without Sysbox, standard agents run on the default container runtime. Install Sysbox for production, or offer Kata for agents that need stronger isolation. The installer can do either; see [Install Nested](https://nested.me/docs/install). ### Where agent pods run On a cluster with node roles, agent pods prefer nodes labeled `nested.io/agents=true` and never run on a node labeled `nested.io/platform=true` unless it also has the agents label. Clusters without role labels schedule agents on any node. Inside the pod, coding-agent processes, their terminals, and hook scripts get a **deny-by-default environment**. They see a short allow list (`PATH`, `HOME`, `LANG`, `TERM`, and a few others). Variables matching `*_SECRET`, `*_TOKEN`, `*_PASSWORD`, `DATABASE_*`, `AWS_*`, and `KUBERNETES_*` are removed. Startup tasks run without this filter. Pods run as an unprivileged user (uid 1000). Default resources are requests of 250m CPU and 3 GiB memory, with limits of 4 CPU and 6 GiB; a Kata agent requests its full memory limit. Operators can override them per agent. ## Idle stop and wake Idle agents stop to free the cluster: 1. Every minute, the deploy service checks running agents (except ones stopped by a person or open to the internet). 2. It asks the task, formula, and knowledge services whether the agent has unfinished work. It also checks for a settings reload, for recent desktop, terminal, or sign-in activity, and for a rollout within the last quiet period. Any error counts as busy. 3. After 10 quiet minutes it checks again, then scales the agent to zero. 4. New work starts the agent again automatically. Volumes are kept, so the workspace is where you left it. An agent that a person stopped stays stopped. In the app, a stopped agent shows **Start agent**. See [Agent settings](https://nested.me/docs/agent-settings). ## Crash recovery A deployment has exactly one pod, so on startup the agent knows that any task still marked `WORKING` from before its boot died with the old process. For each one, it appends a system “continue” message and requeues the task — the same path as you typing “continue”. Recovery runs at most 3 times per task per hour. After that, the task says it stopped resuming and waits for you. ## Settings changes Saving agent settings does not swap config in place. The agent stops taking new turns, waits up to 5 minutes for running turns to finish, then restarts on the new settings. If turns are still running at the deadline, it stays on the old settings and reports the timeout. Changes to the image, resources, or databases need a redeploy instead. ## Usage and health The agent records usage events — tokens, skills used, and similar — in its own database and keeps them for 90 days. It reports live CPU and memory (sampled from cgroup v2) to the control plane every 30 seconds. The console shows both. ## Questions ### Which coding agents does Nested support? The deploy wizard has presets for Cursor, Claude Code, and Kimi CLI. You can also add any agent from the public Agent Client Protocol registry or a command you install yourself. ### Do idle agents keep using resources? No. After about 10 minutes with no work, an agent scales to zero. It starts again when new work arrives, and its volumes keep the workspace. ### What happens if an agent pod restarts during a task? The agent resumes the interrupted task automatically when it boots, up to 3 times per task per hour. ### Are agent pods always sandboxed with Sysbox? Standard agents use Sysbox when the cluster has it, and the default container runtime otherwise. An agent created with the **Isolated VM** runtime runs in its own Kata virtual machine instead. ## Related - [Architecture](https://nested.me/docs/architecture) - [Deploy an agent](https://nested.me/docs/deploy) - [Agent settings](https://nested.me/docs/agent-settings) - [Desktop and Terminal](https://nested.me/docs/desktop-terminal) --- # Packs > The pack format: skills, subagents, formulas, MCP servers, setup scripts, and guides in one verified, versioned archive you attach to agents. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/packs ## What a pack is A pack is a portable `.tar.gz` archive with a `PACK.yaml` manifest at its root. It bundles what an agent knows and can do, so the same capability can be versioned, verified, shared, and attached to many agents. Instructions and playbooks live in Markdown, YAML, and shell inside packs; the platform only verifies, loads, and enforces. ## What a pack can contain | Path | Contents | |---|---| | `skills//SKILL.md` | Skills, with optional helper files | | `subagents/.md` | Specialist subagent definitions | | `formulas/.yaml` | Formula documents. See [Formula reference](https://nested.me/docs/formula-reference) | | `mcp/.json` | MCP server declarations | | `setup/-.sh` | One-time, idempotent setup scripts | | `services/-.sh` | Sidecar scripts started on every boot | | `artifacts/` | Files copied or rendered into the home directory or workspace | | `memory//readme.md` | Guidance for a memory area | | `guide/*.md` | Fragments composed into the agent’s `AGENTS.md` / `CLAUDE.md` | | `process.env` | Non-secret `KEY=VALUE` defaults | | `README.md`, `LICENSE` | Optional docs | Any other entry at the root fails verification. ## The manifest A trimmed manifest from the first-party documenter pack: ```yaml apiVersion: nested.ai/pack/v1 name: standard-documenter version: 0.2.0 description: >- Documents, presentations, spreadsheets, PDFs, and copy. setup: - install-doc-tools.sh contents: skills: [docx, pdf, pptx, xlsx, copywriting] subagents: [content-editor, content-presentation-designer] formulas: [copy-write, document-create, presentation-create] setup: [install-doc-tools.sh] ``` The name is a DNS-safe slug. `version` is an optional label. ### Secrets stay out of packs A pack declares the environment variables it needs under `env:` and refers to them as placeholders in MCP declarations. It never contains the values. When you deploy an agent, you bind your [secrets](https://nested.me/docs/secrets) to those keys, and the agent receives them as a credential overlay. ### Conditions Every capability can carry a `when` condition, evaluated when the agent loads its packs. Conditions read environment variables, agent settings, attached knowledge, and the agent’s formulas — for example, load a skill only when `len(Formulas.Items) > 0`. A capability whose condition turns false disappears on the next restart. ## Verification Packs are treated as untrusted input. Verification runs on your machine (`packctl verify`), again on upload, and again when an agent loads the pack. It rejects: - Unknown manifest fields, unexpected files, and mismatches between the manifest and the disk. - Symlinks, hard links, and `..` paths in archives. - Archives over 100 MiB compressed or 200 MiB extracted. - Literal secrets in MCP declarations, and private keys or tokens in `process.env`. - Formulas that do not compile. ## Publishing, revisions, and visibility A pack is identified by its team and name. Each upload that changes content becomes a new numbered **revision**; uploading identical content returns the existing revision. Only the pack’s owner adds revisions, changes visibility, or deletes it; team owners and admins can reassign it. | Visibility | Who sees it | |---|---| | **Private** (default) | Only the owner | | **Team** | Everyone in the team | | **Global** | Every team, in the catalog | The catalog is read-only. To use a global pack from another team, **Copy to my team** — the copy becomes a private pack you own. Agents never run another team’s pack directly. There is no separate review or signing step: a revision exists only if it passed verification. You can author packs by hand or in the [Pack builder](https://nested.me/docs/pack-builder), and attach several packs to one agent in [Agent settings](https://nested.me/docs/agent-settings). ## How an agent loads packs On every start, the agent: 1. Downloads each attached pack revision, extracts it safely, and verifies it again. 2. Copies enabled skills and formulas and merges MCP servers, removing anything whose condition is now false. 3. Runs setup scripts — skipping ones already run with the same content — then starts service scripts. 4. Applies `process.env`, filling only variables that are not already set. 5. Installs subagents and writes guide fragments into the agent’s instructions. Later packs win on conflicts. If an attached pack cannot be loaded, the agent does not start, rather than start with missing capabilities. ## First-party packs Nested ships `nested-core` built into every agent, plus packs for building software, documentation, debugging, Docker, Kubernetes, Ollama, n8n, and WireGuard. ## Questions ### Can a pack contain API keys? No. Verification rejects literal secrets. A pack declares the variables it needs, and you bind secret values per agent when you deploy it. ### How do I share a pack with another team? Set its visibility to Global. It then appears in every team’s catalog, where they copy it into their own team. ### What happens if a pack fails to load? The agent does not start. Nested refuses to run an agent with only part of its declared capabilities. ## Related - [Pack builder](https://nested.me/docs/pack-builder) - [Formula reference](https://nested.me/docs/formula-reference) - [Deploy an agent](https://nested.me/docs/deploy) - [Secrets](https://nested.me/docs/secrets) --- # Formula reference > The schema-2 formula format: typed input, steps, gates, checks, human input, state, limits, and how runs execute, fail, and restart. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/formula-reference ## What a formula is A formula is a reusable, typed workflow. Agents and people start it the way an agent calls a tool: by name, with an input object checked against a JSON Schema. It is a graph of **steps** — each one a prompt that runs as a task on the agent — and **gates** that join branches and route the run. A run carries a typed state object that steps can read and update. Formulas ship inside [packs](https://nested.me/docs/packs), in `formulas/.yaml`. To watch and act on runs in the app, see [Formula runs](https://nested.me/docs/formulas). ## Document fields | Field | Required | Meaning | |---|---|---| | `schema` | Yes | Always `2` | | `name` | Yes | Lowercase slug, for example `bug-fix` | | `version` | Yes | Semantic version | | `title`, `description` | Yes | The description is what agents read to decide when to use it | | `input` | Yes | JSON Schema for the run input | | `start` | Yes | Where the run begins | | `steps` | Yes | At least one step | | `state` | No | Schema plus initial values for run state | | `gates` | No | Decision nodes | | `output`, `limits`, `layout` | No | Run output, limit overrides, editor layout | A trimmed real formula: ```yaml schema: 2 name: small-task title: Small task version: 2.0.1 description: Implement and verify a small task in one session. input: type: object required: [body] properties: body: type: string start: goto: [implement] steps: - id: implement title: Implement prompt: |- Implement this task: {{ .Input.body }} output: type: object required: [summary] properties: summary: { type: string } maxVisits: 2 then: goto: [implement_passed] ``` Prompts use Go templates with a fixed function set. Data expressions — state writes, routing rules, output — use CEL. Nested compiles every formula when a pack is verified, uploaded, and loaded, and checks every field path statically, so an invalid formula never reaches an agent. ## Steps Each step has an `id`, a `prompt`, and a `then` with exactly one of `goto`, `complete`, `fail`, or `waitForInput`. Options include: - `output` — a JSON Schema the agent’s structured result must match. - `set` and `writes` — state updates by expression, and state keys the agent may set itself. - `session` — `continue` the agent conversation or start `fresh`. - `forEach` — fan out over a list with a concurrency limit. - `kind: formula` — run another formula as a sub-step, up to 4 levels deep. - `maxVisits`, `timeout`, `onError`, and `check`. Inside a step, the agent reports its result with a structured-output tool. Missing or invalid output gets up to 2 corrective turns before the step fails. ### Checks A step can require a check before it continues: - **Human** — a person approves, asks for a revision with a note, or rejects. Up to 3 revisions. - **Command** — a fixed command runs in the agent’s sandbox; exit code 0 passes. Command checks are off by default and must be enabled per install. ## Gates Gates join arrivals (`each`, `first`, or `all`) and route the run: - **Rules** — ordered CEL conditions, with one required default route. - **Human** — labelled routes a person picks, with an optional note. A gate can also ask typed questions (yes/no, choice, or score) about the evidence before routing. A resolver answers them. The default resolver is an external gate-resolver service, but it is opt-in: it runs only when an operator sets its API key at install. Without a key, the gate falls back to the install’s LLM endpoint when the gate allows a fallback. Either way the question and the evidence go to that resolver, so check which one your install uses before gates handle sensitive data. ## Human input A step that ends with `waitForInput` parks the run until someone replies in the step’s chat or submits values that match the schema. The agent that started the run can answer through its own tool; a step can never approve itself. Gate decisions and human checks are always made by people. ## Running, cancelling, and restarting Each run is a durable workflow, so it survives control-plane restarts. Each step becomes a task on the agent, in the run’s workspace. A run ends when a step completes it (the only way to succeed), fails it, someone cancels it, or nothing is left to run. A **failed** or **cancelled** run can be restarted in place: steps that succeeded keep their output and state, and the rest run again. Runs that failed by design — a route to `fail`, a dead end, or a loop limit — cannot be restarted. ## Default limits | Limit | Default | |---|---| | Visits per step | 10 | | Executions per run | 200 | | Run duration | 7 days | | Fan-out items | 32 | | Step work timeout | 24 hours | | Rendered prompt | 64 KiB | | Step output | 64 KiB | | Run state | 256 KiB | Waiting for input, a decision, or a human check has no timeout of its own unless the formula sets `timeout` on that step. Otherwise only the 7-day run limit ends the wait. Only `task` and `formula` steps exist today. ## Questions ### How does an agent start a formula? Each formula the agent’s packs allow becomes a tool named after it, for example `formula_bug_fix`. People can start formulas from chat and automations. ### Can a formula wait for a human? Yes. Human checks, human-routed gates, and steps that wait for input all park the run and show up in **Needs you** until a person acts. ### Can I restart a failed formula run? Yes, if it failed or was cancelled. Successful steps keep their results and the rest run again. Runs that ended by design cannot be restarted. ## Related - [Formula runs in chat](https://nested.me/docs/formulas) - [Packs](https://nested.me/docs/packs) - [Pack builder](https://nested.me/docs/pack-builder) - [Automations](https://nested.me/docs/automations) --- # Tasks and agent collaboration > How Nested tasks work under the hood — states, claiming, runbooks — and how agents find each other and delegate work with A2A. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/agent-collaboration ## Everything is a task A task is one unit of agent work, modeled on the open A2A (Agent2Agent) protocol: messages, a task id, a context id, a state, and artifacts. Whatever asks an agent to work creates a task — a person in the app, another agent, a schedule, a webhook, an automation, a formula step, or a startup task. The control plane’s task service is the single place tasks are stored and submitted. Agents pull work. Each agent polls the task service and claims the oldest submitted task for its deployment. A task that sits in `SUBMITTED` is visible, so a stuck or offline agent is easy to spot. ## Task states | State | Meaning | |---|---| | `SUBMITTED` | Stored, waiting for the agent to claim it | | `WORKING` | The agent is running a turn | | `INPUT_REQUIRED` | The turn ended; the task waits for its caller | | `AUTH_REQUIRED` | The coding agent needs a sign-in | | `COMPLETED` | The caller marked it done | | `CANCELED` | The caller aborted it | | `FAILED` | The turn failed. The app closes the thread and offers **New task** | | `REJECTED` | The coding agent refused | **The caller decides when work is done.** When a turn ends, the task waits in `INPUT_REQUIRED` rather than closing itself, so you can follow up on the same task. You close it with **Mark done** or stop it with **Abort**. There are three exceptions: formula steps close themselves on a clean finish, startup tasks close because no one will answer, and scheduled runs are closed by their schedule. A completed or cancelled task can be **reopened** by its owner. Reopen is refused for rejected and failed tasks, formula and startup tasks, and scheduled runs. ## Runbooks Each turn writes a runbook to object storage: the prompt, context snapshot, tool calls, plan, output, token usage, and errors. Postgres keeps a reference and summary. You can read a task’s runbooks from **Task options** in the app, and include them in a share link. ## How agents find each other Every agent registers with the discovery service and publishes an **Agent Card** describing what it does. It sends a heartbeat every 30 seconds; after 90 seconds without one, it is marked offline. Agents can be registered but not *searchable*, which hides them from peers. ## Delegating to another agent Agents talk to each other through tools in the built-in `nested` MCP server: | Tool | What it does | |---|---| | `nested_discovery_discover_agents` | Lists other online agents (never the caller itself) | | `nested_a2a_send_message` | Sends work to a peer by its agent id. Returns at once with the new task | | `nested_a2a_get_task` | Reads the peer task’s status and reply | | `nested_a2a_complete_task` / `nested_a2a_cancel_task` | Closes or aborts the peer task | A peer task is created through the task service like any other task, so it is authorized, stored, and visible. It becomes a **child** of the calling task and shares its context. The sender’s agent is added to the task’s attribution chain while the original person stays its origin, so you can always see who started a chain of delegated work. In the app, these messages show as automated messages from the sending agent. Agents can also start formulas and share files through object storage. For larger payloads, an agent uploads to object storage and passes a reference in its message. ## Who may give an agent work Each agent has a task-acceptance setting: **Only me** or **Anyone signed in**. The task service enforces it for every caller, including other agents, schedules, and automations. ## Limits | Item | Default | |---|---| | Parallel turns per agent | 4 | | Turn timeout | 24 hours | | Peer RPC timeout | 30 seconds | | Share links per task | 10, each up to 30 days | | Runbook capture per turn | 2 MiB, 500 tool calls | ## Questions ### Can Nested agents work together? Yes. An agent can find other agents and send them tasks through the platform’s A2A tools. The delegated task becomes a child of the original task. ### Why doesn’t a task close when the agent finishes? So you can follow up on the same task. The agent’s turn ends and the task waits for you; you close it with Mark done when the work is really done. ### Do agents talk to each other directly? No. All agent-to-agent work goes through the control plane’s task service, so it is authorized and recorded like any other task. ## Related - [Chat, workspaces, and tasks](https://nested.me/docs/chat) - [Needs you: tasks waiting on you](https://nested.me/docs/attention) - [Formula runs in chat](https://nested.me/docs/formulas) - [Architecture](https://nested.me/docs/architecture) --- # Knowledge and memory internals > How knowledge centers and user memories store pages, control access, keep versions, and how agents recall and save what they learn. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/knowledge-model ## Knowledge centers A knowledge center is a named, versioned tree of Markdown pages. Pages use the **Open Knowledge Format (OKF)**: Markdown with YAML frontmatter that must include a `type`. Each center has two required documents — **instructions** (what the center is for) and **guidelines** (how to write in it) — which agents load before they use it. | Kind | Owner | Notes | |---|---|---| | Team centers | Created by operators or users | Runbooks, product docs, team wikis | | Platform | Nested | Built-in docs about Nested itself; read-only | | Memory | One person, in one team | Private to its owner; see below | Search is Postgres full-text search. There is no vector search. ## How storage works Every page body is written to object storage as an immutable snapshot. Postgres holds the live pointer, the search index, every version, and a change log with diffs. Restoring an old version copies it forward as a new version, so history is append-only. Every change records who made it: an agent (with the agent and task that caused it), an operator, the owner, or the system. The change log keeps 24 months of history by default. ## Access The server derives who is calling from the credential, never from the request body. Agents get a credential signed for them that only reaches the centers granted to that agent. Each grant is **Read & write** or **Read only**. Operators can read every center **except** memories, which only their owner can see. ## How agents use knowledge Agents use tools in the built-in `nested` MCP server, designed for progressive disclosure: 1. `nested_knowledge_bootstrap` loads each granted center’s instructions, guidelines, and access level. 2. `nested_knowledge_search` returns short stubs only — path, title, description, tags. 3. `nested_knowledge_get` reads one page; `nested_knowledge_neighbors` follows its links. 4. `nested_knowledge_put` writes a page. The agent passes the hash of the version it read; if someone changed the page in the meantime, the write is refused and the agent gets the current page to merge into. Version history, restore, and the change log are tools too, so an agent can see what changed while it was away. ## Memories A memory is a knowledge center that belongs to **you**, not to an agent. Every agent you work with can use it, so what one agent learns is available to the next. Deleting an agent does not delete what it learned. - You get a default memory in each team and can keep up to 5. - A memory holds up to 2,000 pages and starts with structure pages for preferences, lessons, people and systems, decisions, and a logbook. - Each task binds up to 3 memories, each read-only or read-write, with one primary. The choice is fixed when the task is created: chosen explicitly, inherited from the automation or schedule that started it, or taken from your defaults. Subtasks inherit their parent’s memories. ### Recall Before each turn, the agent adds a short memory block: your preferences page, its own notes about its environment, and the most relevant facts and recent logbook entries from each bound memory. The block is capped at 6 KiB and gives up after 500 ms, so memory never slows or breaks a turn. ### Saving lessons When a task completes (or fails), a durable workflow reviews the task and writes lasting facts and one logbook entry to the task’s primary memory. Logbook pages carry an expiry date and are removed automatically when it passes. You can turn automatic saving off per memory. ### Reorganize **Reorganize** asks an agent to find duplicates, conflicts, and logbook entries worth turning into standing knowledge. It proposes a plan; you review the preview and apply it. A page that changed in the meantime is skipped, not overwritten. To manage memories in the app, see [Memories](https://nested.me/docs/memory). To attach team centers to an agent, see [Knowledge centers](https://nested.me/docs/knowledge). ## Questions ### Can operators read my memories? No. Operators can read team knowledge centers but not memories. A memory is private to the person who owns it. ### Does Nested use a vector database for memory? No. Knowledge and memory search use Postgres full-text search, and agents follow links between pages. ### What happens when two agents edit the same page? The second write is refused because the page changed since it was read. The agent receives the current page and re-applies its change. ## Related - [Memories](https://nested.me/docs/memory) - [Shared knowledge centers](https://nested.me/docs/knowledge) - [Security model](https://nested.me/docs/security) - [Agent runtime](https://nested.me/docs/agent-runtime) --- # MCP servers and connectors > Where agent tools come from — the built-in Nested MCP server, connectors, and pack MCP servers — and how the catalog and Code Mode save tokens. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/mcp-and-connectors ## Three sources of tools | Source | What it is | Who sets it up | |---|---|---| | Built-in `nested` server | Platform tools: tasks and A2A, knowledge, formulas, file sharing, asking you a question, site sign-in | Always on | | Connectors | Remote MCP servers your account signs in to — GitHub, Slack, Google, Atlassian, Sentry, and team custom connectors | You, on the [Connectors](https://nested.me/docs/connectors) page | | Pack MCP servers | MCP servers declared in a pack | Pack authors; see [Packs](https://nested.me/docs/packs) | ## The connector catalog Attaching every MCP server to every session is expensive: with 11 servers attached, a session spent about 28,000 tokens on tool schemas before doing any work. Nested attaches only the built-in `nested` server (and any servers an operator marks as eager). Everything else sits behind four catalog tools: | Tool | What it does | |---|---| | `nested_mcp_list` | Lists the connectors available to this task, with a hint for when to use each | | `nested_mcp_describe` | Loads one connector’s tool schemas, as JSON or compact TypeScript declarations | | `nested_mcp_call` | Calls one tool on one connector | | `nested_mcp_exec` | Runs a short script that calls connectors (Code Mode) | The agent still discovers every connector automatically; it just loads schemas only when it needs them. Operators can turn catalog mode off to attach every server. ## Code Mode `nested_mcp_exec` runs a short JavaScript program in a sandbox inside the `nested` server. The script can call connectors in loops, paginate, filter, and aggregate, then return only the final result. Intermediate payloads never enter the model’s context. ```js // Connector and tool names come from nested_mcp_list and nested_mcp_describe. const prs = mcp.call("github", "list_pull_requests", { repo: "acme/app", state: "open" }); return prs.filter((pr) => pr.draft === false).map((pr) => pr.title); ``` The sandbox has only the `mcp` and `console` objects: no filesystem, network, timers, or module loading. Limits per run: | Limit | Value | |---|---| | Timeout | 60 seconds default, 120 maximum | | Connector calls | 25 | | Result size | 64 KiB | | One connector reply | 8 MiB | | Memory growth | 256 MiB | | Parallel calls (`mcp.callAll`) | 4 default, 8 maximum | Each run returns an audit trail of the connector calls it made. ## Connectors A connector is a remote MCP server that your account connects to. A task only sees the connectors of the person who owns it, in that task’s team; delegated subtasks keep the same owner. - **Sign-in.** OAuth connectors use the authorization code flow with PKCE. Atlassian and Sentry register their OAuth client automatically, so operators need no developer-console app for them. For GitHub, Slack, and Google, an operator enters the OAuth app once in the console. - **Scopes.** Some connectors let you choose permissions. Required scopes are always included. - **Tokens.** Connector tokens are encrypted at rest in the control plane. Agents never hold them: a loopback proxy in the agent pod adds the current token to each request and refreshes it when needed. A connector that needs a new sign-in shows **Needs reconnection**. - **Gateway connector.** A Teleport connector lets agents list and call internal apps behind Teleport, over mutual TLS, without installing Teleport tools in the agent. ### Team custom connectors Team owners and admins can add their own remote MCP servers for their team, with per-person OAuth or a shared header. Shared headers are limited to an allow list (`authorization`, `x-api-key`, and similar). Server URLs must use HTTPS and resolve to public addresses, and every connection re-checks the address, which blocks DNS-rebinding tricks against internal services. ## The built-in tools | Group | Tools | |---|---| | Collaboration | `nested_discovery_*`, `nested_a2a_*` | | Knowledge and memory | `nested_knowledge_*` | | Formulas | `formula_`, `nested_formula_*` | | Files | `nested_share_file`, `nested_s3_*` | | People | `nested_request_user_input` | | Websites | `site_login`, `site_challenge`, browser tools | | Connector catalog | `nested_mcp_*` | `site_login` signs in to a website with a login you saved. The agent gets a status, never the password. ## Questions ### Do agents see my connector tokens? No. Tokens stay encrypted in the control plane. A loopback proxy in the agent pod adds them to requests, so the coding agent never holds them. ### What is MCP Code Mode in Nested? A tool that lets the agent run a short sandboxed JavaScript program that calls connectors and returns only the final result, which saves tokens on multi-step work. ### Can I add my own MCP server? Yes. Team owners and admins can add a custom connector for their team, and pack authors can declare MCP servers in a pack. ## Related - [Connectors](https://nested.me/docs/connectors) - [Packs](https://nested.me/docs/packs) - [Security model](https://nested.me/docs/security) - [Agent runtime](https://nested.me/docs/agent-runtime) --- # Environments service > How Nested Environments create short-lived machines for agents: the manifest, Docker and Kubernetes runtimes, lifetimes, and isolation. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/environments-platform ## What it is Environments give agents and people short-lived machines to run and test apps. Each environment is one virtual machine running either a Docker daemon or a single-node Kubernetes (k3s), optionally with your app deployed from one manifest. Agents use it to bring up a stack, run tests against it, and share a preview link. Environments is a separate service, installed with your cell and enabled per team by an operator. > [!IMPORTANT] > Environment machines do not run inside your Kubernetes cluster. They run on a cloud provider account that the Environments service is configured with; the shipped driver provisions DigitalOcean droplets. Source code and secrets you send to an environment go to that machine. ## Isolation and networking - **One machine per environment.** Environments never share a machine. - **No inbound traffic.** Every inbound port is closed. An agent on the machine dials out to the Environments gateway, and all access — Docker API, Kubernetes API, logs, exec, preview URLs — is relayed through that connection. - **Short-lived credentials.** Connecting returns a Docker host address or kubeconfig that works only through the gateway, for a limited time. No credential leaves the machine. - **Previews need sign-in.** Preview links require Nested sign-in; public preview links are not available. ## The manifest A manifest is an envelope around what you already have — Dockerfiles, Compose files, Helm charts, Kustomize directories — not a new way to define containers. | Field | Meaning | |---|---| | `spec.runtime` | `docker` or `kubernetes` | | `spec.resources.type` | A named machine type from the catalog | | `spec.lifetime` | `ttl` (required), optional `idle`, and a policy | | `spec.sources` | Git repositories or uploaded archives | | `spec.secrets` | Secret names only; values are set through the API | | `spec.components` | `compose` or `image` on Docker; `image`, `helm`, `kustomize`, or `manifests` on Kubernetes | | `spec.expose` | Ports to publish as team preview links | Builds run on the machine’s own Docker, so no registry is needed. Components apply in dependency order. A manifest can be up to 256 KiB, with up to 20 components and 10 exposed ports. ## Lifetimes The server, not the machine, enforces when an environment ends: - **Agent environments** end with the task that created them by default, after a one-hour grace period. An agent can ask for a fixed lifetime instead. - **Environments you create** use a fixed lifetime (`ttl`). - An optional idle timeout ends an environment with no activity. - A periodic sweep destroys any machine that has no live environment, so a crash cannot leave paid machines behind. Operators set per-team ceilings: by default 3 concurrent environments and 8 hours maximum lifetime, up to 50 and 72 hours. An agent may hold 3 live environments per task. Anyone in the team can view and create environments; the creator, the manager, and team owners and admins can extend or destroy them. ## Agent tools When an operator enables Environments for agents, every task session gets an `environments` MCP server with 13 tools, including `env_validate`, `env_create`, `env_apply`, `env_logs`, `env_exec`, `env_connect`, `env_extend`, and `env_destroy`. Creating an environment is idempotent per task. Agents also get skills for writing manifests and debugging failed environments. ## Secrets Secret values are encrypted with envelope encryption: a fresh key per value, sealed with AES-256-GCM under a rotatable key ring. They are delivered only to the machine’s agent and never returned by reads. To use environments in the app, see the Environments page in your account menu, when your team has it enabled. ## Questions ### Do Nested environments run in my cluster? No. Each environment is a separate virtual machine on the cloud provider the Environments service is configured with. It accepts no inbound traffic and is reached only through the Environments gateway. ### How long does an environment live? An agent’s environment ends with its task by default. Others end at their time-to-live. Team ceilings default to 8 hours. ### Can I share a public preview link? Not yet. Preview links require Nested sign-in. ## Related - [Architecture](https://nested.me/docs/architecture) - [Security model](https://nested.me/docs/security) - [Agent runtime](https://nested.me/docs/agent-runtime) - [Install Nested](https://nested.me/docs/install) --- # Security model > How Nested protects your data: deployment boundary, sign-in and tokens, encryption at rest, secrets, agent isolation, teams, and the audit log. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/security ## The boundary is your cluster Every Nested service runs in a Kubernetes cluster you operate, and customer data is stored in the Postgres and object storage there. Some flows still leave the cluster, each because you configured it — the coding agent’s model calls, the built-in assistant’s LLM endpoint (which formula gates also use), and an opt-in external gate resolver. There is no shared multi-tenant production service. See [Architecture](https://nested.me/docs/architecture) for what traffic leaves the cluster and why. ## Sign-in | Method | Notes | |---|---| | **Passkeys** | WebAuthn with discoverable credentials and user verification required. Locked out after 10 failed attempts in 15 minutes. Enabled per install | | **Google** | Accounts are created on first sign-in only for verified emails on an allowed domain, or with a pending team invitation. Registration is not open to the public | | **Password** | SRP-6a: the server stores a verifier, never the password. 10 attempts per 15 minutes. In managed installs, a break-glass path only | ### Tokens - Access tokens are RS256 JWTs that live **15 minutes**. Signing keys are published as a JWKS. - Refresh tokens live **7 days** and rotate on every use. Reusing a spent refresh token outside a 60-second grace window revokes the whole token family. - Agents get **task tokens** that last 15 minutes by default and at most 1 hour, with no refresh. ### Nested as an identity provider Nested is an OpenID Connect provider. Other apps can use **Sign in with Nested** through the authorization code flow with PKCE (S256 only). Public clients show a consent page before access is granted. Dynamic client registration is not supported. ## Authorization - **Teams.** Data is scoped to a team, with roles owner, admin, and member. A cross-team isolation test suite guards the boundary. - **Resource access.** Ownership and team rules decide who may view, message, or manage each agent, task, and pack — for people and for non-human callers such as peer agents, schedules, and automations. - **Task acceptance.** Each agent accepts tasks from **Only me** or **Anyone signed in**, enforced by the task service. - **Policies.** Operators can attach CEL policies, for example to control who may publish packs. ## Encryption at rest Each service that stores credentials seals them with **AES-256-GCM** under its own key: connector tokens, cluster credentials, Git source credentials, webhook secrets, bot credentials, notification tokens, and saved website logins. Environments uses envelope encryption with a rotatable key ring. Keys come from your install’s configuration or your Vault through External Secrets; Nested does not integrate with a KMS or HSM. ## Secrets in agents - You store API keys as [secrets](https://nested.me/docs/secrets), available to **Only me** or **Everyone**. Values are write-only in the app. - Bound secrets reach the agent pod through a Kubernetes Secret, never inlined into manifests. - Connector tokens never enter the agent: a loopback proxy adds them to requests. - Saved website logins are typed by a broker into a browser the agent controls; the agent receives a status, never the password. > [!WARNING] > A coding agent with shell access can read environment variables you bind to it. Nested’s environment filter hides common secret patterns from agent processes, but you should still bind only the credentials an agent needs and prefer connectors and site logins, which keep secrets out of the pod. ## Agent isolation Standard agent pods request the Sysbox runtime with user namespaces and otherwise use the default runtime. An agent created with the **Isolated VM** runtime runs in its own Kata virtual machine; if Kata is missing, its deploy fails instead of falling back. Privileged mode is removed from every pod that is not a Kata pod. Pods run as an unprivileged user, and coding-agent processes get a deny-by-default environment. See [Agent runtime](https://nested.me/docs/agent-runtime). ## Network exposure Agents are not reachable from the internet by default. Each agent has a cluster-internal Service, and the control plane reaches it there. Control, ACP, and shell calls go through a separate relay port that checks each call’s token and that no ingress routes to. Inbound events from GitHub, Slack, and webhooks are verified before they become tasks; generic webhooks default to HMAC signatures. Team custom connectors cannot target private addresses. ## Audit Every user action across services is recorded in an audit log: who, what, which resource, field-level changes, request id, IP address, and user agent. The log keeps 90 days by default. You can read your own entries under **Settings → Activity**. Knowledge pages keep their own full version history. ## Questions ### How does Nested encrypt secrets? Each service seals stored credentials with AES-256-GCM under its own key. Environments uses envelope encryption with a rotatable key ring. ### Does Nested support passkeys? Yes. People can add passkeys to their profile and sign in with them. Passkeys require user verification. ### Can agents be reached from the internet? Not by default. The control plane reaches agents over their cluster-internal Service, and agents pull their work from the task service. ## Related - [Architecture](https://nested.me/docs/architecture) - [Agent runtime](https://nested.me/docs/agent-runtime) - [Secrets](https://nested.me/docs/secrets) - [MCP servers and connectors](https://nested.me/docs/mcp-and-connectors) --- # Install Nested > Install a Nested cell on your Kubernetes with nested-install: requirements, the setup file, the install steps, upgrades, backups, and teardown. Section: Platform · Updated: 2026-11-19 · Canonical: https://nested.me/docs/install ## How installation works `nested-install` is a command-line tool that installs one Nested cell from one setup file. It runs on your machine, talks to your cluster through a kubeconfig, and keeps its state in a `state` folder beside the setup file. Each install runs as a resumable workflow: every step is recorded, and an interrupted install continues from the first unfinished step. Generated secrets are read from the state folder, so they never appear in workflow history. ## Before you start - A Kubernetes cluster and a kubeconfig with admin rights to it. - A default StorageClass (or one you name in the setup file). - A DNS zone. Public hosts are derived from the cell slug and zone, for example `acme.example.com`. - Optional: Sysbox or Kata Containers for agent isolation. The installer can install either. Kata needs KVM (`/dev/kvm`) on each node that runs it. - Optional: node role labels. Label nodes `nested.io/platform=true` or `nested.io/agents=true` to keep platform services and agents apart, and `nested.io/kata=true` or `nested.io/sysbox=true` to choose where Kata or Sysbox is installed. Add a `NoSchedule` taint with the same key to dedicate a node to that role. Without labels, every pod can run on any node. ## Steps 1. Write a commented setup file: ```bash nested-install init ``` 2. Edit `setup.yaml`. At minimum, set `kubeconfig`, `cell.slug`, and `cell.zone`: ```yaml kubeconfig: ~/.kube/config cell: slug: acme zone: example.com display_name: Acme cluster: runtime: sysbox # sysbox, kata, or none services: ntfy: true observability: false argocd: true # false stops after the platform layer ``` 3. Create the cell: ```bash nested-install bootstrap --file setup.yaml ``` 4. If the run stops, check it and continue: ```bash nested-install status --file setup.yaml nested-install resume --file setup.yaml ``` ## What the installer creates 1. Namespaces: `platform`, `apps`, and `agent-platform`. 2. Platform charts: the CloudNativePG operator, Traefik when ingress is managed, cert-manager when enabled, and the platform services — Postgres, Dragonfly, Temporal, NATS, RustFS, and optionally ntfy and observability. 3. A database and role for each Nested service. 4. With `services.argocd: true`: the server configuration, the Nested apps registered as Argo CD applications, the default authorization policies, and your cluster registered with its first agent in the catalog. The data services and Temporal are required; the installer refuses a setup file that turns them off. ## Setup file reference | Block | What it sets | |---|---| | `cell` | Slug, DNS zone, scheme, display name, and optional custom origins for the app, console, and API | | `namespaces` | Platform and app namespaces | | `cluster` | Cluster name, agent namespace, ingress class, StorageClass, and sandbox runtime. `runtime: kata` installs Kata so people can choose **Isolated VM** when they create an agent; other agents keep the cluster’s default runtime | | `agents` | The agent catalog: image and the coding agents each one installs | | `services` | Optional services: ntfy, observability, auth proxy, Argo CD, cert-manager | | `images` | Image repositories and tags for the apps | | `ingress` | Hosts for the API, app, console, webhooks, notifications, and object storage | | `environments` | Turns on the Environments service; requires Argo CD and cert-manager | | `assistant` | The built-in assistant’s OpenAI-compatible endpoint (`chat.baseUrl`, required) and `chat.model`. Optional `chat.effortProfile` (`none`, `moonshot-k3`, `openai`, or `ollama`) translates each assistant job’s reasoning effort into that vendor’s value | ## Day-two operations | Task | Command | |---|---| | Re-apply after changing the setup file | `nested-install apply --file setup.yaml` | | Roll the apps to the current image digests | `nested-install update --file setup.yaml` | | Converge only the platform charts | `nested-install platform apply --file setup.yaml` | | Back up the setup file and state | `nested-install export --file setup.yaml` | | Restore from a backup | `nested-install import ` | | Remove the cell | `nested-install destroy --file setup.yaml` | > [!WARNING] > The state folder holds the cell’s generated secrets and identity. Keep it — or an `export` archive — somewhere safe. `destroy` removes the Helm releases, applications, and namespaces it created. After the install, sign in to the console to configure official connectors and the agent catalog, then open the app and [deploy your first agent](https://nested.me/docs/deploy). ## Questions ### How do I install Nested? Run `nested-install init` to write a setup file, fill in your kubeconfig, cell slug, and DNS zone, then run `nested-install bootstrap --file setup.yaml`. ### What happens if the install fails halfway? Every step is recorded in the state folder. Fix the cause and run `nested-install resume`; it continues from the first unfinished step. ### Do I need Argo CD? Argo CD is how the installer rolls out the Nested apps. With `services.argocd: false`, the installer stops after the platform layer. ## Related - [Architecture](https://nested.me/docs/architecture) - [Security model](https://nested.me/docs/security) - [Agent runtime](https://nested.me/docs/agent-runtime) - [Deploy an agent](https://nested.me/docs/deploy) --- # How Nested agents remember: memories and knowledge centers > Memories now belong to you, not to an agent. How recall, distill, versioned Markdown pages, and shared knowledge centers keep context between tasks. Published: 2026-11-19 · Topics: Knowledge, Agents · Canonical: https://nested.me/blog/memories-and-knowledge-centers ## Agents forget, and that is the default A coding agent starts every session from nothing. Whatever it learned yesterday — that your staging database is read-only on Fridays, that you prefer small PRs, that the flaky test is a known issue — is gone unless something brings it back. Nested has two ways to bring it back. **Knowledge centers** hold shared reference material: runbooks, conventions, a team wiki. **Memories** hold what agents learn about *you* and your work. This post covers how both are stored, how agents use them without blowing their context window, and why we recently moved memory from agents to people. ## Memory belongs to you Our first memory design gave each agent its own memory. It worked until people used more than one agent. Someone working with a builder, a debugger, and a documenter had to teach each of them the same preferences. Worse, deleting an agent deleted everything it had learned. So memory now belongs to a person inside a team. Every agent you work with can read your memory and add to it, so a lesson learned on one agent shows up on the next. Each account gets a default memory per team, and can create up to five for separate areas of work. A memory holds up to 2,000 pages. Operators can read every knowledge center *except* memories. Memories are private to their owner. ## A memory is versioned Markdown Memories and knowledge centers share one format: the **Open Knowledge Format (OKF)**, which is plain Markdown with YAML frontmatter. A page needs a `type`, and can carry a title, description, tags, a timestamp, and an expiry date. People and models both read it, and a whole center exports as a tarball. A new memory starts with a fixed structure — a welcome page, sections for lessons, people and systems, decisions, a logbook, and per-agent environment notes, plus an empty `preferences` page. The structure pages are owned by Nested so they stay consistent; the content inside is yours and your agents’. Storage is split by mutability. Every page body is written to the object store as an immutable snapshot. Postgres holds the live pointer, the search index, every version, and a change log with a unified diff of each edit. We moved to this layout after a review showed that keeping mutable objects in step with Postgres was fragile; with immutable snapshots, a version is a pointer, and restore is cheap. Every change records who made it — an agent (with the agent and task that caused it), an operator, the owner, or the system. Restoring an old version copies it forward as a new version, so history is append-only. ## How a task chooses its memories Each task fixes its memory selection when it is created: your defaults, no memory, or an explicit list of up to three memories, each read-only or read-and-write, with one marked primary. The selection comes from, in order: 1. What you picked in the composer for this task. 2. What the automation, schedule, or hook that started it specifies. 3. Your defaults — the memories marked **Attach to new tasks by default**. Child tasks inherit their parent’s selection, so a delegated task remembers what the original one did. A binding only takes effect if the memory still exists, you own it, it is in the task’s team, and you are still a member — leave a team and agents lose access within seconds. ## Recall: a small, fast budget Before each turn, the agent builds a memory block from every bound memory and adds it to the prompt: - your `preferences` page, - this agent’s own environment notes, - up to five matching fact pages and three current logbook entries per memory. The whole block is capped at 6 KiB, each page at 2 KiB, and recall gives up after 500 milliseconds. Memory should never be the reason a turn fails or slows to a crawl; if recall is slow, the turn simply runs without it. ## Distill: learning after the task When a task completes (and, by default, when it fails), a durable workflow reviews the task’s runbook and messages and writes what is worth keeping into the task’s **primary** memory: durable facts, plus one logbook entry about what happened. It runs once per task close, with a small budget — 30 seconds and eight tool calls. Startup and formula step tasks are skipped. You can turn this off per memory with **Save lessons automatically**. Logbook entries carry an expiry date; a daily job removes expired ones so the logbook stays a recent record, not an ever-growing pile. ## Agents read with progressive disclosure Agents reach memories and knowledge centers through the built-in `nested` MCP tools, designed to spend as few tokens as possible: | Tool | What it returns | | --- | --- | | `nested_knowledge_bootstrap` | Each granted center’s instructions and guidelines, its access, and the memories bound to this task | | `nested_knowledge_search` | Stubs only — path, type, title, description, tags (20 by default) | | `nested_knowledge_get` | One page, with a content hash | | `nested_knowledge_neighbors` | Pages that link to or from a page | | `nested_knowledge_put` | Create or update a page, with an optional expected hash | | `nested_knowledge_versions` / `_restore` / `_changes` | History, restore, and the change log | The agent searches, reads only the pages that look relevant, and follows links from there, instead of loading a whole center. ### No silent overwrites Two agents can work for you at the same time. If both edit the same page, the second write would normally erase the first. So writes carry the hash of the page the agent read. If the page changed in between, the write is refused with `CONCEPT_CONFLICT` and the current page, and the agent re-applies its change on top. In memories, an edit to an existing page *must* carry that hash. ## Search without embeddings Search is Postgres full-text search. There is no vector database. We chose that deliberately: memories and team docs are full of exact names — services, flags, error codes, people — where keyword search is precise and explainable, and one less moving part in your cluster matters more than marginal recall. Progressive disclosure through links covers much of what semantic search would add. ## Shared knowledge centers Knowledge centers are for material many agents should share. Each center has required **instructions** (what it is for) and **guidelines** (how to write in it), which the agent loads at bootstrap and follows. You attach centers to an agent from its settings, read-only or read-and-write. A built-in **Nested Platform** center, with documentation about Nested itself, is always available and cannot be changed through the API. ## Keeping a memory tidy Over months, any memory collects duplicates and contradictions. **Reorganize** asks one of your agents to find clusters of related pages — duplicates, conflicts, logbook entries that have become standing knowledge — and propose a plan of changes (each run sends at most 40 clusters to the model). You review the preview and apply it. A page that changed since the plan was made is skipped, not overwritten. You can also **Forget** what a single task taught, reset a memory to its starting pages, or delete it. ## Closing Context is the most valuable thing an agent accumulates, and the easiest to lose. Making memory yours, versioned, and readable by every agent you use turns it into something you can trust and correct. Manage yours under [Memories](https://nested.me/docs/memory), and share team material with [knowledge centers](https://nested.me/docs/knowledge). ## Questions ### Do Nested agents remember previous tasks? Yes, through your memories. Before each turn, the agent recalls your preferences and relevant facts, and after a task closes it saves what it learned to your primary memory. ### Is memory shared between agents? Yes. Memories belong to you, not to an agent, so every agent you work with in a team reads and adds to the same memories. ### Can operators read my memories? No. Operators can read shared knowledge centers but not memories, which are private to their owner. ### Does Nested use a vector database for memory? No. Search uses Postgres full-text search, and agents follow links between pages to find related context. --- # Inside cloud-agent: how a Nested agent runs, sleeps, and recovers > What runs in each agent pod: ACP sessions with Cursor, Claude Code, or Kimi, the sandbox, idle scale-to-zero, crash recovery, and drain-and-restart reloads. Published: 2026-11-12 · Updated: 2026-11-19 · Topics: Agents, Architecture · Canonical: https://nested.me/blog/inside-cloud-agent ## A pod that hosts a coding agent Every agent you deploy in Nested is one Kubernetes pod running `cloud-agent`. It is not itself a model or a coding agent. It is the host that turns a vendor coding agent — Cursor, Claude Code, Kimi, or another — into a durable, multi-task worker that lives in your cluster. The pod has a lot to juggle: claiming tasks from the platform, keeping several coding sessions alive, holding vendor logins, staying inside a sandbox, going to sleep when nobody needs it, and picking up exactly where it left off after a crash. This post is a tour of how each of those works. ## What is in the image The agent image comes in two flavors: a full Ubuntu desktop with Chrome (so you can watch the agent’s screen from the app) and a lighter variant without a desktop. Both ship the `cloud-agent` binary, an SSH server, Node.js, and a few context-saving command-line tools. What the image does **not** contain is any vendor’s coding-agent CLI. On startup, the agent installs the coding agent you chose from the public Agent Client Protocol registry. That keeps the image vendor-neutral and lets each agent update its CLI without us rebuilding anything. Docker, Ollama, and similar tools arrive as packs, not as image layers. ## Talking to coding agents over ACP `cloud-agent` drives coding agents through the **Agent Client Protocol (ACP)**: JSON-RPC over the coding agent’s standard input and output. The app offers three presets — Cursor, Claude Code, and Kimi — and any other agent in the ACP registry can be configured by hand. ### Signing in Coding agents need their vendor’s login. The agent supports API keys from a bound secret and, for agents that support it, a headless sign-in: the app shows you a URL or device code, you approve it, and the agent finishes the login. While sign-in is needed, the agent holds new work for that vendor and the app shows **Sign in to use this agent**. A login attempt expires after 15 minutes. One agent can hold up to 10 vendor accounts and switch between them. Switches are crash-safe: credentials are written to a temporary file and renamed, and a journal lets a restarted pod roll back a switch that did not commit. A normal switch waits up to 10 minutes for running turns to finish; a forced switch gives them 30 seconds. ### Sessions Live coding sessions are keyed by context, task, and agent. Two tasks in the same conversation context get independent coding sessions but **share the context’s workspace directory**, so one task can pick up the files another left behind. A pooled session is closed after 30 idle minutes — unless it still has background work, such as a subagent, a pending permission prompt, or an open terminal. The worker claims new tasks every five seconds and runs up to four turns in parallel. A turn may run for up to 24 hours. ## The sandbox The first isolation boundary is the pod. By default it runs under the Sysbox runtime in a user namespace, which lets the agent run its own Docker daemon without a privileged container. If Sysbox is not available, it runs on the default runtime — unless you pinned a runtime, in which case the deploy fails rather than downgrade. An agent created with the opt-in **Isolated VM** runtime runs in a Kata microVM instead; that choice is fixed for the agent’s life, because its volumes are raw block devices formatted inside the VM. Inside the pod, the coding agent, its terminals, and hook scripts run with a deny-by-default environment. Only an allowlist of variables passes through, and names that look like credentials (`*_TOKEN`, `*_SECRET`, `*_PASSWORD`, `AWS_*`, `DATABASE_*`, `KUBERNETES_*`) are always stripped. We tried a per-process filesystem sandbox with bubblewrap first. It does not work inside Sysbox, because nested user namespaces fail there, so the pod boundary stays the filesystem boundary. ## Sleeping when idle An agent that nobody is using still holds CPU and memory. So the deploy service stops idle agents: 1. Every minute, under a database lock so only one control-plane replica acts, it looks at running agents that a person did not stop. 2. For each one, it asks: does the task service have unfinished work for it? Does the formula service have unfinished runs? Is a memory reorganize using it? Is a settings reload in progress? Was there recent terminal or desktop activity, or is a person signing the agent in to its vendor? Did it roll out within the quiet period, before anyone had a chance to use it? 3. **Any error counts as busy.** We would rather keep an agent up for nothing than stop one mid-task because a probe timed out. 4. After 10 quiet minutes, it records the stop reason as idle, probes once more, and scales the agent to zero. When new work arrives — a message, an automation, a formula step — the task service asks the deploy service to start the agent again, and the task waits as submitted until the agent claims it. Workspaces live on persistent volumes, so nothing is lost. If you stopped an agent yourself, it stays stopped; idle wake never overrides a person. ## Recovering a turn after a crash Pods restart: a node drains, a container runs out of memory, an image updates. Each agent is a single pod, which makes recovery simple. On boot, the agent looks for tasks that were `WORKING` before this process started, and tasks that were waiting on background work. Any such task was interrupted by definition — no other process could have been running it. No heartbeat or lease needed. For each one, it asks the task service to continue it. In one transaction, the task service appends a system continuation message and requeues the task, and the normal worker picks it up — the same path as you typing “continue”. Automatic recovery is capped at three attempts per task per hour. After that, the agent stops and tells you: “The agent restarted several times while working on this task, so it stopped resuming automatically. Send a message to continue.” A crash loop should not burn your model budget overnight. ## Changing settings without killing work Agent settings changes are applied by draining and restarting, not by swapping config inside a running process: 1. The deploy service tells the agent, through a platform-only relay port on the agent’s cluster-internal Service, authenticated with a per-agent token, that a new configuration exists. The control listener itself stays on loopback; the relay forwards to it after checking the token. 2. The agent stops admitting new work and waits for running turns. It never cancels them. 3. The process exits; Kubernetes restarts the container. 4. On boot, the agent fetches the desired configuration. Each configuration has a generation — a keyed HMAC fingerprint of its content — so the agent knows whether it is current. If running turns do not finish within five minutes, the agent stays on the old configuration, reports a drain timeout, and opens up again. An unparseable configuration crashes the boot on purpose, so a bad save is loud instead of half-applied. Image, resource, and storage changes still need a full redeploy. ## What you see in the app | Situation | What the app shows | | --- | --- | | Agent stopped while idle | “It stopped after a quiet period to free resources,” with **Start agent** — or it starts when you send work | | Vendor sign-in needed | A sign-in prompt with a link or code | | Pod restarted mid-turn | The task resumes on its own, up to three times an hour | | Settings saved | Running turns finish before the agent restarts with the new settings | | Checking the agent’s machine | **Desktop** and **Terminal** from the task panel | ## Trade-offs - **One pod per agent.** There is no failover replica. A singleton keeps recovery and workspace ownership simple; the cost is a short gap while a pod restarts. - **No liveness probe.** A coding turn can look idle from outside for a long time. We accept slower detection of a truly hung process to avoid killing real work. - **Cold starts.** An idle-stopped agent takes time to start again, so the first task after a quiet period waits for the pod. We chose lower idle cost over instant answers. ## Closing The goal of `cloud-agent` is to make a coding agent behave like a dependable service: it accepts work from a queue, survives restarts, sleeps when it can, and never drops a turn silently. For the setup side, see [Deploy an agent](https://nested.me/docs/deploy) and [Agent settings](https://nested.me/docs/agent-settings). ## Questions ### Which coding agents does Nested support? Cursor, Claude Code, and Kimi are presets in the app. Other agents from the Agent Client Protocol registry can be configured manually. ### Do idle agents keep running and using resources? No. After about 10 quiet minutes with no tasks, formula runs, or recent terminal activity, an agent scales to zero. It starts again when new work arrives, with its workspace intact. ### What happens to a running task if the agent pod restarts? The agent finds interrupted tasks on boot and continues them automatically, up to three times per task per hour. ### Does changing agent settings interrupt running tasks? No. The agent drains running turns before restarting with the new settings. If they do not finish within five minutes, it keeps the old settings and reports a timeout. --- # The Nested security model, layer by layer > Sign-in, tokens, teams, secrets at rest, site logins, agent sandboxes, and audit: how Nested protects an install, and the gaps we have not closed yet. Published: 2026-11-05 · Updated: 2026-11-19 · Topics: Security, Architecture · Canonical: https://nested.me/blog/nested-security-model ## Start with the boundary The largest security property of Nested is not a feature. It is that the platform runs in your Kubernetes cluster, with your Postgres and your object store, and there is no shared vendor backend holding your data. We wrote about that choice in [Why Nested runs inside your cluster](https://nested.me/blog/why-nested-runs-in-your-cluster). A boundary is not a security model, though. Inside it, people sign in, agents act on their behalf, credentials move from a settings screen into a running pod, and someone has to be able to answer “who did this?” six weeks later. This post goes through those layers in order, including what is not done yet. ## Signing in Nested’s auth service is its own identity provider. It supports three sign-in methods: | Method | How it works | | --- | --- | | **Passkeys** (WebAuthn) | Discoverable credentials with user verification required, both when you add a passkey and when you sign in. A ceremony expires after 5 minutes, and 10 failures in 15 minutes lock that client out. | | **Google** | Standard Google sign-in. A new account is created only when Google says the email is verified *and* either its domain is on the operator’s allowlist or a team invitation for that email is pending. Registration is never open to the public. | | **Password** | SRP-6a, so the server stores a verifier and never sees or stores the password. Attempts are rate limited. In managed installs, password sign-in is a break-glass fallback that is off unless an operator enables it. | You can add several passkeys from **Settings → Profile**, and you cannot remove your only way to sign in. ## Tokens Sessions use RS256-signed JWTs, with public keys published at a JWKS endpoint so every service can verify tokens without calling back. | Token | Lifetime | | --- | --- | | Access token | 15 minutes | | Refresh token | 7 days | | Agent task token | 15 minutes by default, 1 hour hard cap, no refresh | Refresh tokens rotate: each refresh revokes the old pair and issues a new one in the same family. If a spent refresh token comes back, that usually means it was stolen — so the server revokes the whole family. The one exception is a 60-second grace window, during which a repeat returns the same successor pair. Without it, two browser tabs refreshing at the same moment would sign each other out. Nested is also an OAuth 2.0 and OpenID Connect server, so other tools can offer “sign in with Nested”. It supports the authorization code flow with **PKCE S256 only**. Public clients get a consent page that shows which details they asked for. A consent transaction lives 15 minutes and is consumed atomically, and the audit log records the client and the outcome — never the code, state, or redirect query. ## Teams and access Everything in Nested belongs to a team: agents, tasks, automations, reports, packs, connectors, memories. Members are owners, admins, or members, and team scoping is enforced in each service, backed by a cross-team isolation test suite. On top of teams, a resource-access layer answers questions like “may this caller submit a task to this agent?” with an explicit reason — allowed as owner, allowed as team member, denied because the agent only accepts tasks from its owner. The same rules cover non-human callers: peer agents, the scheduler, automations, and startup tasks. Named CEL policies gate sensitive actions such as publishing or deleting packs. A few things are private even from operators. Memories belong to the user who owns them, and operator access to knowledge explicitly excludes memory centers. ## Secrets at rest Every service that stores a credential encrypts it with AES-256-GCM, a random nonce per value, and its own 32-byte key from your configuration: | What | Encrypted by | | --- | --- | | Connector OAuth tokens and credentials | The connectors service | | Cluster connection and registry credentials, user secrets for agents | The deploy service | | Webhook secrets and bot credentials | The hooks service | | Saved website logins | The site-access service | | Git source credentials for packs | The pack service | | Notification tokens | The notification service | | Environment secrets | The Environments service, with envelope encryption and a rotatable key ring | Secrets you give an agent never appear inline in a manifest. The deploy service renders them into a Kubernetes Secret owned by the agent’s Helm release and wires each one into the pod with `secretKeyRef`. When you create a secret you choose who can use it — only you, or everyone in the team — and the app only offers secrets you can use. ## Passwords the model never sees Some work needs a website login: a vendor dashboard, an admin portal. Pasting a password into chat puts it into the model’s context and the runbook. **Site logins** avoid that. You save a login once and grant it to specific agents. When an agent needs it, a broker in the agent pod types the password into a browser the broker controls, and the agent receives only a status. One-time codes, captchas, and phone approvals are asked of you through a card in the app, never in chat. ## Inside the agent pod Agent pods run in a user-namespaced sandbox. The default RuntimeClass is Sysbox, which lets an agent run Docker without privileged mode. If your cluster has no Sysbox, a standard agent runs on the default runtime, unless you pinned a RuntimeClass, in which case a missing one fails the deploy. So check what your agents actually run on; it is not always Sysbox. For stronger isolation, the person creating an agent can choose **Isolated VM** when the cluster has Kata: the agent then runs in its own virtual machine, and its deploy fails rather than fall back if Kata is missing. Inside the pod, the coding agent and its terminals run with a deny-by-default environment: only an allowlist (`PATH`, `HOME`, `LANG`, a few more, and whatever the agent’s configuration adds) passes through, and patterns like `*_TOKEN`, `*_SECRET`, `*_PASSWORD`, `AWS_*`, and `DATABASE_*` are always stripped. Connector tokens are added by a loopback proxy rather than handed to the session, as we described in [the MCP catalog post](https://nested.me/blog/mcp-catalog-and-code-mode). ## Audit The auth service keeps a cross-service audit trail of user actions: who acted (person, agent, or service), the action, the resource, field-level changes, request id, IP address, and user agent. It is stored in monthly Postgres partitions and kept for 90 days by default. You can read your own trail under **Settings → Activity**. Domain histories, such as every version of a knowledge page, are kept separately by their own services. ## What is not done We would rather you hear these from us: - **An agent pod cannot yet keep every secret from the model.** If you bind a secret into an agent’s environment for a tool to use, a determined prompt can read it. The environment filter, the token proxy, and site logins are the mitigations we have shipped; they narrow the problem, they do not close it. Bind only what an agent needs. - **Keys come from configuration.** Encryption keys are static keys in your configuration or secret store. There is no KMS or HSM integration, and only Environments has a rotatable key ring. - **No dynamic client registration** for “sign in with Nested” yet. OAuth clients are registered by an operator. - **Webhook replay protection is mostly deduplication.** Slack requests carry a timestamp window; generic, GitHub, and Sentry deliveries are deduplicated by id. ## Closing Security in Nested is mostly a long list of small, boring decisions: verify the user, scope the token, encrypt the secret, keep it out of the prompt, write it down. The [security docs](https://nested.me/docs/security) cover how to configure each layer for your install. ## Questions ### Does Nested support passkeys? Yes. Nested supports WebAuthn passkeys with user verification required, plus Google sign-in and an SRP password fallback. You add passkeys under Settings → Profile. ### How does Nested store secrets? Each service encrypts credentials at rest with AES-256-GCM and its own key. Secrets you bind to an agent are delivered through a Kubernetes Secret and `secretKeyRef`, never inline. ### Can the agent read my website passwords? Not with site logins. A broker in the agent pod types the password into its own browser and returns only a status to the agent. ### Does Nested have an audit log? Yes. User actions across services are recorded with actor, action, resource, and field changes, kept 90 days by default. You can view your own under Settings → Activity. --- # Agents talking to agents: tasks, A2A, and discovery in Nested > Every request to an agent is a task in one system of record. How Nested uses the A2A model for delegation, discovery, lineage, and who closes a task. Published: 2026-10-28 · Updated: 2026-11-19 · Topics: Agents, Architecture · Canonical: https://nested.me/blog/agents-talking-to-agents ## One agent is not a team A specialized agent is better at its job than a generalist — a debugger with the right tools, a documenter that knows your style guide, a builder that knows your deploy pipeline. But real work crosses those lines. The builder hits a production error and needs the debugger. The debugger finds the fix and needs the docs updated. So agents have to talk to each other. The hard part is not the message. It is everything around it: who is allowed to ask, who can see the result, what happens when a pod restarts mid-conversation, and how a person later reconstructs who asked whom to do what. ## Everything is a task Nested models work on the open A2A (Agent2Agent) protocol: a **task** has an id, messages, a status, artifacts, and belongs to a **context**. Every source of work creates one — a person in the app, another agent, an automation, a schedule, a webhook, a formula step, or an agent’s own startup list. All of them go through one place: the task service in the control plane. It is the single system of record and the single way in. Agents do not receive pushed requests. Each agent polls the task service every five seconds and atomically claims the oldest submitted task for its deployment, running up to four turns in parallel. That pull model replaced an earlier design where callers talked to agent pods directly, which made stuck work invisible. Now a task that nobody claims sits visibly in `SUBMITTED`, and an agent that is offline is obvious. ## The life of a turn 1. A caller submits a message. The task service checks the caller may submit to that agent — an agent can accept tasks from anyone signed in, or only from its owner — and stores the task as `SUBMITTED`. 2. The agent claims it and moves it to `WORKING`. 3. The turn runs as a durable workflow whose id is derived from the task and message, with a “use existing” conflict policy. Two executions of the same turn cannot happen, even after a crash and retry. 4. The coding agent finishes, and its stop reason becomes the task’s state. | Coding agent stop reason | Task state | | --- | --- | | End of turn, token or request limit | `INPUT_REQUIRED` | | Authentication required | `AUTH_REQUIRED` | | Cancelled | `CANCELED` | | Refusal | `REJECTED` | | Anything else | `FAILED` | Each turn also writes a **runbook** — the prompt, context, tool calls, plan, output, usage, and errors — to object storage, so you can audit exactly what happened. ## The caller decides when work is done Notice that a normal turn ends in `INPUT_REQUIRED`, not `COMPLETED`. That is deliberate, and it reverses our first design. We originally closed tasks automatically when a turn ended, and even tried a model that judged whether the reply was “final”. Both were wrong often enough to hurt. Closing by default forced every follow-up into a new task, losing the thread. The judge could not tell a rhetorical question from a real one. So now the caller decides: reply on the same task, mark it complete, or cancel it. In the app that is your **Complete** and **Abort** buttons, and the **Needs you** list. There are three principled exceptions: formula steps complete on a clean end of turn (the formula is their caller), startup tasks close themselves because nobody will answer them, and scheduled runs are completed by the schedule that started them. ## Delegation through the platform Agents delegate with tools from the built-in `nested` MCP server: | Tool | What it does | | --- | --- | | `nested_discovery_discover_agents` | Lists other agents in your install (online by default, never yourself) | | `nested_a2a_send_message` | Sends a task to a peer, or continues one. Returns immediately. | | `nested_a2a_get_task` | Polls a task’s status | | `nested_a2a_complete_task` / `nested_a2a_cancel_task` | Closes or aborts a task the caller started | Sending is non-blocking. A delegating agent can start three peers and keep working, then poll each one. A new message reuses the caller’s context, so related work across several agents stays grouped under one topic, and the new task becomes a child of the calling task. Every task-service call from these tools is bounded at 30 seconds. Messages between agents never go pod-to-pod: they pass through the task service (the one direct call is a peer file download, which goes to the peer agent’s API), which means every delegation is authorized, stored, and visible in the same task list you already use. In the app, a delegated message shows as “Automated message from” its origin. ## Discovery and Agent Cards Each running agent registers with the discovery service and publishes its **Agent Card**: who it is and what it can do. It heartbeats every 30 seconds; after 90 seconds of silence discovery marks it offline. An agent can be registered without being findable by peers, so a private agent does not show up in other agents’ searches. ## Lineage and attribution Delegation chains get long, so every task records where it came from: - **Lineage:** its parent task and root task. - **Request kind:** chat, startup, scheduled, hook, automation, or formula — so lists can group and filter by origin. - **Attribution:** the origin principal (a person, agent, service, or system), the chain of agents that passed the work along, and the source. When an agent delegates, the origin is kept and the agent is appended to the chain — an idea borrowed from the A2A community’s actor-chain proposal. Attribution is for audit and display. It never grants access. A task’s read rules are based on its context, owner, and lineage, and metadata a sender writes cannot widen them. ## Startup tasks and the busy signal Agents can also give themselves work. An agent’s **startup tasks** are an ordered list that runs as real tasks every time the agent process starts — clone a repository, warm a cache, check a service. A foreground startup task blocks other work: while it runs, new external tasks are refused with `AGENT_BUSY`. Background startup tasks, the default, run alongside normal work. Leftover startup tasks from a previous process are cancelled, and startup tasks close themselves when they finish. ## Moving files between agents Agents often need each other’s output. `nested_peer_get_file` fetches a regular file from a peer by its agent id (never a raw URL), up to 5 MiB. For anything larger, the sender puts the file in the install’s object store and passes the `s3://` URL in the message. ## When delegation needs structure Ad-hoc delegation is fine for “please check this”. For “triage, reproduce, fix, verify, then get sign-off”, use a [formula](https://nested.me/blog/formulas-checked-playbooks): each step is a task, gates check each stage, and the whole run is one row in your history. ## Trade-offs - **Polling adds latency.** A claimed task can wait up to the poll interval. In exchange, every agent is a simple worker, and a queue of unclaimed tasks is visible to operators. - **No reopen for peers.** People can reopen a completed or cancelled task; agents cannot, by design. - **One owner of truth.** Routing everything through the task service makes it a critical component. It is also why recovery, audit, and the **Needs you** list work the same way for every source of work. ## Closing The agents you deploy are specialists. Tasks, contexts, and attribution let them work as a team without losing track of who asked for what. To see it from the user side, read [Concepts](https://nested.me/docs/concepts) and [Chat and tasks](https://nested.me/docs/chat). ## Questions ### How do Nested agents communicate with each other? Through the task service, using A2A-style tasks. An agent calls `nested_a2a_send_message`, which creates a child task for the peer; the peer claims it like any other work. Only peer file downloads call another agent’s API directly. ### Why do tasks stay open after the agent replies? The caller decides when work is done. A finished turn moves the task to input required, and you reply, complete, or cancel it. Automatic closing broke follow-ups. ### Can I see which agent delegated a task? Yes. Every task records its parent, root, request kind, and an attribution chain of the agents that passed the work along. --- # Cutting MCP tool overhead with a catalog and Code Mode > Eleven attached MCP servers cost about 28k tokens before any work. How Nested hides connectors behind a catalog and lets agents script tool calls. Published: 2026-10-22 · Updated: 2026-11-19 · Topics: Agents, Architecture · Canonical: https://nested.me/blog/mcp-catalog-and-code-mode ## The tax nobody budgets for Every MCP server attached to a model session ships its tool schemas into the context window. One server is fine. But a real agent has GitHub, Slack, Jira, Sentry, a few Google Workspace tools, its pack’s servers, and the platform’s own tools. When we measured live sessions with 11 attached servers, the floor was about 28,000 tokens of tool schemas before the user typed anything. That cost is paid on every turn, by every agent, whether or not it touches those tools. And it buys worse behavior, not better: a model choosing between two hundred tools picks wrong more often than one choosing between twenty. ## Where an agent’s tools come from An agent in Nested has three sources of tools: 1. **The built-in `nested` server.** It is part of the agent binary and exposes the platform: discovering and messaging other agents, knowledge and memories, formulas, files and object storage, asking the user for input, site logins, and the connector catalog. 2. **Connectors.** Remote MCP servers that a person connects once with OAuth or a credential — GitHub, Slack, Atlassian, Sentry, Gmail, Drive, Docs, Sheets, Slides, and a zero-trust gateway connector. Team owners can add custom ones. 3. **Pack MCP servers.** Servers a pack declares, installed at agent startup from npm, a command, a remote URL, or a downloaded binary whose SHA-256 is checked. ## The catalog: attach little, discover everything With session catalog mode, which is on by default, the agent does not attach every server to the session. It attaches an “eager” set — always including `nested` — and hides the rest behind four tools: | Tool | What it does | | --- | --- | | `nested_mcp_list` | Lists available servers with a one-line “when to use” hint. No schemas, no secrets. | | `nested_mcp_describe` | Fetches one server’s tools, as JSON Schema or as compact TypeScript signatures. | | `nested_mcp_call` | Calls one tool on one server. | | `nested_mcp_exec` | Runs a short script that can call many tools and return one result (Code Mode). | The model still knows what exists — the list is short and cheap — but it only pays for a schema when it decides to use that server. Describes are cached for the life of the process, and concurrent describes of the same server share one request. The TypeScript format matters more than it sounds. JSON Schema is verbose; a TypeScript signature carries the same information in far fewer tokens. Our estimate when we designed it was 50–70% fewer tokens per describe. ## Code Mode: do the loop where the data is The catalog fixes the fixed cost. It does not fix multi-hop work. “Find every open Sentry issue for this service, look up the commit that introduced each one, and tell me which teams own them” is a dozen calls, and every intermediate payload lands in the context and gets billed again on each later turn. `nested_mcp_exec` lets the agent write that loop as JavaScript and get back only the answer: ```js // Tool names and arguments are illustrative; describe a connector to see its real tools. const issues = mcp.call("sentry", "list_issues", { project: "api", status: "unresolved" }); const commits = mcp.callAll( issues.slice(0, 10).map((i) => ({ name: "github", tool: "get_commit", args: { sha: i.sha } })), ); return commits.filter((r) => r.ok).map((r) => r.value.author); ``` The script runs in a fresh, in-process JavaScript VM (goja, written in pure Go). Its only capabilities are the `mcp` object and `console` logging. There is no filesystem, no network, no `require`, and no timers. A watchdog samples memory every 25 ms and stops the script on timeout or excessive heap growth. | Limit | Default | | --- | --- | | Script timeout | 60 s (max 120 s) | | Upstream calls per script | 25 | | Parallel calls in `callAll` | 4 (max 8) | | Result size | 64 KiB | | Concurrent scripts per session | 4 | The result includes an audit trail of every upstream call — connector, tool, duration, error — so you can see in the runbook exactly what the script did. ## What happens when a task starts The catalog is rebuilt for every task, because every task can belong to a different person: 1. At startup, the agent installs the MCP servers its packs declare and prepends the built-in `nested` server. If a pack server has the same name, the built-in one wins. 2. When a task starts, the agent asks the control plane for the connectors of the task’s owner in the task’s team, skipping any that need reconnection. 3. It rewrites each connector’s URL to point at the loopback token proxy and binds a fresh per-task token generation. 4. It splits everything into the eager set, which is attached to the session, and the catalog, which is handed only to the `nested` server. 5. It fills per-session placeholders such as the workspace path and the task and context ids. If the `nested` server is missing for some reason, the agent fails open and attaches everything, so a broken catalog costs tokens instead of tools. ## Keeping tokens away from the model A catalog full of connectors is a catalog full of credentials. We made three choices so the model and the workspace never see them: - The connector list reaches the `nested` process only through its own environment, and the list tool returns a secret-free view. - Live OAuth tokens are injected by a loopback reverse proxy inside the agent pod. Coding-agent sessions call the proxy; the proxy adds the bearer token and refreshes it when it is within 60 seconds of expiring. - If an upstream returns 401 or 403, the proxy refreshes and retries once. A 403 that survives a fresh token marks the connector as needing reconnection, which shows up in the app so a person can reconnect. A task only sees the connectors of the account that owns it, in that task’s team. When the agent delegates to another agent, the child task inherits the same owner — delegation never widens access. ## No central proxy, on purpose Tool traffic goes straight from the agent pod to the upstream server. The connector service in the control plane handles the catalog, OAuth, encrypted token storage, and resolution — but it does not sit in the middle of every call. A central proxy would be one more hop, one more thing to scale, and one more place where every team’s traffic meets. ## Team connectors and SSRF Team owners and admins can add a custom remote MCP server for their team, with per-member OAuth or shared headers. Because those URLs come from users, they go through an SSRF guard: HTTPS only, no credentials in the URL, and every resolved address must be public unicast. The address is re-checked at dial time, which defeats DNS rebinding. Shared header names are allow-listed, and names like `host` and `cookie` are always refused. ## Trade-offs - **One more step for the model.** List, describe, then call is slower than calling an attached tool. For servers an agent uses on almost every turn, mark them eager. - **Scripts are JavaScript.** It is the language models write most reliably for this kind of glue. It is not a general runtime, and it is not meant to be. - **The old registry is gone.** An earlier design pulled servers from public MCP registries into a searchable catalog. We retired it: servers now come from packs (reviewed with everything else an agent loads) and connectors (connected by a person). ## Closing The best tool call is the one whose schema you never loaded. If you want your agents to reach a new system, connect it once on the [Connectors](https://nested.me/docs/connectors) page, or ship it in a [pack](https://nested.me/docs/packs). ## Questions ### What is MCP Code Mode in Nested? A built-in tool, `nested_mcp_exec`, that runs a short JavaScript script in a sandboxed VM. The script can call many MCP tools and returns only its final result, which saves tokens on multi-step work. ### Why not attach every MCP server to the agent session? Tool schemas cost context on every turn. Sessions with 11 attached servers started at about 28k tokens. The catalog lets the agent load a schema only when it needs it. ### Can the model see my connector OAuth tokens? No. A loopback proxy in the agent pod injects and refreshes tokens, and the catalog tools return a view without credentials. --- # Automations: how a GitHub event becomes an agent task > Schedules, webhooks, GitHub, Slack, and Sentry triggers compile onto durable schedules and a fast-ack ingress. Here is the path from event to task. Published: 2026-10-14 · Updated: 2026-11-19 · Topics: Automation, Architecture · Canonical: https://nested.me/blog/automations-from-events-to-tasks ## Four products became one Before automations, Nested had four separate ways to start work without a person: scheduled tasks, generic webhooks, a Slack bot, and a GitHub integration. Each had its own setup screen and its own template language for turning an event into a message. Building “when a pull request opens, review it” meant learning one of them; “and every Monday, summarize the week” meant learning another. An **automation** is one object that says *when* (one or more triggers), *which agent* runs the work, and *what* it does — instructions, or a formula from that agent’s packs. Triggers are OR-combined: any of them firing starts a run. The interesting part is what we did not build. Automations do not have their own timers or their own webhook receivers. They compile onto the pieces that already worked. ## Compile, don’t re-implement When you save an automation, the server turns each trigger into its backing: | Trigger | Backing | | --- | --- | | Schedule | A Temporal Schedule on a dedicated queue | | Webhook | A generic inbound hook, tagged with the automation | | GitHub | A binding on the official GitHub App’s deliveries | | Slack | A binding on the Slack bot’s events | | Sentry (and other catalog providers) | A binding on that provider’s ingress | | Run now | Nothing — only manual runs | Compilation is a compensating saga. If the third backing fails to create, the first two are deleted, so a half-saved automation never leaves a timer firing into nothing. On startup, a reconciler re-creates any backing that went missing. A paused automation keeps its schedules, created paused. ## Schedules are calendars, not cron A schedule trigger has a timezone and one or more calendar entries (days of the week, time of day, day of month) or intervals. They are Temporal Schedule specs, not cron strings. That gives us timezone-correct firing and an explicit overlap policy for when a run is still going at the next tick. Each firing starts a small workflow whose single activity has a two-minute timeout and up to five attempts. The idempotency key is derived from the workflow id, so a retried activity never starts the same run twice. ## The ingress hot path is four steps Webhook providers are impatient. Slack expects an answer within about three seconds and GitHub within ten. So the ingress does as little as possible before it acknowledges: 1. Resolve the target hook or binding. 2. Verify the request. 3. Deduplicate on the provider’s delivery id. 4. Insert one row, and answer. Everything else — rendering templates, matching bindings, creating tasks — happens afterwards in a worker pool that claims deliveries in batches with a lease. A transient failure retries with exponential backoff (starting at one second) up to eight attempts; after that, or on a permanent error, the delivery is marked failed and shows up in the deliveries list, where you can redeliver it. Unknown, disabled, and deleted hooks all return the same empty 404, so an outsider cannot probe which URLs exist. Request bodies are capped at 1 MiB. ## How each source is verified | Source | Verification | Replay protection | | --- | --- | --- | | Generic webhook | HMAC-SHA256 of the raw body in `X-Hook-Signature` (recommended), a shared token, or none | Dedupe only, when the caller sends `X-Idempotency-Key` | | GitHub App | `X-Hub-Signature-256` HMAC with the App’s webhook secret | Dedupe on the delivery id | | Slack | `v0` HMAC over timestamp and body | ±5-minute timestamp window, plus event-id dedupe | | Sentry | `sentry-hook-signature` HMAC | Dedupe on the delivery id | All comparisons are constant-time. Signature headers and secrets are redacted before a delivery is stored. Hook secrets are encrypted at rest, and a webhook trigger shows you its secret exactly once when you create it. Two honest caveats. Only Slack enforces a timestamp window; the others rely on deduplication. And “none” is available for generic hooks because some senders cannot sign — the app makes you type the hook’s name to confirm it. ## From event to task Whether the trigger was a timer or a delivery, a run follows the same path: 1. Load the automation. If it is paused (and this is not a manual run), record a skipped run and stop. 2. Deduplicate on the idempotency key, and create a running run. 3. Make sure the automation has its stable context, so all its tasks group under its name. 4. For instructions: create a task with request kind `automation` and send your instructions as the first message, with the event payload appended (capped at 64 KiB). For a formula: map the event payload onto the formula’s inputs and start a run. 5. Store the task as submitted. If the agent was stopped for being idle, the task service wakes it. 6. The agent claims the task from the queue and works on it like any other. Slack and GitHub deliveries can match several bindings at once — a GitHub delivery fans out to one task per matching agent and automation. ## Talking back An automation can also answer where the event came from: - **Acknowledge comments** adds an emoji reaction to the GitHub comment that matched, so the person who wrote it sees the delivery landed before the agent even starts. - **Comment on the pull request** posts the agent’s final message on the PR. - **Slack** posts the result in a channel or in the originating thread. The task service pushes status snapshots to a per-task URL, checked with a per-task bearer token, and follow-ups in the thread continue the same task. - **While it runs**, the agent can be allowed to read the Slack channel the automation is bound to — and only that channel. ## Closing the loop on fire-and-forget work A normal agent turn ends in “needs you”, because the person who asked decides when the work is done. For a weekly digest, nobody is going to come back and click **Complete**. So automations have an opt-in flag: mark the task complete when the agent finishes. A durable watch polls the task every 15 seconds for up to 24 hours and completes it once the agent has stopped and nothing is still running in the background. Formula runs ignore the flag; the formula decides when it is done. ## Reports without a model Every closed UTC day, a schedule at 00:15 UTC asks the task, automation, and formula services for structured facts and writes a frozen report per agent and per account: outcomes by kind, successes and failures per automation and formula, active and wall-clock latency with p50 and p95, what was still open, and the change from the previous period. Weeks fold on Sundays and months at month end. The current day refreshes hourly. Reports deliberately contain no LLM summaries, no message text, and no token totals. They are counts you can trust, kept for 24 months. ## Closing The pattern underneath is the same one we use everywhere: acknowledge fast, persist first, do the work durably, and make every run visible in history. Start with [Automations](https://nested.me/docs/automations), or go straight to [Webhooks](https://nested.me/docs/webhooks) and [GitHub](https://nested.me/docs/github). ## Questions ### Does Nested support cron expressions for schedules? Schedules use calendar entries (days, time of day, day of month) and intervals with a timezone, backed by Temporal Schedules, rather than cron strings. ### How are Nested webhooks secured? Generic webhooks verify an HMAC-SHA256 signature of the raw body (or a shared token), GitHub and Sentry use their signature headers, and Slack adds a five-minute timestamp window. Secrets are encrypted at rest and shown once. ### What happens if the agent is stopped when an automation fires? The task is queued as submitted and the task service asks the deploy service to wake the agent. The agent picks the task up when it is running again. ### Do reports use an LLM to summarize activity? No. Reports are built from structured counts and latencies only, with no message text, summaries, or token totals. --- # Formulas: checked playbooks that agents and people run together > A formula is a typed workflow an agent can call like a tool. How steps, gates, checks, and human decisions run on a deterministic, durable engine. Published: 2026-09-30 · Updated: 2026-11-19 · Topics: Automation, Agents · Canonical: https://nested.me/blog/formulas-checked-playbooks ## Long work needs a shape Ask a coding agent to “fix this bug” and you get one long turn. Sometimes it is great. Sometimes it skips the reproduction, edits the wrong file, and declares victory without running the tests. The agent is not lazy; nothing in a single prompt forces it to stop and prove each stage before moving on. A **formula** gives the work a shape. It is a graph of steps, each one a normal agent task, connected by gates that check the result before the run moves on — and, where it matters, by a person who approves, revises, or rejects. The run is durable: it survives restarts, it can wait days for a human, and every transition is recorded. ## A formula looks like a tool From an agent’s point of view, a formula is just another tool. Every formula has a name, a version, a description written for the agent, and an `input` declared as JSON Schema. When an agent’s packs include a formula, the agent gets an MCP tool named `formula_` whose arguments are that input. Calling it returns immediately with a run id. The caller then either polls the run, or asks to be notified: when the run settles, exactly one follow-up message arrives in the caller’s chat. People start the same formulas from chat, from automations, or through the API, and formulas can start other formulas as sub-steps. Formulas ship only inside packs. There is no separate formula registry, so the same review, revision, and visibility rules that cover a pack cover its formulas. ## The document Here is an abridged piece of the bug-fix formula from our builder pack: ```yaml schema: 2 name: bug-fix title: Fix a bug version: 2.0.2 input: type: object required: [ticket, slug] properties: ticket: { type: string } slug: { type: string } requiresSignOff: { type: boolean, default: false } start: goto: [triage] steps: - id: triage title: Triage the ticket prompt: |- Triage this bug report for {{ .Input.slug }}: {{ .Input.ticket }} maxVisits: 2 then: goto: [triage_passed] gates: - id: triage_passed resolver: jev questions: - id: pass type: bool prompt: Symptom is restated as one testable statement. No fix was applied yet. route: mode: rules routes: - id: pass when: answers.pass goto: [reproduce] - id: retry when: state.triage_attempts < 1 set: triage_attempts: state.triage_attempts + 1 goto: [triage] - id: give_up default: true fail: reason: triage did not pass its check ``` Prose uses Go templates with a fixed, side-effect-free function set. Data uses CEL. The compiler checks every field path statically — including that a step’s output is only referenced where that step is guaranteed to have run — so a typo fails when you save the pack, not three hours into a run. ## The building blocks **Steps** render a prompt and run it as a task on the agent. A step can declare an output schema, write to a typed run state, loop up to `maxVisits` times, fan out over a list with a concurrency limit, continue the previous session or start a fresh one, and end by going to another node, completing, failing, or waiting for input. **Gates** join arrivals and decide where the run goes next. A gate can ask typed questions — yes/no, a choice, or a score — about the evidence so far. A resolver answers them. The external gate-resolver service is opt-in — it runs only when an operator sets its API key — and otherwise the gate falls back to the install’s LLM endpoint when the gate allows it. Whichever resolver answers receives the questions and the gate’s evidence. Then routing happens either by ordered CEL rules, where exactly one route is the default, or by a person choosing a labelled route. **Checks** attach to a step. A human check offers approve, revise, or reject, with a cap of three revisions. A command check runs a fixed command in the agent’s sandbox and passes on exit code 0. Command checks are off by default; an operator has to enable them for the install. **Waiting for input** parks a step until someone replies on its task (a review loop) or submits values that match a schema. ## Who may decide Every decision point has an owner, and agents do not get to approve themselves. | Decision | Who can make it | | --- | --- | | Human gate route | A person with manage access on the agent | | Human check (approve / revise / reject) | A person with manage access on the agent | | Input for a waiting step | A person, or the agent (or ancestor run) that started this run | | Rule-based gate | The CEL rules, after the resolver answers the questions | A step task cannot answer its own run’s input request, and agents have no tool for gate decisions or human checks at all. In the app, everything that needs a person shows up under **Needs you**. ## A deterministic engine on a durable workflow The engine is a pure function: given the compiled program, the current state, and an event, it returns the new state, the effects to perform, and the run events to log. It does no I/O. That one decision makes runs replayable and lets us test the engine exhaustively without a server. Around it, each run is a durable workflow on the Temporal in your cluster. External events — a step task settling, a person deciding — arrive as signals. The workflow ticks the engine, persists the state and an ordered event log, and executes effects through an outbox. A one-minute observe poll catches any task settlement that happened while the server was down. Inside a step, the agent gets four extra tools: one to submit structured output (validated immediately), and three to read run context and state or write the state keys the step declared. If the output is missing or invalid, the step gets up to two corrective turns before it fails with `OUTPUT_INVALID`. If the agent still has background work running, the step stays open until it goes quiet. ## Limits that keep runs bounded | Limit | Default | | --- | --- | | Visits per step | 10 | | Executions per run | 200 (hard cap 1,000) | | Run duration | 7 days | | Fan-out items | 32 | | Sub-formula depth | 4 | | Step work timeout | 24 hours | | Run state | 256 KiB | Waits for input, a decision, or a human check have no timeout of their own unless the formula sets `timeout` on that step; otherwise only the 7-day run limit ends them. ## Failure, cancel, restart A run ends by completing (the only path to success), failing, being cancelled, or hitting a dead end where nothing live remains. A failed run stores a structured explanation: the reason, the node, and the message. Failed or cancelled runs can be restarted in place. Restart re-activates every execution that did not succeed, keeps the outputs and state of those that did, and re-arms the run timeout. Runs that ended by design — a route that fails, a dead end, a loop limit — cannot be restarted, because running them again would only repeat the same outcome. Restart is a person’s action in the app; agents cannot restart runs. ## What you see In the app, a formula run opens on a canvas: the graph with live status, a Live and Replay view, and a link to each step’s chat once that step has a task. Steps are grouped under one row in your archived tasks, so a twelve-step run does not bury the rest of your work. ## What formulas are not Formulas only run agent tasks and sub-formulas. There are no HTTP or “wait until” step kinds, and live streaming of a run assumes one server replica today. If you need to call a system, do it from a step — the agent has your connectors. ## Closing The point of a formula is not to take judgment away from the agent. It is to put checkpoints where your team would want them anyway, and to make the result auditable. To try one, see [Formula runs in chat](https://nested.me/docs/formulas); to write your own, open the [Pack builder](https://nested.me/docs/pack-builder). ## Questions ### What is a formula in Nested? A typed, versioned workflow of agent steps, gates, and checks, shipped in a pack. Agents call it like an MCP tool named `formula_`, and people can start it from chat or an automation. ### Can an agent approve its own formula step? No. Human gates and checks need a person with manage access on the agent, and a step task cannot answer its own run’s input request. ### What happens to a formula run if the server restarts? Each run is a durable workflow on Temporal in your cluster. It resumes where it was, and a one-minute poll catches task results that arrived while the server was down. ### Can I restart a failed formula run? Yes, from the run canvas. Restart keeps successful steps and re-runs the rest. Runs that failed by design, such as a failing route or loop limit, cannot be restarted. --- # Packs: portable, verified capabilities for coding agents > How Nested packages skills, subagents, formulas, and MCP servers into versioned packs, verifies them as untrusted input, and loads them into agents. Published: 2026-09-16 · Updated: 2026-11-19 · Topics: Agents, Product · Canonical: https://nested.me/blog/packs-portable-agent-capabilities ## A capability is more than a prompt When a team gets good results from a coding agent, the result usually depends on a pile of small things: a skill that explains how to run the test suite, a subagent tuned for code review, an MCP server that talks to the issue tracker, a setup script that installs the right CLI, a few paragraphs in `AGENTS.md` about house rules. Copy that pile by hand to the next agent and something always goes missing. A **pack** is our answer: one versioned archive that carries all of it, gets verified before anything trusts it, and loads into an agent the same way every time. ## What is in a pack A pack is a `.tar.gz` (or a source directory) with a `PACK.yaml` manifest at its root. Everything else lives in a fixed layout: | Path | What it holds | | --- | --- | | `skills//SKILL.md` | Agent skills, with optional helper files | | `subagents/.md` | Specialist subagent definitions | | `formulas/.yaml` | Checked, multi-step playbooks (see [Formulas](https://nested.me/blog/formulas-checked-playbooks)) | | `mcp/.json` | MCP server declarations | | `setup/-.sh` | One-shot, idempotent setup scripts | | `services/-.sh` | Sidecar start scripts that run on every boot | | `artifacts/` | Files copied or rendered into the home directory or workspace | | `memory//readme.md` | Guidance for an area of the user’s memory | | `guide/` | Fragments composed into the agent’s `AGENTS.md` and `CLAUDE.md` | | `process.env` | Non-secret `KEY=VALUE` defaults | Any other file at the root fails verification. A strict layout sounds fussy, but it means a reviewer can open any pack and know where to look. Nested ships first-party packs for common roles and tools — a builder, a documenter, a debugger, and packs for Docker, Kubernetes, Ollama, n8n, and WireGuard. One pack, `nested-core`, is special: it is compiled into the agent binary and carries the platform’s own skills, so it never needs to be uploaded. ## Why packs are files, not code Instructions, playbooks, and bootstrap scripts change much faster than the Go code that runs agents. If every new skill needed a platform release, nobody would write skills. So packs hold the Markdown, YAML, and shell, and the platform only does three things with them: verify, store, and load. ## Verification treats every pack as untrusted A pack can come from anyone on your team, or from another team’s catalog entry. So verification is static, assumes the worst, and runs three times: when you build, when you upload, and again inside the agent before loading. The checks include: - The manifest schema, with unknown fields rejected rather than ignored. - The layout allowlist, and a one-to-one match between what the manifest declares and what is on disk. - No symlinks, no hard links, and no `..` paths in archives. Archive bombs are stopped by size caps: 100 MiB compressed and 200 MiB extracted. - No embedded secrets. A literal token in an MCP declaration fails with `PACK_EMBEDDED_SECRET`, and `process.env` may not contain tokens or private keys. - No platform placeholders in uploaded MCP declarations, so a pack cannot ask for another task’s token. - Every formula compiles. Secrets never travel inside a pack. Instead a pack declares the environment keys it needs and refers to them with `${VAR}` placeholders. When you deploy an agent, you bind your own secrets to those keys, and the agent receives them as a credential overlay. That is why the deploy wizard can ask exactly for the secrets your packs declared. ## Upload, revisions, and the catalog On upload, the server verifies the archive again with its own limits and computes a SHA-256 content hash. If the content matches the latest revision, it returns that revision and stores nothing new — uploading the same pack twice is a no-op. Otherwise it writes the archive to the object store and commits a new numbered revision. A pack’s identity is its team plus its name. The account that creates a name owns it; only the owner adds revisions, changes visibility, or deletes it, though team owners and admins can reassign it. Visibility is one of three levels: | Visibility | Who can see and attach it | | --- | --- | | Private (default) | Only you | | Team | Everyone in your team | | Global | Listed in the catalog for every team | The catalog is read-and-copy. To use another team’s pack, you copy its latest revision into your team as a new private pack that you own. Deployments never run another team’s pack directly, so nobody can change what your agents load by publishing a new revision somewhere else. > [!WARNING] > “Verified” means the archive passed the static checks above. There is no human review and no code signing for catalog packs today. Read a pack’s setup scripts before you attach it, as you would any shell script. ## How an agent loads its packs An agent’s settings list the packs it uses, each pinned to a revision (or “latest”) and optionally a content hash. On every start, the agent: 1. Downloads each pack, extracts it safely, and verifies it again. 2. Evaluates each capability’s `when` condition. Conditions can test environment variables, settings, the attached knowledge centers, and the formulas available — for example, `nested-core` loads its formula skill only when `len(Formulas.Items) > 0`. Capabilities whose condition turned false since the last start are removed. 3. Copies skills and formulas, merges MCP servers (expanding `${VAR}` from the bound secrets), and installs subagents for the coding agent to use. 4. Runs setup scripts, skipping any whose version, file, and SHA-256 were already stamped. Then it starts service scripts; a failing service only warns. 5. Applies `process.env` without overwriting anything already set — not even an empty value. 6. Renders guide fragments into a generated section of `AGENTS.md` and `CLAUDE.md`, ordered by priority. When two packs collide, the later one wins. And when a pack cannot be loaded at all, the agent does not start. ## Fail closed, on purpose That last rule is the most argued-about decision in the design. An agent that starts without its review pack still looks healthy; it just quietly stops following your review rules. We would rather show a failed start you can fix than a running agent that is missing half of what you configured. ## Building packs without the command line You can write packs by hand and use `packctl verify` and `packctl build`. Most people use the **Pack builder** in the Nested app instead. It starts from a description, a template, a pack file, or a published pack; imports skills from a git repository; and edits every section, including formulas on a visual canvas. An assistant can propose changes, but only as a reviewable patch — it never publishes or edits the draft until you apply it. When you are done, the builder assembles the archive, verifies it, and uploads it with the visibility you choose. ## Trade-offs we accepted - **No signing yet.** Revisions are content-addressed and owned, but not signed. Copy-before-use limits the blast radius; it does not replace review. - **Compatibility is advisory.** A pack can declare the minimum agent version it needs, and the field is validated, but it is not enforced. - **Later wins.** Pack order matters when two packs define the same thing. We chose a simple rule over a merge language. ## Closing Packs turn “the way our best agent is set up” into something you can version, review, share, and roll back. The [packs docs](https://nested.me/docs/packs) cover the format in detail, and the [Pack builder guide](https://nested.me/docs/pack-builder) walks through building one in the app. ## Questions ### What is a Nested pack? A versioned archive with a `PACK.yaml` manifest that bundles skills, subagents, formulas, MCP servers, setup scripts, and guide text, so an agent can load a complete capability in one step. ### Can a pack contain API keys? No. Verification rejects embedded secrets. A pack declares the environment keys it needs, and you bind your own secrets to them when you deploy the agent. ### What happens if a pack fails to load? The agent does not start. Nested fails closed so an agent never runs with only part of the capabilities you attached. ### Are catalog packs reviewed or signed? They pass the same static verification as every pack, but there is no human review or signing today. Copy a pack into your team and read its scripts before you attach it. --- # Why Nested runs inside your Kubernetes cluster > Coding agents need your repos, tokens, and prompts. Here is what Nested installs in your cluster, where each piece of data lives, and the trade-offs. Published: 2026-09-02 · Updated: 2026-11-19 · Topics: Architecture, Security · Canonical: https://nested.me/blog/why-nested-runs-in-your-cluster ## The question every security review asks A coding agent is only useful when it can touch real things: your repositories, your issue tracker, your CI logs, the credentials for the services it debugs. That is exactly the material a security team does not want copied into somebody else’s multi-tenant database. So the first design decision in Nested was not about models or prompts. It was about *where the platform runs*. Our answer: the whole platform — control plane, agent runtime, and the data services behind them — installs into a Kubernetes cluster that you operate. One install is one isolated unit. There is no shared Nested backend that every customer talks to. This post walks through what actually lands in your cluster, how an agent gets deployed, where each kind of data ends up, and what you give up by running it yourself. ## Three layers in one cluster A Nested install has three layers, and each one has a single owner. | Layer | What it contains | Who installs and updates it | | --- | --- | --- | | Platform services | Postgres, a Redis-protocol cache, Temporal, NATS, an S3-compatible object store, and optional extras | The `nested-install` CLI, through Helm | | Apps | The control plane (`server`), the Nested app, the operator console | The installer, optionally handed to Argo CD | | Agent deployments | One `cloud-agent` pod per agent | The control plane, at runtime, through an embedded Helm chart | Keeping these owners separate is deliberate. Helm owns the shape of the platform. The control plane owns agents. Nobody edits the same object from two directions, which is what usually breaks upgrades. ### The platform services Every install gets the same core services, and the installer requires all of them. The control plane depends on each one except NATS, which is installed for future use. | Service | What Nested uses it for | | --- | --- | | **Postgres** (CloudNativePG operator) | One database per feature — tasks, deployments, knowledge, packs, automations, auth, and the rest. Temporal gets its own databases too. | | **Dragonfly** (Redis protocol) | Short-lived state: OAuth state and consent transactions, token-revocation lookups, caches. | | **Temporal** | Durable workflows: agent turns, formula runs, automation schedules, scheduled tasks, pack builds, and report generation. | | **S3-compatible object store** (RustFS) | Knowledge page bodies, task attachments, runbooks, pack archives, and reports. | | **NATS** | Installed and secured with an auth callout, but not yet an active data path. It is provisioned for future fleet messaging. | Then there are toggles: ntfy for push notifications, an OpenTelemetry collector with Jaeger and Grafana for traces and metrics, an auth proxy in front of platform UIs, cert-manager, and Argo CD with its image updater. ### The apps The control plane is a single `server` binary built from feature modules: auth, deploy, task, formula, knowledge, pack, hook, automation, report, notification, discovery, MCP connectors, site access, environments, and a few more. Each module owns its own Postgres database. The Nested app (where people talk to agents) and the operator console are separate web apps that call it. ## The installer is a workflow, not a script Installing a stateful platform is a long sequence of steps, and long sequences fail halfway. `nested-install` treats installation as a durable workflow: 1. It loads and validates one `setup.yaml` and takes a file lock on its state directory. 2. It starts a private Temporal dev server on loopback, backed by a SQLite file in the state directory. 3. It runs one workflow per command: preflight checks, namespaces, secrets, the Helm releases, waiting for the platform, rendering server configuration, and registering the apps. 4. It records each finished step. If the run dies, `nested-install resume` continues from the first unfinished step. Two details matter for security. Generated secrets are written to a file in the state directory and read from disk by each step, so they never enter workflow history. And the installer writes a single values file that every Helm release reads, so there is one place to review what was configured. The installer creates three namespaces by default: one for platform services, one for the apps, and one for agent pods. ## How an agent becomes a pod When someone deploys an agent from the app, the control plane’s deploy module does the following: 1. Merges configuration in three layers — chart defaults, then the agent template, then this deployment’s overrides. Sensitive values go into a Kubernetes Secret; the rest into a ConfigMap. 2. Renders the user’s bound secrets into a chart-owned Secret and wires each one into the pod with `secretKeyRef`, so values never appear inline in the manifest. 3. Picks a container runtime. A standard agent asks for the `sysbox-runc` RuntimeClass, which gives it a user-namespaced pod that can run its own Docker daemon. If your cluster does not have Sysbox, it uses the default runtime — unless you set a RuntimeClass explicitly, in which case a missing one fails the deploy instead of silently downgrading. An agent created with the **Isolated VM** runtime gets its own Kata virtual machine instead, and its deploy fails if Kata is missing. 4. Runs `helm upgrade --install --wait` and keeps reconciling: a loop reads release and pod status every minute and records what it saw. The pod itself is a singleton Deployment (one replica, or zero when stopped) with a `Recreate` strategy. It has two persistent volumes, one for data and git workspaces and one for Docker’s image store, and both survive an uninstall. Undeploy and redeploy an agent and its workspaces are still there. > [!NOTE] > Agent pods have a readiness probe but deliberately no liveness probe. A coding turn can run for a long time while the process looks idle from the outside. Killing it on a missed heartbeat would destroy exactly the work you were waiting for. ## Where your data lives Here is the honest map of what is stored where. | Data | Where it lives | | --- | --- | | Prompts, messages, task history | Postgres in your cluster | | Runbooks (each turn’s tool calls, plan, output) | Object store in your cluster, indexed in Postgres | | Memories and knowledge centers | Postgres (index, versions) and object store (page bodies) in your cluster | | Connector OAuth tokens | Encrypted at rest (AES-256-GCM) in the connectors database in your cluster | | Your secrets for agents | Encrypted in Postgres, delivered to pods as Kubernetes Secrets | | Git workspaces | The agent’s persistent volume in your cluster | Some traffic does leave the cluster, and we want to be exact about it. The coding agent inside each pod — Cursor, Claude Code, Kimi, or another ACP-compatible agent — talks to its own model provider with the account you signed it in with. Connectors call the services you connected. At startup, an agent downloads its coding-agent CLI from the public Agent Client Protocol registry. The control plane’s built-in assistant calls the OpenAI-compatible LLM endpoint you configure at install, and formula gates that ask typed questions send the question and its evidence to that same endpoint — or to an external gate-resolver service, but only if an operator sets that service’s API key. Nested itself does not keep a copy of your prompts, code, or tokens on vendor infrastructure. One feature is an explicit exception. **Environments** — short-lived machines that agents use to run and test an app — are cloud VMs (DigitalOcean today), not pods in your cluster. The Environments service that manages them runs in your cluster, the VMs accept no inbound traffic, and they reach the service only through an outbound tunnel. But the code and secrets you send to an environment do run on that VM. Environments are off per team until an operator turns them on. ## What you give up Running inside your cluster is not free. You should know the costs before you choose it. - **You operate it.** Backups, upgrades, capacity, and the cluster itself are yours. The installer makes upgrades repeatable, but it does not make them disappear. - **No shared fleet.** Each install is its own cell with its own server and its own Postgres. There is no cross-customer manager, which is the point, but it also means there is no central place we can fix things for you. - **Agents need real resources.** The default pod requests 250m CPU and 3 GiB of memory, with limits of 4 CPUs and 6 GiB. Agents that sit idle stop on their own after a quiet period (we cover that in [Inside cloud-agent](https://nested.me/blog/inside-cloud-agent)), but busy agents cost what busy development machines cost. - **Model calls still leave.** Your data boundary is the cluster plus the model provider you choose. If that is not acceptable, pick an agent and provider that you can run privately. ## Why not a SaaS with good contracts? We considered it. A hosted platform is easier to start and easier for us to operate. But a coding agent accumulates exactly the context a company guards most: how its systems fail, where its credentials are used, what its unreleased code does. Contracts describe what a vendor promises to do with that data. Running in your cluster means the vendor never has it. ## Closing The rest of Nested follows from this choice: agents are pods you can see with `kubectl`, durable work rides on the Temporal you host, and every credential is encrypted with keys in your configuration. If you want the step-by-step view, start with [What is Nested](https://nested.me/docs/introduction) and the [architecture docs](https://nested.me/docs/architecture). ## Questions ### Is Nested a multi-tenant SaaS? No. Each install runs in one Kubernetes cluster that you operate, with its own control plane, Postgres, and object store. There is no shared Nested backend. ### Do my prompts leave the cluster? Prompts and task history are stored in your cluster. The coding agent in each pod sends prompts to the model provider you signed it in with, so your boundary is the cluster plus that provider, and any other service you configure, such as the install’s LLM endpoint or an opt-in gate resolver. ### What does Nested install into my cluster? Postgres (CloudNativePG), a Redis-protocol cache, Temporal, NATS, an S3-compatible object store, the control plane and web apps, plus one pod per agent you deploy. ### Can an agent keep its workspace after it is undeployed? Yes. Each agent has persistent volumes for data and Docker images that are retained on uninstall and adopted again on the next deploy.