How to run Amazon Ergo (1.1T) as an AI agent (vLLM, Bedrock & Casama)
Released on December 1, 2026 by Amazon Frontier Model Research, Amazon Ergo (Ergo-1.0) is Amazon's first internally developed open-weights foundation model: a 1.1-trillion-parameter Mixture-of-Experts (MoE) model with 55 billion active parameters, a 1-million-token context window, and 128,000 max output tokens.
Ergo was trained specifically for software engineering and long-horizon agent loops. Its weights are on Hugging Face (BF16, MXFP8, MXFP4) for serving with vLLM or SGLang, and it runs on Amazon Bedrock on AWS Trainium at over 400 output tokens per second.
What Ergo does not include by itself is the agent around the model: a sandboxed Linux computer, connected apps (Gmail, Drive, GitHub, Calendar, Slack), human-in-the-loop approval gates, persistent memory, scheduled routines, and mobile/desktop apps.
Three ways to run Amazon Ergo as an AI agent with Casama
| Setup | Where Ergo runs | How Casama connects | Best for |
|---|---|---|---|
| Self-hosted vLLM / SGLang + Casama | Your own GPU servers or private cloud | Add as an OpenAI-compatible provider (http://<host>/v1) | Full control over weights, VPC privacy, custom fine-tunes |
| Amazon Bedrock + OpenAI-compatible gateway + Casama | AWS Bedrock (us.amazon.ergo-1.0 / global.amazon.ergo-1.0) | Point Casama's OpenAI-compatible provider at LiteLLM or Bedrock Access Gateway | >400 tok/s Trainium speed, zero data retention, AWS billing |
| OpenRouter + Casama Cloud | Managed inference providers as they list Ergo | Paste your OpenRouter API key in Casama Settings | Fastest setup, zero infrastructure, automatic fallbacks |
Step-by-step setup
- Expose an OpenAI-compatible endpoint via
vLLM/SGLang(self-hosted) or LiteLLM / AWS Bedrock Access Gateway (in front ofus.amazon.ergo-1.0). - Add the provider in Casama: Open Settings → AI Keys, choose OpenAI-compatible (or OpenRouter), and enter your base URL, API key, and model ID.
- Assign Ergo per bot with a fallback: Pick Ergo for coding, repo-wide audits, and long-horizon tasks, and keep a secondary model (or Casama Cloud's managed models) as an automatic fallback.
- Add tools & guardrails: Connect GitHub, Gmail, Drive, or Slack, enable a sandboxed computer, and keep approval checkpoints on for external or destructive actions.
Amazon Bedrock AgentCore vs. Casama
- Bedrock AgentCore is an AWS developer runtime/SDK for embedding custom backend agents inside AWS applications.
- Casama is a ready-to-use cross-platform AI agent workspace (iOS, Android, macOS, Windows, Linux, web, CLI, MCP) with per-bot sandboxed Linux computers, 63+ connected apps, built-in approval cards, and free personal self-hosting.