Skip to content

Write up: agents and identity (the concepts page) #2

Open

Description

@melvincarvalho

The getting-started page shows how to run an agent but never explains what one is. Material already worked out in conversation, ready to become a concepts page:

What an agent is

One agent = one folder under agents/<id>/ = one identity. The folder is the agent's entire universe:

  • Workspace — the folder itself, mounted into the container (the only thing the agent can see under Docker isolation)
  • Identity files — SOUL.md, IDENTITY.md, AGENTS.md, TOOLS.md, USER.md, loaded into the system prompt in that order (openclaw convention)
  • HEARTBEAT.md — standing instructions for periodic autonomous wake-ups
  • Memory — memory/*.md, persistent markdown the agent reads/writes across sessions
  • Sessions — conversation history (agent-micro: .jsclaw-micro/sessions/)
  • Per-agent config — own model, MCP servers, extra mounts

Multi-agent in disguise

The webchat's agent box: type a new name, get a fresh agent with blank memory and its own folder, fully separate. Rung 7 of the autonomy ladder (#1) hiding in a text input. Bindings route channels/peers to agents, most-specific-wins.

Lineage and the openclaw comparison

  • openclaw = full platform, nanoclaw = the WhatsApp assistant it inspired, jsclaw = the engine underneath
  • jsclaw deliberately adopts openclaw's shapes: agentId, wire framing (req/res/event), identity file set, SKILL.md format, mcp.servers config, webhook shapes, bindings routing
  • What's distinct: nanoclaw's container-per-agent isolation — the agent folder is the security boundary, not just identity scoping

Isolation trade-off (pairs with jsclaw/jsclaw#38)

Docker = agent sees only its folder. Local process mode = agent runs as the host user, sees everything. Why the container default exists and when it's safe to drop it.

Covers concepts behind rungs 1–2 and 6–7 of the ladder (#1).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions