| title | README.md |
|---|---|
| description | Projektübersicht für Substrate AI – Features, Architektur und Einstieg. |
| created | 2026-01-01 |
| updated | 2026-08-28 |
Production-ready AI agent framework with streaming, memory, tools, and MCP integration.
Built on OpenRouter, PostgreSQL persistence, and an extensible tool architecture.
git clone https://github.com/Duzafizzl/substrate-ai.git
cd substrate-ai
python setup.py # venv, deps, config
# OPENROUTER_API_KEY in backend/.env eintragen
./start.sh # oder Backend + Frontend manuell starten→ Browser: http://localhost:5173
Details, Troubleshooting und manuelles Setup: QUICK_START.md
Optional: vorkonfigurierter ALEX-Agent nach API-Key-Setup:
cd backend && source venv/bin/activate && python setup_alex.py| Bereich | Highlights |
|---|---|
| Core | Multi-Model (OpenRouter), SSE-Streaming, Sessions, Cost Tracking |
| Memory | Core + Archival (ChromaDB), Miras-Architektur (Retention, Attention, Hierarchie) |
| Tools | Web, Search, Discord, Code-Sandbox, Graph RAG |
| MCP | Browser-Automation (Playwright), Vision (Gemini), Skills |
| Autonomous | Heartbeat, Rooms/Channels, Task Scheduler, Daemon Mode |
┌─────────────────────────────────────────────────┐
│ Frontend (React + Vite) │
│ Streaming UI · Sessions · Memory · Rooms │
└─────────────────┬───────────────────────────────┘
│ HTTP / SSE
┌─────────────────▼───────────────────────────────┐
│ Backend (Python / Flask) │
│ Consciousness Loop · Daemon · Tools · MCP │
│ Memory (Miras) · Channels · Task Scheduler │
└──────────────────┬──────────────────────────────┘
│
┌─────────────┼─────────────┬─────────────┐
│ │ │ │
PostgreSQL ChromaDB MCP Servers Neo4j (opt.)
Backend: Python 3.11+, Flask, PostgreSQL, ChromaDB, OpenRouter, RestrictedPython
Frontend: React 18, TypeScript, Tailwind, Vite
MCP: Playwright, Gemini Flash, fastmcp
| Thema | Datei |
|---|---|
| Setup & Start | QUICK_START.md |
| Projektstruktur | STRUCTURE.txt |
| MCP-System | MCP_SYSTEM_OVERVIEW.md |
| Miras Memory | docs/MIRAS_TITANS_INTEGRATION.md |
| Beispiel-Agents | examples/README.md |
| PostgreSQL | backend/POSTGRESQL_SETUP.md |
| Python 3.13 | backend/PYTHON_3.13_COMPATIBILITY.md |
REST endpoints for agents, chat (SSE), memory, graph RAG, channels, tasks, and heartbeat.
Full endpoint lists and tool reference: see source in backend/api/ and MCP_SYSTEM_OVERVIEW.md.
Sandboxed code execution, domain whitelisting for browser automation, rate limiting, CORS, input sanitization.
Details: backend/ security modules and config in .env.
# Backend
cd backend && source venv/bin/activate && python api/server.py
# Frontend
cd frontend && npm install && npm run devcd backend && python test_startup.py
cd frontend && npm run buildFork → feature branch → tests → pull request.
Python: PEP 8, type hints. TypeScript: ESLint, strict mode.
See LICENSE.
Version 1.2.1 · Updated: August 2026