Research · AI security · AI coding agents · Model supply chain
Amazon Ergo: the security you give up when you self-host an open coding model
Amazon's first open-weights model, Ergo, is built to run coding agents. What it is, what Amazon says about its safety, and what you own when you host it yourself.
Short answer
Amazon released Ergo on 1 December 2026, an open-weights model for coding agents with 1.1 trillion parameters, free to download and run. On Amazon Bedrock it comes with zero data retention, no operator access and optional Guardrails. Download the weights and run them yourself, and Amazon says the safeguards, the runtime controls and the runtime data become your job. Before you plug it into a coding agent, sandbox the agent, cut its permissions, pin the exact files you downloaded and review every change it makes.
Amazon released Ergo on 1 December 2026, its first open-weights model, and it is built to run coding agents. On Amazon Bedrock, Amazon keeps a set of protections around it. If you download the weights and run them on your own servers, Amazon says that protecting the deployment becomes your job.
That trade is the part builders should think about before the benchmarks. This note covers what Ergo is, what Amazon says it tested, and what to put in place if you self-host it.
What Amazon released
Ergo comes from Amazon Frontier Model Research. Amazon’s launch post calls it “a fast, cost-effective frontier open-weights model for software engineering and agentic workflows.” It is a mixture-of-experts model: each token goes through a small part of the network, so it has 1.1 trillion parameters in total and uses 55 billion of them per token.
Amazon Ergo in four numbers
You can use it three ways. On Bedrock, Amazon says it runs at “over 400 output tokens per second” on its Trainium3 chips. On Hugging Face you can download the weights and serve them with SGLang or vLLM. Amazon also says it “works with Claude Code, Codex, OpenCode, and Kiro,” so it can slot in behind a coding agent you already use. The license is the Amazon Ergo Open-Weights License: free of charge, and you may run, fine-tune, modify and redistribute the model as long as you follow Amazon’s acceptable use policy.
Amazon’s AWS chips vice president Ron Diamant told Reuters there is “a miss in the market where there’s no American company with the reputation of Amazon” releasing open weights. Reuters notes that Chinese companies lead this space today.
How it scores, and where it falls short
Most of the benchmark table compares Ergo with other open-weights models. On Amazon’s own internal software test, AI SWE, it leads them, and it trails the current closed models.
AI SWE (FMR-Bench, Amazon's internal test), pass@1
The model card lists limits that matter for code review. Ergo’s first-attempt accuracy “trails the strongest closed models,” so Amazon recommends agents verify their own changes. It can produce output that is confident and wrong, and the card says changes should be reviewed before merging. It is text only, so it cannot read a screenshot or a diagram.
What Amazon says it tested
Amazon’s launch post opens its safety section with a line every agent builder should keep in mind: “an agent that can run commands can also delete files or expose credentials.”
Amazon says it tested Ergo for harmful content, agent behavior and privacy. In sandboxed agent scenarios it checked that the model “stops and asks before a dangerous action.” It says Ergo is “trained to be resistant to malicious instructions planted in the content it reads,” which is indirect prompt injection: an order hidden in a file, web page or issue that the agent reads while working. Outside firms also evaluated it under Amazon’s Frontier Model Safety Framework, covering offensive cyber operations, CBRN capabilities, loss of control and harmful manipulation.
Resistant means harder to fool. OWASP’s entry on prompt injection says “it is unclear if there are fool-proof methods of prevention” for it, because of how these models work. So the protections around the agent still decide how much damage one planted instruction can do.
Bedrock or self-hosted: who owns what
This is the line in Amazon’s post that changes your threat model: “customers who fine-tune or self-host Ergo are responsible for evaluating and safeguarding their own deployments, including protecting their own runtime data, and applying appropriate runtime controls.”
The same model, two ways to run it
Self-hosting has a real privacy upside: your prompts stay on your own network. The cost is that the record of every prompt, file and secret the agent sees now sits on your servers, and you have to protect it. Agent records can hold secrets: in the Cursor breach, stored agent traces held credentials that an attacker then used.
What to check before you plug Ergo into an agent
- Download from the right place, and pin it. Ergo’s repository is
Amazon-FMR/Ergo, published as safetensors, a format that holds numbers and no code to run. Check the publisher name exactly, because a name can change hands. Unit 42 recommends pinning “to a specific commit using the revision parameter”. Our note on what is in a model file covers these attacks in detail. - Treat the serving stack as software you own. vLLM, SGLang and the container around them need patching and should not be reachable from the internet. Decide who can call it.
- Box in the agent. Run it in a container or VM with no cloud keys, no SSH keys and no production access. Give it the repository and nothing else. OWASP’s advice for prompt injection starts with least privilege.
- Keep a human on anything that writes, deletes or sends. Amazon tested that Ergo stops before dangerous actions in its own sandbox. Your agent tool should enforce the same with approval prompts, whatever the model does.
- Protect the logs. Prompts, tool calls and outputs land on your disks. Set who can read them and how long you keep them, and scan them for secrets.
- Review every change before it merges. That’s Amazon’s own advice on the model card. Run your tests and security scans on agent-written code the same way you would for a new hire’s first pull request.
If you are learning to build and attack systems like this, our AI Security Engineer course covers agent permissions and prompt injection with hands-on labs.
Sources
Each page below was opened on 2 December 2026.
- Amazon, “Introducing Amazon Ergo”, 1 December 2026: aboutamazon.com
- Amazon Frontier Model Research, Ergo model card: huggingface.co
- Reuters, via The Korea Times, “Amazon unveils new open-weight AI model, faster chip at annual conference”, 2 December 2026: koreatimes.co.kr
- TechCrunch, “Amazon releases its first open-weight model, Ergo”, 1 December 2026: techcrunch.com
- OWASP GenAI Security Project, “LLM01: Prompt Injection”: genai.owasp.org
- Palo Alto Networks Unit 42, “Model Namespace Reuse”, 3 September 2025: unit42.paloaltonetworks.com