You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix blog post: Replace non-existent images with Mermaid diagrams
- Replace image reference with comprehensive Mermaid architecture diagram
- Remove image reference from posts.mdx card component
- Use Mintlify-compatible Mermaid syntax for visual representation
- Diagram shows the full Grainchain architecture from application to providers
Copy file name to clipboardExpand all lines: docs/blog/grainchain-langchain-for-sandboxes.mdx
+52-4Lines changed: 52 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,58 @@ iconType: "solid"
5
5
description: "Unifying the fragmented sandbox ecosystem with a provider-agnostic interface"
6
6
---
7
7
8
-
<Framecaption="Grainchain provides a unified interface across sandbox providers, just like Langchain does for LLMs">
9
-
<imgsrc="/images/grainchain-architecture.png" />
10
-
</Frame>
8
+
```mermaid
9
+
graph TB
10
+
subgraph "Application Layer"
11
+
App[Your Application]
12
+
end
13
+
14
+
subgraph "Grainchain Core"
15
+
API[Unified API]
16
+
Config[Configuration Manager]
17
+
Session[Session Manager]
18
+
end
19
+
20
+
subgraph "Provider Adapters"
21
+
E2B[E2B Adapter]
22
+
Modal[Modal Adapter]
23
+
Daytona[Daytona Adapter]
24
+
Morph[Morph Adapter]
25
+
Local[Local Adapter]
26
+
end
27
+
28
+
subgraph "Sandbox Providers"
29
+
E2BProvider[E2B Sandboxes]
30
+
ModalProvider[Modal Sandboxes]
31
+
DaytonaProvider[Daytona Workspaces]
32
+
MorphProvider[Morph VMs]
33
+
LocalProvider[Local Environment]
34
+
end
35
+
36
+
App --> API
37
+
API --> Config
38
+
API --> Session
39
+
40
+
Config --> E2B
41
+
Config --> Modal
42
+
Config --> Daytona
43
+
Config --> Morph
44
+
Config --> Local
45
+
46
+
E2B --> E2BProvider
47
+
Modal --> ModalProvider
48
+
Daytona --> DaytonaProvider
49
+
Morph --> MorphProvider
50
+
Local --> LocalProvider
51
+
52
+
style App fill:#e1f5fe
53
+
style API fill:#f3e5f5
54
+
style E2BProvider fill:#fff3e0
55
+
style ModalProvider fill:#fff3e0
56
+
style DaytonaProvider fill:#fff3e0
57
+
style MorphProvider fill:#fff3e0
58
+
style LocalProvider fill:#fff3e0
59
+
```
11
60
12
61
The sandbox ecosystem is exploding. E2B, Modal, Daytona, Morph, and countless other providers are revolutionizing how we execute code in isolated environments. But this innovation comes with a cost: **fragmentation**.
13
62
@@ -264,4 +313,3 @@ The future of sandbox computing is unified, open, and developer-first.
264
313
*Built with ❤️ by the [Codegen](https://codegen.com) team*
265
314
266
315
*Get started with Grainchain today: [https://github.com/codegen-sh/grainchain](https://github.com/codegen-sh/grainchain)*
0 commit comments