News Developer Tools

AWS Pairs OpenCode Coding Agent With Open Weight Models on Bedrock

AWS shows how OpenCode pairs with open weight models on Amazon Bedrock, keeping code data inside a user's own AWS account.

Amazon Web Services now lets developers run OpenCode, an open-source terminal-based coding agent, with open weight models hosted on Amazon Bedrock. AWS says the pairing keeps code and project data inside a developer's own AWS account instead of sending it to a third-party API, and bills only for what gets used rather than charging flat per-seat subscription fees.

OpenCode is written in Go and works from the command line, reading files, running shell commands, and using Language Server Protocol diagnostics to understand a project's structure. AWS says it connects to more than 75 large language model providers, including Bedrock, which lets developers switch between models like Moonshot AI's Kimi K3, OpenAI's GPT-OSS 120B, and NVIDIA's Nemotron 3 Super 120B for different coding tasks.

AWS points to a McKinsey report finding that 76 percent of organizations expect to increase their use of open source AI, and cites CrowdStrike's fine-tuned Nemotron model reaching 96 percent valid query accuracy in internal testing, ahead of GPT-4o's 61 percent. Switching models on Bedrock requires changing a single API parameter rather than reconfiguring infrastructure, according to AWS, which also runs Bedrock as a managed service with no GPU provisioning required.

AWS says Ethara.AI already uses this setup in production, running multi-agent orchestration across the different open weight models to support engineering and research workflows.

Source: Use open weight models as your AI coding agent with Amazon Bedrock | Artificial Intelligence.