feat: agent platform initial commit

- FastAPI + HTMX UI: dashboard, agents CRUD, chat, audit, tools
- SQLite schema: agents, conversations, messages, audit, sessions
- Code-agent sync (agents/*.py -> DB on startup)
- MCP client with health check
- Token auth (Bearer + session)
- LiteLLM integration via llm.py
- Docker Compose: agent-platform + mcp-tools services
- Smoke tests pass: /health 200, /api/agents 200, / 401
This commit is contained in:
Leopold
2026-07-05 22:18:00 +02:00
commit 64b840c94c
30 changed files with 2690 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[project]
name = "agent-platform"
version = "0.1.0"
description = "Business-taugliche Agent-Plattform mit LiteLLM + Pydantic AI + MCP"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"litellm>=1.50",
"pydantic-ai>=0.4",
"jinja2>=3.1",
"python-multipart>=0.0.12",
"aiosqlite>=0.20",
"httpx>=0.27",
"mcp>=1.0",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["agent", "llm", "db", "audit", "auth", "config", "api", "mcp_client"]
[tool.setuptools.packages.find]
where = ["."]
include = ["agents*"]