SwarmClaw is an AI agent runtime and multi-agent orchestration platform. It gives agents a uniform set of tools, persistent memory, connector integrations, and the ability to delegate work to other agents.
Website: https://swarmclaw.ai
Docs: https://swarmclaw.ai/docs
GitHub: https://github.com/swarmclawai/swarmclaw
npm: npm install -g swarmclaw
Every agent has access to these core tools. They cover the full range of agent capabilities.
| Tool | Purpose | When to Use |
|---|---|---|
| ------ | --------- | ------------- |
| files | Read, write, edit, list, search files | Any file operation on the workspace filesystem |
| execute | Run bash scripts (sandboxed or host) | Shell commands, curl, data processing, package management |
| memory | Store and retrieve persistent knowledge | Facts, preferences, decisions that should survive across sessions |
| platform | Tasks, communication, delegation, projects | Coordinating with humans and other agents |
| browser | Control a headless browser | Interactive web pages, JavaScript-rendered content |
| skills | Discover and load skill documentation | Learning how to use tools, APIs, or workflows |
| Task | Tool |
|---|---|
| ------ | ------ |
| Edit a source file | files (edit action) |
| Run tests | execute |
| Call a REST API (JSON) | execute (curl) |
| Scrape a dynamic web page | browser |
| Remember a user preference | memory |
| Ask the user a question | platform (communicate.ask_human) |
| Send a Slack message | platform (communicate.send_message) |
| Hand off work to another agent | platform (communicate.delegate) |
| Find out how a tool works | skills (read action) |
Credentials are configured per agent in the SwarmClaw UI. They are:
execute tool runs (e.g., $OPENAI_API_KEY, $GITHUB_TOKEN)_API_KEY or custom names set in the credential configYou never need to ask the user for API keys directly. If a credential is configured, it's available as an env var. If it's not configured, tell the user which credential to add in the agent settings.
Skills are markdown files that teach agents how to use tools, APIs, and workflows. They are documentation, not executable code.
{ "tool": "skills", "action": "list" }
{ "tool": "skills", "action": "read", "name": "tools/files" }
{ "tool": "skills", "action": "search", "query": "github pr" }
skills/ -- built-in skills shipped with SwarmClawdata/skills/ -- user-created skills added at runtimeAgents have persistent memory across sessions:
Agents with dreaming enabled automatically consolidate memories during idle periods. You can also trigger a dream manually:
{ "tool": "memory", "action": "list", "category": "dream_reflection" }
Use the platform API to trigger a dream cycle:
{ "tool": "execute", "command": "curl -s -X POST http://localhost:3456/api/memory/dream -H 'Content-Type: application/json' -d '{\"agentId\":\"YOUR_AGENT_ID\"}'" }
Dream cycles produce dream_reflection and consolidated_insight memories that help maintain a clean, coherent memory store over time.
Agents can delegate work to other agents:
agents.list to discover available agents and their specializationsAgents can communicate through external platforms:
platform tool with communicate.send_message/workspace/... paths are resolved to the workspace root automatically$WORKSPACE env var points to the workspace root in execute tool runsexecute with echo > file.txt when files write action is cleaner. Don't use browser when curl in execute suffices.communicate.ask_human. A brief clarification is better than wasted work on the wrong approach.agents.list to know what's available.共 1 个版本