---
title: "Secure by Design, One Brain to Share — NanoClaw × Caura"
description: "NanoClaw isolates every agent in its own sandbox — secure by design, but amnesiac. We added a shared, governed cognition layer over Caura so isolated NanoClaw agents recall what any of them learned, sandbox fully intact."
published: 2026-06-23
source: https://caura.ai/use-cases/nanoclaw-shared-brain/
---

NanoClaw gives you something genuinely useful: a real personal AI agent that lives on Telegram, runs in its own sandboxed container, and decides for itself what to do. The sandbox is the point. One agent, one container, no blast radius.

But that same container is also an amnesia machine. Tell the agent you're allergic to penicillin, restart the session, and it's gone. The isolation that makes the agent _safe_ is the same isolation that makes it _forgetful_. Every conversation starts from zero.

That's not a NanoClaw bug. It's the consequence of a design choice that's actually correct — and it points at the real architecture of agent systems.

## Compute isolation is not knowledge isolation

There are two different things you want to isolate in an agent fleet, and they pull in opposite directions.

### Compute

Each agent runs in its own sandbox, so a bad turn, a prompt injection, or a runaway loop can't reach anything it shouldn't. Per-agent. Ephemeral. NanoClaw does this well.

### Knowledge

A fact learned Monday should be there Tuesday. A preference one channel captured should serve another. Persistent. Pooled. Governed — because it's the one place that sees everything.

When compute isolation accidentally becomes knowledge isolation, every agent is brilliant for ninety seconds and then a stranger again. So the architecture wants two layers, not one: a **compute layer** that isolates, and a **cognition layer** that's shared and governed.

Many agents, one cognition layer. The agents stay cheap and disposable. **The brain is the durable thing underneath them.**

## How we connected it — the honest version

Caura is a remote HTTP MCP server (`caura.ai/mcp`). NanoClaw's MCP transport is **stdio-only** — its server config is just `{ command, args, env }`, with no URL transport. So the integration isn't a fork and isn't a config-file edit. It's three real moves:

- **Bridge the transport.** Add the standard `mcp-remote` stdio↔HTTP bridge to the agent image — a one-line merge into `cli-tools.json`, then a rebuild. Now a stdio MCP client can reach a remote HTTP server.

- **Register Caura per group.** NanoClaw keeps MCP servers per agent group in its central DB. One command registers a `caura` server that runs the bridge. Naming it `caura` auto-exposes every tool as `mcp__caura__*` — write, recall, keystones, and the rest. No allowlist edit.

- **Tell the agent the brain moved.** A short block in the group's `CLAUDE.local.md` makes Caura the _authoritative_ long-term memory, and tells the agent to recall before answering and write durable facts proactively.

That's it. The whole thing ships as a NanoClaw skill: drop it in and run `/add-caura`. The agent now decides on its own when to recall and when to remember, calling the Caura tools mid-conversation. The memory is no longer in the container — the container just rents it.

## What it actually looks like

Three channels on one screen, all pointed at a single Caura tenant: a real NanoClaw Telegram agent (**Tele**) on your phone, plus a Slack pane and a Web pane that read and write the same brain. This is the live dashboard:

> **Figure.** The real thing, running on tenant **nanoclaw-d17f07**. With PII governance enabled, Caura flagged the card memory **⚠ PII** on write; we masked the digits ourselves for this post.

Zoom in on one beat — a fact crossing channels, from the panes above:

- The CFO who owns the budget is Dana Levin.

- The Q3 board meeting is in Lisbon on October 14.

**A different channel just used what another channel remembered.** Web never saw either statement.

Behind the panes is the brain itself — every memory in the tenant, auto-titled and auto-tagged by Caura on write, not by the user:

#### Payment card number provided

You can bill it to card 4111 •••• •••• ••••.

#### CFO budget owner is Dana Levin

The CFO who owns the budget is Dana Levin.

#### Q3 board meeting scheduled in Lisbon (Oct 14)

Our Q3 board meeting is in Lisbon on October 14.

Notice the top card. With PII governance enabled on this tenant, the brain flagged it **⚠ PII** on write. (We masked the digits ourselves for this post.)

## Governance is the feature, not the footnote

The moment many agents share one brain, that brain becomes the most dangerous surface in the system. Everything they learn pools there. Caura flags sensitive data on write, applies scope and trust controls, and shares fleet rules with agents.

#### PII flagging (opt-in)

Turn on PII governance and a card number written in any channel gets a ⚠ PII badge on write — nobody has to remember to catch it. Masking the value itself is a separate mode.

#### Keystones — shared fleet guidance

A keystone is a fleet-wide rule shared with every agent at session start. It gives the fleet common guidance for handling sensitive information.

#### Contradiction handling

Correct a fact and Caura supersedes the stale version rather than piling up duplicates, so recall stays coherent as the world changes.

**NanoClaw isolates compute. Caura organizes shared knowledge.** The sandbox limits an agent's reach; Caura flags sensitive writes and applies scope and trust controls to shared memory.

## Why this is the shape of things

If you believe agents are becoming digital labor, then the interesting question stops being “how good is one agent” and becomes “how many can you run, and what do they stand on.” A fleet of disposable, sandboxed workers is only as valuable as the substrate they share. The compute is commoditizing. The governed, persistent cognition underneath it is not.

That's the bet. NanoClaw is a great way to _spawn_ agents. Caura is what they remember _with_ — and where scope, trust controls, and sensitive-data flags help keep shared memory useful. One brain, many agents, governed by default.

The demo's Slack and Web panes are demo channels with a simple write/recall heuristic, not full NanoClaw agents — but everything they read and write is the real live tenant, and Tele on Telegram is a real agent. The walkthrough uses a tenant-scoped key, so per-agent read-isolation isn't shown — that needs agent-scoped keys, where identity is bound at mint. And contradiction→supersede runs as a background crystallizer (minutes, not inline), so it's something you describe rather than wait for on stage. The NanoClaw wiring is verified line-by-line against upstream source.
