euxis-gateway-cpp¶
C++23 HTTP control plane for the Euxis agent framework.
Overview¶
HTTP-only gateway server using cpp-httplib. Provides health checks, session CRUD, webhook ingestion, and admin endpoints. Includes HMAC-SHA256 authentication via libsodium and JSONL-based session/audit persistence.
Key Types¶
GatewayServer– HTTP server wrappinghttplib::ServerGatewayConfig– Server configuration with timeout presetsAuthError– Authentication failure type
Key Functions¶
verify_hmac()– HMAC-SHA256 signature verification with constant-time compareverify_bearer_token()– Bearer token validationState functions:
persist_message(),load_session_from_disk(),audit_log()Route groups: health, sessions, webhooks, admin
Dependencies¶
euxis-security-cpp,euxis-core-cpp,euxis-adapters-cpp,euxis-metrics-cpphttplib::httplib,unofficial-sodium::sodiumnlohmann_json::nlohmann_json,spdlog::spdlog
Build¶
Part of the euxis-cpp CMake project. Built via euxis_add_library() macro.