The shape of things
Glossary
Agent
A single isolated container with a persistent workspace, gateway, and{agentId}.agents.pinata.cloud subdomain. Created via POST /v0/agents or the Create Agent button. Identified by agentId (a short slug like x0i33jye).
Engine
The runtime that powers the agent. Engines are enabled per deployment:
Pick the engine when creating the agent — either in the Agent Engine card on the Create Agent wizard, or by passing
engine in POST /v0/agents, or by setting engine in manifest.json for a template. Available engines per deployment are listed at GET /v0/agents/engines.
Gateway
The long-running process inside each agent container that:- Terminates WebSocket connections from the dashboard, channels, and CLI
- Routes path/domain traffic to user-defined ports
- Brokers HTTP API calls for the per-agent subdomain
- Restarts on Restart Gateway in the Danger tab
18789.
Gateway token
Per-agent credential used to authenticate against the agent’s own subdomain ({agentId}.agents.pinata.cloud/...). See API → Gateway token. Distinct from the Pinata JWT (workspace-wide API key) and from the platform JWT (1h token an agent gets from itself via POST /v0/platform/token).
Workspace
Two meanings - context disambiguates:- Team workspace - your Pinata account or shared team. Switch under Account → Workspaces.
- Agent workspace - the per-agent file tree inside the container. OpenClaw agents use
/home/node/clawd/workspace/; Hermes agents use/home/hermes/data/workspace/. The workspace includesmanifest.json,SOUL.md, attached skills underskills/, file uploads underuploads/, and anything else your agent has written.
Workspace anatomy
The default file layout insideworkspace/:
You can commit and push anything else (
projects/, scripts/, etc.) - the agent treats the whole tree as fair game.
manifest.json vs runtime config
These are different files. They live in different places and have different schemas.
Day-to-day, edit
manifest.json. Runtime config is the engine’s own view of that configuration and is usually only touched from the Danger tab when you’re debugging the engine itself.
Skill
A reusable package of files and instructions that extends an agent’s capabilities. Pinned to IPFS, addressed by slug (@pinata/api) or CID. Installed into your Skills Library, then attached per-agent. Up to 10 attached per agent. See Skills.
The platform ships with @pinata/platform bundled - it lets the agent perform self-service operations (install skills, set secrets, manage tasks).
Secret vs variable
Both are environment variables injected at container start. The difference:
See Secrets.
Channel
A messaging surface the agent can be reached on - Telegram, Slack, Discord (WhatsApp coming). Configured per-agent. See Channels.Route
A mapping from an external URL prefix or domain to a container port. Lets you expose web apps and APIs running inside the agent. See Routes & Domains.Task
A scheduled prompt or system event. Three schedule kinds:at (one-shot), every (interval), cron. See Tasks.
Lifecycle script
Shell commands run by the agent runner at well-defined points:
Defined in
scripts in manifest.json.
Snapshot
A capture of the agent’s workspace pinned to IPFS as a single CID. Created automatically every minute when changes are detected, plus on demand viaPOST /v0/agents/{agentId}/snapshots/sync. Reset to any historical snapshot via POST /v0/agents/{agentId}/snapshots/reset. See Files & Snapshots.
Device
A client paired with an agent (CLI, mobile, browser session) - approval-gated for security. Listed atGET /v0/agents/{agentId}/devices. See Danger → Devices.
Template
A pre-configured agent (manifest + workspace files + skill list) packaged for one-click deployment. Published on the Marketplace or kept private in My Templates. See Templates.Issue
Kanban-style work item assigned to an agent - title + prompt + optional repo. The agent runs it in an isolated<workspace>/runs/<runId>/ directory (its own git history; ignored by snapshots), you review the diff, then accept, revise, or open a PR. Boards carry per-board instructions, model overrides, and turn/cost caps. See Issues & Boards.
Filesystem reference
Paths agents and developers reach for most often inside the container:Reserved ports & names
Path routes must use ports between
1025 and 65535, excluding 18789. See Routes.
Identifier formats
Quick reference for the IDs you’ll see in URLs and API responses:Where to go next
Manifest reference
Every field in
manifest.jsonHTTP API
Auth, endpoints, and examples
Troubleshooting
Debug a stuck agent
Error reference
Look up an API error