Skip to main content

Getting Started

Give an AI agent a real, owned identity — an email inbox, and optionally a phone number — and send its first message, all from the terminal. Anima is hosted; there is nothing to run locally and no infrastructure to stand up. This page takes you from zero to a working agent that can send email.
1

Install the CLI

The anima CLI is the fastest way to provision and drive an agent.Confirm it’s on your PATH:
anima --version
The primary binary is anima; am is a shorter alias for the same tool.
2

Onboard

Run the guided onboarding:
anima onboard
If you’re not signed in yet, anima onboard starts setup for you. Choosing Create a fresh agent identity provisions an organization, an agent, and an email inbox in a single flow, and saves your credentials locally. You’ll be asked for two things:
  • The agent owner’s email — the human who owns this agent. A 6-digit verification code is sent here.
  • A username for the agent — this becomes the agent’s address, <username>@agents.useanima.sh.
Onboarding then shows your identity and plan tier, offers a couple of optional test-mode demos (no real email is sent), and offers to wire Anima into your AI client over MCP. When it finishes you have a working agent identity with an inbox, its credentials stored in ~/.anima, and the commands to do everything else.
Already have an Anima organization and API key? Choose Configure with an existing API key instead, or run anima init --non-interactive --api-key ak_....
3

Verify to unlock sending

A brand-new agent starts unverified, and an unverified agent may only email its own owner. To unlock sending to anyone, get the 6-digit code from the owner’s inbox and submit it:
anima verify <code>
On success, the agent is verified and can send to any recipient. You can confirm your identity and tier at any time:
anima auth whoami
4

Send the first email

Send an email from your agent. Until the agent is verified, send it to the owner’s address — that always works and proves the inbox is live end to end. You’ll need the agent’s ID, which onboarding printed and stored; anima auth whoami shows your identity.
anima email send \
  --agent <agent-id> \
  --to you@example.com \
  --subject "Hello from my Anima agent" \
  --body "This email was sent by an AI agent."
The command prints the sent message’s ID. To watch messages arrive and other events in real time, open the live event stream:
anima tail
5

Provision a phone number (optional)

On a Starter tier or above, give the same agent a phone number for SMS and voice:
anima phone provision --agent <agent-id> --country US --capabilities sms,voice
Then text a number you control:
anima phone send-sms --agent <agent-id> --to +15551234567 --body "Texting from my Anima agent."
See Phone & Voice for the full SMS-then-call walkthrough.

Use it from code

The same platform is available from the official SDKs. Once onboarding has provisioned an agent, use its ID to send from your application. Set ANIMA_API_KEY in your environment (the CLI stored your key under ~/.anima), or pass the key to the client directly.
npm install @anima-labs/sdk
import { Anima } from "@anima-labs/sdk";

const anima = new Anima({ apiKey: process.env.ANIMA_API_KEY });

const message = await anima.messages.sendEmail({
  agentId: "agent_...",
  to: ["you@example.com"],
  subject: "Hello from my Anima agent",
  body: "This email was sent by an AI agent.",
});

console.log(message.id, message.status);
The REST API lives at https://api.useanima.sh/v1 and accepts your key as either a Bearer token or an X-API-Key header.

Next steps

For AI Agents

Let your agent set itself up from skill.md, and connect the docs and product MCP servers.

Connect your AI client

Wire Anima’s tools into Claude Code, Cursor, Claude Desktop, VS Code, and Windsurf.

Quickstart: Vault

Store credentials your agent can use without exposing raw secrets to the model.

SDKs

Typed clients for Node.js, Python, and Go.