Glossary and references
源码版本v2026.6.11
Core terms
| Term | Notes |
|---|---|
| gateway | Resident process that receives channel messages, schedules the agent, and broadcasts events. src/gateway/server.impl.ts |
| agent loop | The while(true) turn loop inside embedded-agent-runner. src/agents/embedded-agent-runner/run.ts |
| attempt | One LLM call plus tool_use / tool_result pairing. run/attempt.ts |
| session | State container for a conversation, managed by SessionManager. src/agents/sessions/session-manager.ts |
| tool | A function the agent can call, registered in a Map. src/agents/sessions/agent-session.ts |
| skill | Markdown instructions that the model decides when to read. src/skills/ |
| plugin | Extension package discovered by directory convention such as .codex-plugin/plugin.json. src/plugins/ |
| channel | Adapter for a messaging platform such as WhatsApp / Telegram / Slack. src/channels/ |
| provider | LLM vendor adapter such as Anthropic / OpenAI / Google. src/llm/providers/ |
| Context Engine | Abstraction layer over context compaction. src/context-engine/ |
| cron | Scheduled job that runs inside an isolated agent session. src/cron/ |
| ACP | Agent Client Protocol — bridges an IDE such as Zed to the gateway. src/acp/ |
| MCP | Model Context Protocol — bidirectional: as a server it exposes capabilities, as a client it consumes external servers. src/mcp/ + src/agents/ |
| daemon | Wraps the gateway as a system service via launchd / schtasks / systemd. src/daemon/ |
Directory conventions
- Source: the
openclaw/openclawrepo.src/is the main code;packages/holds 21 independently publishable packages;skills/(repo root) is the example skill library. - User data:
~/.openclaw/— config (openclaw.json), workspace, agents, logs, memory, and so on. - Config file:
~/.openclaw/openclaw.json(or$OPENCLAW_STATE_DIR/openclaw.json).
Official references
- OpenClaw site
- Official docs
- Getting Started
- DeepWiki
- GitHub repo — source links on this site are pinned to
v2026.6.11
Source version
Every SrcLink on this site points to github.com/openclaw/openclaw/blob/v2026.6.11/<path>#Lxx-Lyy. To bump the version, edit OPENCLAW_TAG in docs/.vitepress/site.ts and run npm run check:refs.