api_server.py exposes the same Raksam agent used by the console.
Endpoints:
GET /healthGET /v1/devicesPOST /v1/chatPOST /v1/agent/run
Example request body:
{"message":"Open Notepad and write Hello"}For local development:
$env:RAKSAM_API_KEY="change-this"
py -3.13 api_server.pyFor a public service, deploy behind HTTPS and a production gateway with per-user authentication/API keys, rate limits, quotas, isolated sessions, observability, and device ownership controls. The API layer is deliberately separate from the brain so the future website and developer API can use the same Raksam engine.