HTTP API
Run sxth-mind as an HTTP service.Starting the Server
--adapter— Adapter to use (sales, habits, learning)--port— Port to bind (default: 8000)--host— Host to bind (default: 0.0.0.0)--storage— Storage backend (memory, sqlite)--db-path— SQLite database path
Endpoints
Health Check
Chat
Chat Stream
Get State
Explain State
Get Nudges
Generate Nudges
Dismiss Nudge
Act on Nudge
Programmatic Usage
Create a custom FastAPI app:Security Note
The HTTP API has no built-in authentication. For production:- Mount into your own app with your auth middleware
- Use a reverse proxy with authentication
- Deploy in a private network

