A governance-first AI agent orchestration platform. 12 kernel modules, 11 agent classes, enterprise-grade security, and full audit trail.
End-to-end flow from client request to database persistence, with governance and monitoring at every layer.
Each task flows through a strict state machine: BRIEFING to DONE, with quality gates and audit at every transition.
REWORK loops back to IN_PROGRESS. REJECTED is a terminal state from any step. Each transition is logged in the audit trail.
Each agent belongs to one of 11 specialized classes, organized into functional guilds with ERA progression stages (E0-E5).
Every task follows a governed lifecycle from initial request to final decision log.
Connect to K0nsult via REST API, real-time messaging, or direct database access.
Full CRUD API with 30+ endpoints. JSON request/response. Authentication via x-konsult-secret header or Bearer JWT tokens. Rate limited at 100-200 req/15min.
Base URL: https://k0nsult.fly.dev/api
K0nsult Chat system with heartbeat-based presence. Meeting rooms with open/closed/private modes. Message polling with GET /api/konsult/messages.
Presence: /api/konsult/online
Fly.io managed Postgres. 14 core tables. Connection pooling (max 10). Auto-retry on transient errors. Full schema migration on startup.
Tables: agents, tasks, missions, reports, decisions, audit, alerts, skills, violations, entry_log, meetings
Automated report generation on schedule. Hourly status aggregation. Daily summaries. Critical alert monitoring. Configurable via cron-reports.js.
Machine-readable endpoint at GET /api/ai returns system metadata, version, available endpoints, and authentication requirements. No auth required.
Whitelisted origins: k0nsult.pl, platform.example.com, api.k0nsult.dev, localhost. Helmet security headers. Compression enabled. Trust proxy for Fly.io.
Five layers of defense from request ingress to audit persistence.
HTTP security headers: X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, CSP (relaxed for dashboard).
Origin-based access control. Only approved domains (k0nsult.pl, platform.example.com, localhost) can make cross-origin requests.
Three-tier flag system: YELLOW (minor), ORANGE (serious), RED (critical). Violations increment agent counters and trigger audit entries.