Sibyl

Sibyl Platform -- Bootstrap, Session, Billing

Server-side sibyl -- bootstrap Tailscale auth, session manager tiers, billing ClickHouse, inference handler.

Sibyl Platform -- Bootstrap, Session, Billing (v2026-08-02T101544Z-ab2bbdebf5) 2026-08-01 | Server-side sibyl -- bootstrap Tailscale auth, session manager tiers, billing ClickHouse, inference handler. 1 - BOOTSTRAP Client POST /api/sibyl/bootstrap sibyl_bootstrap.bootstrap _provision_tailscale_key _sign_response bootstrap requ… 2 - SESSION MANAGEMENT Client GET /api/sibyl/stats sibyl_session_manager.get_manager create list_active session stats… 3 - INFERENCE PROCESSING Client POST /api/sibyl/process sibyl_router.process _require_tailscale _hmac_receipt inference requ… 1. Client sends bootstrap requ… 2. Server provisions Tailscale… 3. Client requests session sta… 4. Server lists active sessions 5. Client sends inference requ… 6. Server processes inference… Bootstrap Response Payload {tailscale_auth_key: 'ts-auth-key', fleet_key_b64: 'fleet-key-b64', kevin_tailscale_ip: '100.64.0.1', expires_at: '2023-10-01T12:00:00Z', signature: 'hmac-signature'} Inference Request Payload {job_id: 'uuid4()', client_id: 'client-id', product: 'sibyl', task_type: 'document_process', client_tier: 'standard', prompt: 'text to process', system: '', change_id: '', max_tokens: 2048, hard_cap_usd: 0.10} The source does not show any direct interaction with ClickHouse for billing in the provided code snippets. Session management and inference processing are handled by different modules. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Sibyl
Slug
sibyl-platform
Rendered
2026-08-02T101544Z
From commit
ab2bbdebf5
Watches
5 paths
  • daemon/src/sibyl_router.py
  • daemon/src/sibyl_bootstrap.py
  • daemon/src/sibyl_session_manager.py
  • daemon/src/sibyl_billing_writer.py
  • daemon/src/sibyl_inference_handler.py