KI-Konzil/docs/index.md
copilot-swe-agent[bot] 23eaf3fd62 Fix version references: Next.js 14→16, Node.js 18→22, holisticQualityRating 4→4.4
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-14 13:10:24 +00:00

5.2 KiB

CouncilOS Documentation Index

Type: Multi-Part Full-Stack Web Application Primary Languages: Python (Backend), TypeScript (Frontend) Architecture: LangGraph Cyclic Multi-Agent Pipeline + React Flow Visual Builder Last Updated: 2026-03-13

Project Overview

CouncilOS ("KI-Rat Baukasten") ist eine visuelle No-Code-Plattform zum Erstellen und Ausführen von Multi-Agenten-KI-Pipelines. Nutzer bauen per Drag & Drop einen "KI-Rat" aus spezialisierten Agenten, die in zyklischen Schleifen iterativ zusammenarbeiten, bis die gewünschte Ergebnisqualität erreicht ist.

Project Structure

Dieses Projekt besteht aus 2 Hauptteilen:

Backend (api)

  • Type: FastAPI REST/WebSocket API + LangGraph AI Engine
  • Location: backend/
  • Tech Stack: Python 3.11+, FastAPI, LangGraph, SQLAlchemy (async), PostgreSQL, ChromaDB
  • Entry Point: backend/main.py

Frontend (ui)

  • Type: Next.js Single-Page Application mit React Flow Canvas
  • Location: frontend/
  • Tech Stack: Next.js 16, React, React Flow (@xyflow/react), Zustand, TypeScript
  • Entry Point: frontend/app/page.tsx

Cross-Part Integration

  • Frontend kommuniziert mit Backend via REST API (/api/councils/*, /api/runs/*) und WebSocket (/ws/council/{run_id})
  • Blueprint-JSON ist das kanonische Austauschformat zwischen Frontend und Backend
  • WebSocket-Events steuern die Echtzeit-Visualisierung des aktiven Agent-Nodes im Frontend

Quick Reference

Backend Quick Ref

  • Stack: FastAPI, LangGraph, SQLAlchemy, PostgreSQL, ChromaDB
  • Entry: backend/main.py
  • Pattern: Service Layer → Agent Nodes → LangGraph StateGraph

Frontend Quick Ref

  • Stack: Next.js, React Flow, Zustand, TypeScript
  • Entry: frontend/app/page.tsx
  • Pattern: React Flow Canvas → Blueprint Parser → API Client

Generated Documentation

Core Documentation

Existing Documentation

BMAD Planning Artifacts

BMAD Implementation Artifacts

Getting Started

Backend Setup

Prerequisites: Python 3.11+, PostgreSQL 16 (oder Docker)

cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload

Frontend Setup

Prerequisites: Node.js 18+

cd frontend
npm install
npm run dev

Docker Compose (empfohlen)

Prerequisites: Docker, Docker Compose

cp .env.example .env
# API-Keys in .env eintragen
docker compose up -d

Tests ausführen

# Backend (pytest)
cd backend && pytest tests/ -v

# Frontend (vitest)
cd frontend && npm test

For AI-Assisted Development

This documentation was generated specifically to enable AI agents to understand and extend this codebase.

When Planning New Features:

UI-only features: → Reference: _bmad-output/planning-artifacts/architecture.md, frontend/app/components/

API/Backend features: → Reference: _bmad-output/planning-artifacts/architecture.md, backend/api/, backend/services/

Full-stack features: → Reference: All architecture docs + CLAUDE.md for conventions

New Agent Tools: → Reference: backend/tools/, Factory-Pattern in backend/services/dynamic_graph_builder.py

Deployment changes: → Reference: docker-compose.yml, backend/Dockerfile, frontend/Dockerfile


Documentation generated by BMAD Method document-project workflow