Skip to content

Commit ed3b850

Browse files
authored
Create diagram.mermaid
# https://gitdiagram.com/elizaOS/eliza
1 parent 76d4f42 commit ed3b850

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

diagram.mermaid

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
flowchart TB
2+
subgraph Integration
3+
direction TB
4+
Clients[Client Connectors]:::clients
5+
Models[Model Providers]:::models
6+
end
7+
8+
subgraph Core
9+
direction TB
10+
Runtime[Agent Runtime]:::core
11+
Memory[Memory Manager]:::core
12+
Cache[Cache Manager]:::core
13+
Services[Service Layer]:::core
14+
end
15+
16+
subgraph Plugins
17+
direction TB
18+
CorePlugins[Core Plugins]:::plugin
19+
BlockchainPlugins[Blockchain Plugins]:::plugin
20+
IntegrationPlugins[Integration Plugins]:::plugin
21+
end
22+
23+
subgraph Infrastructure
24+
direction TB
25+
DB[(Database Adapters)]:::infra
26+
CacheSys[(Cache Systems)]:::infra
27+
Storage[(File Storage)]:::infra
28+
end
29+
30+
Clients --> Runtime
31+
Models --> Runtime
32+
Runtime --> Memory
33+
Runtime --> Cache
34+
Runtime --> Services
35+
Memory --> DB
36+
Cache --> CacheSys
37+
Services --> Storage
38+
Runtime --> Plugins
39+
40+
%% Component Mappings
41+
click Runtime "https://github.com/elizaOS/eliza/blob/main/packages/core/src/runtime.ts"
42+
click Memory "https://github.com/elizaOS/eliza/blob/main/packages/core/src/memory.ts"
43+
click Cache "https://github.com/elizaOS/eliza/blob/main/packages/core/src/cache.ts"
44+
click DB "https://github.com/elizaOS/eliza/tree/main/packages/adapter-postgres/"
45+
click Services "https://github.com/elizaOS/eliza/tree/main/packages/core/src/services/"
46+
click Clients "https://github.com/elizaOS/eliza/tree/main/packages/client-discord/"
47+
click Models "https://github.com/elizaOS/eliza/blob/main/packages/core/src/providers.ts"
48+
click CorePlugins "https://github.com/elizaOS/eliza/tree/main/packages/plugin-bootstrap/"
49+
click BlockchainPlugins "https://github.com/elizaOS/eliza/tree/main/packages/plugin-solana/"
50+
click IntegrationPlugins "https://github.com/elizaOS/eliza/tree/main/packages/plugin-story/"
51+
52+
%% Styling
53+
classDef core fill:#2374ab,stroke:#000,stroke-width:2px,color:#fff
54+
classDef clients fill:#57a773,stroke:#000,stroke-width:2px,color:#fff
55+
classDef models fill:#ff8c42,stroke:#000,stroke-width:2px,color:#fff
56+
classDef plugin fill:#845ec2,stroke:#000,stroke-width:2px,color:#fff
57+
classDef infra fill:#4a4e69,stroke:#000,stroke-width:2px,color:#fff
58+
59+
%% Legend
60+
subgraph Legend
61+
direction TB
62+
L1[Core Components]:::core
63+
L2[Client Connectors]:::clients
64+
L3[Model Providers]:::models
65+
L4[Plugins]:::plugin
66+
L5[Infrastructure]:::infra
67+
end

0 commit comments

Comments
 (0)