Quick start

Start your first agent session from the CLI, Python, TypeScript, or curl.

Get started

Install the CLI or an SDK:

1
curl -fsSL https://ellipsis.dev/install.sh | sh

Sign in with device auth. The CLI opens your browser to approve the login:

1
el auth login

For CI, the SDKs, and curl, export an API key from API > API keys in the dashboard:

1
export ELLIPSIS_API_TOKEN="ellipsis_key_..."

Start an agent session

Start the classify-change agent:

1
el agent start classify-change --input '{"description": "Reject expired reset tokens"}'

Typed input and output defines it. An agent with no input schema takes prompt instead of input.

Wait for it to finish:

1
el session get <session-id> --watch

wait and --watch return when status is completed, failed, stopped, or cancelled. --watch exits 0 only for completed.

Read the output:

1
print(client.sessions.output("your-session-id"))

It matches the agent's output.json_schema:

1
{
2
"category": "bugfix",
3
"reason": "Rejecting expired reset tokens closes a validation gap."
4
}

Errors and retries

  • Errors return {"error": {"code": "...", "message": "..."}}. Branch on code, not message.
  • Retry 429 after Retry-After, and 5xx with backoff.
  • A start that times out can still succeed. Tag sessions with metadata and list recent sessions before you retry.

Pagination

  • Paginated routes take limit and cursor.
  • Pass next_cursor until has_more is false.
  • SDK iterators fetch every page.

On this page

Schedule a demo