# mergisi/awesome-openclaw-agents architecture

> Architecture diagram of the GitHub repository mergisi/awesome-openclaw-agents, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mergisi/awesome-openclaw-agents
- Repository: https://github.com/mergisi/awesome-openclaw-agents

## Overview

This repository is a curated library of OpenClaw agent templates, not a shared agent runtime. The primary workflow is to browse a role, copy its SOUL.md, and register it with OpenClaw; the optional quickstart instead runs a Telegram bot that uses the selected SOUL.md to prompt Anthropic and reply to the user. README also describes use cases, on-device skills, model configurations, and memory-wiki templates. Runtime wiring is shown only for quickstart/bot.js; other capabilities are represented from the README and tree.

Main entry points: [`quickstart/bot.js`](https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/bot.js) (Telegram quickstart), [`agents`](https://github.com/mergisi/awesome-openclaw-agents/tree/main/agents) (Agent templates), [`agents.json`](https://github.com/mergisi/awesome-openclaw-agents/blob/main/agents.json) (Agent index), [`quickstart/SOUL.md`](https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/SOUL.md) (Agent instructions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Agent catalog"]
  node_templates["Agent templates"]
  node_agent_index["Agent index<br/>[agents.json]"]
end

subgraph group_runtime["Quickstart runtime"]
  node_quickstart["Telegram quickstart<br/>[bot.js]"]
  node_soul["Agent instructions<br/>[SOUL.md]"]
  node_chat_state["Chat history<br/>[bot.js]"]
end

subgraph group_extensions["Agent extensions"]
  node_skills["On-device skills"]
  node_model_configs["Model configs"]
  node_memory_wiki["Memory wiki"]
end

subgraph group_guides["Usage resources"]
  node_use_cases["Use cases<br/>[USE-CASES.md]"]
  node_troubleshooting["Troubleshooting<br/>[TROUBLESHOOTING.md]"]
  node_readme["Project guide<br/>[README.md]"]
end

node_user(("Agent user"))
node_openclaw["OpenClaw gateway"]
node_telegram["Telegram"]
node_anthropic["Anthropic API"]

node_user -->|"browses"| node_templates
node_templates -->|"registers with"| node_openclaw
node_user -->|"messages"| node_quickstart
node_quickstart -->|"reads"| node_soul
node_quickstart -->|"updates"| node_chat_state
node_quickstart -->|"receives and replies"| node_telegram
node_quickstart -->|"sends prompt"| node_anthropic
node_user -->|"browses"| node_agent_index
node_user -->|"uses"| node_skills
node_user -->|"selects"| node_model_configs
node_user -->|"uses"| node_memory_wiki
node_user -->|"consults"| node_use_cases
node_user -->|"consults"| node_troubleshooting
node_user -->|"browses"| node_readme

click node_templates "https://github.com/mergisi/awesome-openclaw-agents/tree/main/agents"
click node_agent_index "https://github.com/mergisi/awesome-openclaw-agents/blob/main/agents.json"
click node_quickstart "https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/bot.js"
click node_soul "https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/SOUL.md"
click node_chat_state "https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/bot.js"
click node_skills "https://github.com/mergisi/awesome-openclaw-agents/tree/main/skills"
click node_model_configs "https://github.com/mergisi/awesome-openclaw-agents/tree/main/configs"
click node_memory_wiki "https://github.com/mergisi/awesome-openclaw-agents/tree/main/memory-wiki"
click node_use_cases "https://github.com/mergisi/awesome-openclaw-agents/blob/main/USE-CASES.md"
click node_troubleshooting "https://github.com/mergisi/awesome-openclaw-agents/blob/main/TROUBLESHOOTING.md"
click node_readme "https://github.com/mergisi/awesome-openclaw-agents/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_templates,node_agent_index,node_user toneBlue
class node_quickstart,node_soul,node_chat_state toneAmber
class node_skills,node_model_configs,node_memory_wiki,node_anthropic toneMint
class node_use_cases,node_troubleshooting,node_readme toneRose
class node_openclaw,node_telegram toneIndigo
```

## Components

### Agent catalog

- [Agent templates](https://github.com/mergisi/awesome-openclaw-agents/tree/main/agents): `agents`
- [Agent index](https://github.com/mergisi/awesome-openclaw-agents/blob/main/agents.json): `agents.json`

### Quickstart runtime

- [Telegram quickstart](https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/bot.js): `quickstart/bot.js`
- [Agent instructions](https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/SOUL.md): `quickstart/SOUL.md`
- [Chat history](https://github.com/mergisi/awesome-openclaw-agents/blob/main/quickstart/bot.js): `quickstart/bot.js`

### Agent extensions

- [On-device skills](https://github.com/mergisi/awesome-openclaw-agents/tree/main/skills): `skills`
- [Model configs](https://github.com/mergisi/awesome-openclaw-agents/tree/main/configs): `configs`
- [Memory wiki](https://github.com/mergisi/awesome-openclaw-agents/tree/main/memory-wiki): `memory-wiki`

### Usage resources

- [Use cases](https://github.com/mergisi/awesome-openclaw-agents/blob/main/USE-CASES.md): `USE-CASES.md`
- [Troubleshooting](https://github.com/mergisi/awesome-openclaw-agents/blob/main/TROUBLESHOOTING.md): `TROUBLESHOOTING.md`
- [Project guide](https://github.com/mergisi/awesome-openclaw-agents/blob/main/README.md): `README.md`

### Other components

- **Agent user**
- **OpenClaw gateway**
- **Telegram**
- **Anthropic API**

## Connections

- Agent user → Agent templates: browses (evidence: `README.md`)
- Agent templates → OpenClaw gateway: registers with (evidence: `README.md`)
- Agent user → Telegram quickstart: messages (evidence: `README.md`)
- Telegram quickstart → Agent instructions: reads (evidence: `quickstart/bot.js`)
- Telegram quickstart → Chat history: updates (evidence: `quickstart/bot.js`)
- Telegram quickstart → Telegram: receives and replies (evidence: `quickstart/bot.js`)
- Telegram quickstart → Anthropic API: sends prompt (evidence: `quickstart/bot.js`)
- Agent user → Agent index: browses (evidence: `README.md`)
- Agent user → On-device skills: uses (evidence: `README.md`)
- Agent user → Model configs: selects (evidence: `README.md`)
- Agent user → Memory wiki: uses (evidence: `README.md`)
- Agent user → Use cases: consults (evidence: `README.md`)
- Agent user → Troubleshooting: consults (evidence: `README.md`)
- Agent user → Project guide: browses (evidence: `README.md`)
