Sibyl

Sibyl Site + Oracle API

FastAPI oracle site -- SQLite visits/downloads/queries, Carousel AI routing, public query endpoint.

Sibyl Site + Oracle API (v2026-08-02T101544Z-ab2bbdebf5) 2026-08-02 | FastAPI oracle site -- SQLite visits/downloads/queries, Carousel AI routing, public query endpoint. 1 - API ENDPOINTS - handles HTTP requests index() GET / apps/sibyl-site/server.py:40 visit() POST /api/visit apps/sibyl-site/server.py:51 download() POST /api/download apps/sibyl-site/server.py:70 query() POST /api/query apps/sibyl-site/server.py:92 visit data download data query request 2 - DATABASE OPERATIONS - interacts with SQLite visits.db CREATE TABLE visits CREATE TABLE downloads _db() sqlite3.connect apps/sibyl-site/server.py:27 visit record 3 - CAROUSEL AI ROUTING - handles AI queries _carousel_ask() carousel.call.ask apps/sibyl-site/server.py:120 query() _connection_meta apps/sibyl-site/server.py:92 AI query reque… 1. Client sends a POST /api/vi… 2. visit() processes the reque… 3. Client sends a POST /api/do… 4. download() processes the re… 5. Client sends a POST /api/qu… 6. query() processes the reque… Visit Request Payload { "ip": "192.168.1.1", "forwarded": "10.0.0.1", "user_agent": "Mozilla/5.0"} } Query Request Payload { "query": "What is the meaning of life?", "model_tier": "standard" } Carousel AI routing is optional and depends on _CAROUSEL_AVAILABLE. The daemon and KevinProxy components are not directly involved in this dataflow. 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-site
Rendered
2026-08-02T101544Z
From commit
ab2bbdebf5
Watches
2 paths
  • apps/sibyl-site
  • apps/sibyl