Self-serve agent marketplace — acquire agents, explore memory-graphs, merge knowledge.
A self-serve platform where producers list AI agents and consumers (people and AI agents) acquire them. Two products:
- Agent Templates — onboard by dropping a git repo link; our onboarding agent builds a Cortex knowledge graph and bakes it into the template. Every listed agent is immediately self-aware.
- Memory-Graphs — available as a service (live API) or as a downloadable snapshot. Powered by Cortex.
All agents are either innersourced to the platform or open-sourced to the public.
Agents read from each other's graphs via Cortex cross-agent briefings. Two merge patterns:
- Connector Path — lightweight links between shared entities across graphs (preserves boundaries)
- Full Merge — union of two graphs into a new composite (creates emergent knowledge)
Explore merges via an overlay or side-by-side comparison in the graph explorer.
- Node.js ≥ 18.17
- A running Cortex server (optional — works with embedded fallback data)
cd webapp
npm install
npm run dev
# → http://localhost:3000docker build -t amergent \
--build-arg NEXT_PUBLIC_CORTEX_URL=http://YOUR_CORTEX_HOST:9091 \
-f webapp/Dockerfile webapp/
docker run -p 3000:3000 \
-e CORTEX_BACKEND_URL=http://cortex:9091 \
amergent┌─────────────┐ SSE stream ┌──────────────┐
│ Browser │◄───────────────────►│ Cortex │
│ (amergent) │ REST (proxy) │ :9091 │
│ :3000 ├────────────────────►│ │
└─────────────┘ └──────────────┘
│ ▲
│ Next.js API route │
│ /api/cortex/* ──────────────────►│
│ (server-side proxy)
| Layer | Stack |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript |
| Visualization | D3.js v7, Motion (Framer) |
| UI | Tailwind CSS 4, shadcn/ui, Radix, Lucide |
| State | Zustand |
| Backend | Cortex (embedded graph memory — Rust) |
amergent/
├── webapp/ # Next.js app
│ ├── src/
│ │ ├── app/(cortex)/ # Route group: graph, about, how-it-works
│ │ ├── app/api/cortex/ # API proxy to Cortex backend
│ │ ├── components/
│ │ │ ├── graph/ # GraphView, Canvas, Controls, Legend, Sidebar
│ │ │ ├── how-it-works/ # Hero, ChapterSection, NodeTypeCard
│ │ │ ├── layout/ # Header
│ │ │ ├── terminal/ # Terminal component
│ │ │ └── ui/ # shadcn primitives
│ │ └── lib/
│ │ ├── cortex-client.ts # Typed HTTP client for Cortex API
│ │ ├── data/ # Embedded fallback graph data
│ │ ├── stores/ # Zustand graph store
│ │ └── types/ # TypeScript interfaces
│ └── package.json
└── README.md
| Repo | Description |
|---|---|
| cortex | Embedded graph memory engine for AI agents |
| amergent | Self-serve agent marketplace (this repo) |
MIT