-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIntegrations.tsx
More file actions
44 lines (41 loc) · 1.25 KB
/
Copy pathIntegrations.tsx
File metadata and controls
44 lines (41 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
interface IntegrationsProps {
onNavigate: (slug: string) => void;
}
const INTEGRATIONS = [
{
slug: 'langchain',
label: 'LangChain.js',
description: 'Use MDMA inside a LangChain chain or agent — backend Node.js service.',
},
{
slug: 'ag-ui',
label: 'AG-UI',
description:
'Stream MDMA over the AG-UI protocol and resume the agent run on user actions — human-in-the-loop.',
},
];
export function Integrations({ onNavigate }: IntegrationsProps) {
return (
<>
<h2>Integrations</h2>
<p>
MDMA is framework-agnostic. Any library or language that can call an LLM and pass a system
prompt works — the guides below show concrete setups for popular frameworks.
</p>
<div className="docs-inprogress-list">
{INTEGRATIONS.map(({ slug, label, description }) => (
<button
key={slug}
type="button"
className="docs-inprogress-item docs-packages-nav-link"
onClick={() => onNavigate(`integrations/${slug}`)}
>
<span className="docs-inprogress-name">{label}</span>
<span className="docs-inprogress-desc">{description}</span>
</button>
))}
</div>
</>
);
}
export { INTEGRATIONS };