Amika ships official SDKs that wrap the hosted API at app.amika.dev. Use them when you want to drive sandboxes from a program rather than the shell.Documentation Index
Fetch the complete documentation index at: https://docs.amika.dev/llms.txt
Use this file to discover all available pages before exploring further.
Available SDKs
TypeScript
@amika/sdk — sandboxes, sessions, secrets, agent invocations.TypeScript source
Read the source on GitHub.
When to use the SDK vs. the CLI
| Use case | Tool |
|---|---|
| Day-to-day shell work, ad-hoc sandbox creation | CLI |
| Building automated pipelines, web apps, or background jobs | SDK |
| One-off scripts to drive an agent through a task | Either — see Programmatic usage |
| CI: spin up a sandbox per PR | SDK (or CLI in a job that has AMIKA_API_KEY set) |
What the SDK does not do
- It does not source credentials for you. The TypeScript SDK doesn’t
read
AMIKA_API_KEYfrom your environment or from disk — you pass a token viaaccessTokenortokenSource. - It does not run shell commands. Use SSH (via
getSSHor the SSH guide) when you need a shell. - It does not stream agent output.
agentSendblocks until the agent finishes and returns the full result.