# The Blueprint for Autonomous Work Agents | Gavriel Cohen, NanoClaw
<!--
ref: @content/youtube/latent-space/the-blueprint-for-autonomous-work-agents-gavriel-cohen-nanoclaw
tags: [autonomous agents, agent security, credential isolation, personal agents, agent memory, LLM wiki, enterprise deployment, open source maintenance]
version: 2
updated_at: 2026-11-24T05:18:45.330Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=hLUGXO5DSpo)**

# The Blueprint for Autonomous Work Agents | Gavriel Cohen, NanoClaw

*Synthesized from Gavriel Cohen in conversation with the Latent Space host on Latent Space, 2026-06-29.*

Gavriel Cohen, creator of the NanoClaw agent project, is the guest, recorded at the AI Engineer event in Singapore. The host is not named in the transcript, which is machine-generated and has garbled passages.

## Core Thesis
Cohen argues that autonomous personal agents need a minimal, readable codebase and strict isolation: no credentials inside the agent's environment, outbound requests proxied through a vault, and human approval for sensitive actions. He recommends giving each person their own agent before team "agent factories," and says enterprise deployments need continuous upgrades rather than one-off setup.

## Key Insights
- **Origin.** NanoClaw began as a readable alternative to OpenClaw. A Singapore minister's public write-up of his NanoClaw setup (memory, indexing, a Raspberry Pi deployment) spread on X and started the conversation between the two.
- **Why a user left OpenClaw.** The codebase size, the number of dependencies and plain-text message logging made it unsafe to run a business on, even though it was fine for personal use.
- **Design choices.** NanoClaw was written from scratch, uses the Agent SDK for session management and compaction instead of building its own, starts with one model and one agent, and integrates messaging through Vercel's Chat SDK.
- **Isolation.** Each agent runs in its own container. Credentials stay out of its environment, so prompt injection from untrusted input such as pull-request text cannot leak keys. A vault adds credentials to outbound requests only when the agent is entitled to them.
- **Approval policy.** Access policies can allow an agent to read email freely while requiring an approve or reject button in Slack before it sends anything.
- **Start personal.** Learning to work with agents (prompting, instructions, skills and context management) takes time, so each person should get their own agent first. The best early use he sees is a "second brain" where information is dumped in and the agent builds a knowledge base.
- **Memory.** Cohen doubts that retrieval or semantic search answers questions like "what should I focus on this week?", and prefers a maintained markdown wiki with a project list, a timeline and call logs. Duplicate files need an index and a periodic background check.
- **Deployment reality.** Enterprises want SSO, credential-vault and observability integration and on-premises or their own cloud deployments. Agents need ongoing upgrades to new model versions, unlike conventional enterprise software that can run for years untouched.
- **Open source triage.** Coding agents have made pull requests cheap to open and costly to review. He suggests a wiki as a buffer for incoming requests, updated on each merge.
- **Messaging tiers.** His ranking puts Slack first, then Discord and Teams, then Telegram, with WhatsApp last because it needs a separate phone number to work well.

## Actionable Takeaways
1. Give each person their own agent first, and budget time for them to learn prompting and instruction-writing.
2. Keep credentials out of the agent runtime and proxy outbound calls through a vault.
3. Gate outbound actions with approve and reject buttons in the team's chat tool, and let low-risk reads run without approval.
4. Store agent memory as a maintained wiki with an index, and run a periodic deduplication pass.
5. Plan for continuous upgrades to the underlying model after deployment.

## Notable Quotes
> "normal enterprise software, you can deploy it, put it on some server, and let it run for like 5 years" — Gavriel Cohen

---

*Related: `@content/youtube/ai-jason/how-to-build-proactive-agents-self-improving-company-fully-explained` · `@content/youtube/yifan-bth/the-openclaw-security-settings-i-actually-change` · `@content/youtube/david-ondrej/hermes-goal-is-insane-just-watch` · `@content/youtube/nate-herk/fable-5-karpathy-s-llm-wiki-is-basically-cheating` · `@content/youtube/every-inc/microsofts-vision-for-an-internet-made-for-agents-with-cto-kevin-scott-best-of-the-pod`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*