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
+17
View File
@@ -0,0 +1,17 @@
# LLM Configuration
LLM_PROVIDER=openrouter
LLM_API_KEY=sk-or-v1-xxx
LLM_MODEL=anthropic/claude-3.5-sonnet
LLM_API_BASE=
# Auth (CHANGE THIS!)
AUTH_TOKEN=change-me-to-something-secure
# Logging
LOG_LEVEL=info
# Limits
MAX_HISTORY_MESSAGES=10
MAX_PARALLEL_AGENTS=5
AGENT_IDLE_TIMEOUT_SEC=300
MCP_TIMEOUT=10