Lewis API Platform
Your computer agent,
now an API.
Lewis operates on a real computer. Create a task over REST, Lewis executes it on the desktop, and you stream the results back — scoped, metered, and audit-logged.
- sk_lewis_
- 256-bit scoped keys
- SSE
- live event streaming
- 1 credit
- per task, prepaid
- 50 / mo
- free tasks included
Infrastructure
Everything between your code and Lewis, handled.
Scoped API keys
256-bit sk_lewis_ keys with granular scopes, hash-only storage, and instant revocation.
Real-time events
Stream plan, action, and result events over SSE while Lewis works on the desktop.
Usage metering
Per-key analytics, daily rollups, rate-limit headers, and predictable prepaid credits.
Built for teams
Organizations with SSO, member roles, and shared billing. Enterprise-ready from day one.
API
A small surface,
built around one loop.
Create a task, stream its events, read the result. Six endpoints, consistent errors, cursor pagination, idempotency keys.
Full reference/v1/tasks/v1/tasks/{id}/v1/tasks/{id}/events/v1/tasks/{id}/cancel/v1/agents/v1/usage$ curl -X POST https://platform.lewisos.com/api/v1/tasks \
-H "Authorization: Bearer sk_lewis_..." \
-d '{"prompt": "Pull this week's sales numbers
and draft the summary email"}'
{
"id": "task_SBupMFQopyKrghk1xLOw",
"status": "dispatched",
"progress": { ... }
}Start building in minutes.
50 free tasks every month. No credit card required — create a key and dispatch your first task now.
