Sigmic AI Developer Docs
Sigmic AI lets you use and integrate AI agents into your applications. There are three ways to get started:- Chat UI — use AI agents directly through a hosted web interface, no code required
- Embeddable Widget — drop a chat UI into any website with two script tags
- Task API — execute tasks programmatically with full streaming, file upload, and multi-turn support
Integration Paths
Chat UI
Use AI agents through a hosted web interface — no code required. Every session runs on a full remote computer.
Embeddable Widget
Add AI chat to any website. Your backend exchanges credentials for a JWT, the browser handles the rest.
Task API
Programmatic task execution with streaming responses, file uploads, follow-ups, and artifact retrieval.
Console
Manage projects, API keys, widget apps, and MCP server configurations through a visual interface.
Key Features
Sandbox Isolation
Every task and widget conversation runs in an isolated cloud sandbox:- Process isolation — each execution has its own environment
- Filesystem isolation — users cannot access files from other sessions
- Environment injection — pass
envandsecretsper request, available asprocess.envin the sandbox
Fire-and-Forget Execution
POST endpoints return JSON immediately. Execution runs in the background:POST /tasksreturns{ id, status }instantlyGET /tasks/:id/streamdelivers history + live events via SSE- Disconnect and reconnect anytime — tasks keep running
Unified SSE Stream
The stream endpoint provides everything you need to build a chat UI:- History replay — all past messages delivered on connect
- Live events — real-time content, tool calls, and status updates
- Reconnectable — full state replay on every connection
- Heartbeat — 15-second keepalive for connection stability
File Upload & Artifacts
Upload files and retrieve generated outputs:- Maximum 20 files per request, up to 50MB each
- ZIP files are automatically extracted
- List and download workspace artifacts via the artifacts API
Session Auto-Restore
Expired sessions are automatically restored on follow-up messages:- Continue conversations at any time
- No need to handle session expiry errors
- Full conversation history and workspace files are preserved
Base URL
All API requests should be made to:Quick Example
Next Steps
Embed the Widget
Add AI chat to any website with a JWT and two script tags
Create a Task
Start executing tasks with the API
Authentication
Learn how to authenticate your API requests
Streaming Events
Understand the SSE event format