Available SDKs
TypeScript
@amika/sdk: rigs, agent sessions, snapshots, services, and secrets.TypeScript source
Read the source on GitHub.
When to use the SDK vs. the CLI
The Guides in this site show both side by side, so you can pick whichever
matches the surface you’re working in.
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 passapiKey,accessToken, ortokenSource. - It does not detect your Git repository. Pass a clone URL as
repoUrl. - It does not open shells. Use the CLI’s
amika rig sshwhen you need one. See SSH and connect. - It does not list your hosts. Get a host’s ID for
hostIdfromamika host get <hostname>.
sendStream() reports reply text as the
agent produces it. See the client reference.