Get to know Cadenya
We’re developers who love to build. We set out to create a yes-code platform that makes building agents feel like the best parts of building software.
Amazon Bedrock AgentCore is AWS’s set of services for running agents: AgentCore Runtime hosts your agent code in a microVM per session, Code Interpreter runs code in Sandbox, Public, or VPC network mode, Gateway turns OpenAPI targets into MCP tools, Identity handles OAuth and on-behalf-of token exchange, and Memory keeps what the agent learns. Its alternatives are Claude Managed Agents, LangSmith Deployment, the OpenAI Agents API, and Cadenya, and they differ on who writes the loop and what you pay for.
So pick AgentCore to host your own agent code on AWS with any framework and model. Pick Claude Managed Agents for a Claude agent that works in files and a shell, and LangSmith Deployment for a LangGraph graph you already wrote. And if your agent acts through your own API, Cadenya is a hosted agent loop with approvals, conversation state, resume, and model swap: it runs models from Bedrock, OpenAI, Anthropic, Gemini, Vertex, OpenRouter or any OpenAI-compatible endpoint, turns your OpenAPI document into tools, and calls your sandbox as a tool set. A coding agent can set it up with no account, in a temporary workspace you claim later. What it offers is at the end.
Every price and limit below comes from each vendor’s own pages, checked on November 11, 2026.
Bedrock AgentCore alternatives side by side
| Amazon Bedrock AgentCore | Claude Managed Agents | LangSmith Deployment | OpenAI Agents API | Cadenya | |
|---|---|---|---|---|---|
| Who writes the loop | You, on Runtime, or the managed harness you configure | Anthropic | You | OpenAI | The hosted loop, configured on an agent variation |
| Models | Any model, including Bedrock, Claude, Gemini, and OpenAI | Claude models | Any model your agent code calls | OpenAI models | Bedrock, OpenAI, Anthropic, Gemini, Vertex, OpenRouter, or any OpenAI-compatible endpoint, set per variation |
| Tool approvals | A Lambda before_tool_call hook returns allow or deny | always_ask, answered with user.tool_confirmation | LangGraph interrupt() | Automatic review by an OpenAI reviewer model | Per tool or by filter, on toolApprovalRequested, with a memo on denial |
| Your API as tools | Gateway: OpenAPI, Smithy, Lambda, and MCP server targets | Custom tools and MCP servers | Your graph’s code | Function calls your app runs | OpenAPI 3.0 or later, MCP, HTTP, Bare, and client tools |
| Where code runs | Code Interpreter in Sandbox, Public, or VPC mode | Cloud sandbox or self-hosted sandbox | Your graph’s code | OpenAI-hosted sandbox or codex exec-server in your environment | Your sandbox (E2B, Daytona, Blaxel), called as a tool set |
| Starting price | $0.0895 per vCPU-hour, billed per second | $0.08 per session-hour, plus tokens | $39 a seat a month on Plus, then pay as you go | Model tokens, tools, and container time | Free for 1,000 loops a month, $49 a month for 50,000 |
Claude Managed Agents bills while a session is running, and its alternatives page covers it in depth. LangSmith runtime compute is 0.0675 LSU per vCPU-hour, where one LSU is $1.00 (pricing and alternatives). The OpenAI Agents API “gives your application access to the Codex harness,” and a hosted 1 GB container is $0.03 per 20-minute session. To write the loop yourself on a durable engine, start with DBOS vs Temporal.
AgentCore Runtime sessions, frameworks and pricing
AgentCore Runtime hosts agent code you write. It “works with any Large Language Model, such as models offered by Amazon Bedrock, Anthropic Claude, Google Gemini, and OpenAI,” and AWS’s framework guide shows Strands Agents, LangGraph, Google ADK, and the OpenAI Agents SDK.
You wrap the agent with BedrockAgentCoreApp from the bedrock-agentcore package, at 1.26.0 on PyPI (released November 10, 2026, Apache-2.0, Python 3.10 or later). Here’s the Strands example from AWS’s framework guide, trimmed:
from strands import Agent
from bedrock_agentcore.runtime import BedrockAgentCoreApp
agent = Agent()
app = BedrockAgentCoreApp()
@app.entrypoint
def agent_invocation(payload, context):
result = agent(payload.get("prompt", ""))
return {"result": result.message}
app.run()
Each session gets “its own dedicated microVM with isolated compute, memory, and filesystem resources.” Your app sends the same runtimeSessionId on each call to reach the same microVM, and “your client backend should maintain the relationship between users and their session IDs.” Durable data goes to session storage or AgentCore Memory.
Runtime bills per second. The v1 microVMs cost $0.0895 per vCPU-hour and $0.00945 per GB-hour, and v2 costs $0.1276 and $0.0169. CPU scales to zero during I/O wait, and on v2 “memory is reclaimed throughout the session.” AWS’s worked example, a support agent with 1 million sessions a month on v2, comes to $6,703.
AgentCore Code Interpreter network modes: Sandbox, Public and VPC
AgentCore Code Interpreter runs the code an agent writes, in Python, JavaScript, or TypeScript. The system code interpreter, aws.codeinterpreter.v1, has “default configuration with the most restrictive options.” A custom one takes an execution role and one of three network modes:
| Network mode | What the code can reach |
|---|---|
| Sandbox | ”Limited external network access to AWS services,” including Amazon S3 for data operations |
| Public | ”Public internet resources,” for external APIs and services |
| VPC | Private databases, internal APIs, and other services in your VPC, “while maintaining network isolation from the public internet” |
From an agent, the bedrock_agentcore package opens a session and runs code. This is the call from AWS’s Strands example:
from bedrock_agentcore.tools.code_interpreter_client import code_session
with code_session("us-west-2") as code_client:
response = code_client.invoke("executeCode", {
"code": "print(2 + 2)",
"language": "python",
"clearContext": False,
})
for event in response["stream"]:
print(event["result"])
Code Interpreter bills at the Runtime v1 rates, per second, and “I/O wait and idle time is free, if no other background process is running.”
Cadenya runs the agent loop and calls your sandbox as a tool set. The guides for E2B, Daytona, and Blaxel show the setup, and running agent-generated code safely compares the isolation models.
AgentCore Gateway OpenAPI targets and outbound auth
AgentCore Gateway turns APIs into MCP tools. It “supports OpenAPI, Smithy, and Lambda as tool input types,” plus MCP server and API Gateway targets. Three rules decide whether an OpenAPI spec loads:
- Every operation needs an
operationId. “The operationId is used as the tool name in the MCP interface.” - OpenAPI 3.0 or 3.1. Swagger 2.0 isn’t accepted, and neither are
oneOf,anyOf,allOf, or security schemes declared inside the spec. - Auth lives in Gateway. Outbound auth is OAuth (two-legged client credentials or three-legged authorization code), an API key, or IAM SigV4, set up in AgentCore Identity “in the same account and Region as the gateway.”
You upload the schema to S3 or paste it inline. AWS’s Boto3 example, trimmed:
import boto3
client = boto3.client("bedrock-agentcore-control")
target = client.create_gateway_target(
gatewayIdentifier="your-gateway-id",
name="SearchAPITarget",
targetConfiguration={
"mcp": {"openApiSchema": {"s3": {"uri": "s3://your-bucket/open-api-spec.json"}}}
},
credentialProviderConfigurations=[{
"credentialProviderType": "API_KEY",
"credentialProvider": {"apiKeyCredentialProvider": {
"providerArn": "arn:aws:agent-credential-provider:...",
"credentialLocation": "HEADER",
"credentialParameterName": "X-API-Key",
}},
}],
)
When the API changes, SynchronizeGatewayTargets refreshes the target “by fetching the latest tool definitions from the target endpoints.” Gateway costs $0.005 per 1,000 invocations such as ListTools and InvokeTool. Policy in AgentCore checks each Gateway request against Cedar policies, at $0.000025 per authorization request.
A Cadenya tool set takes OpenAPI 3.0 or later, turns every operation into a tool, and re-checks a spec URL each hour. OpenAPI specs as agent tools and MCP compares the approaches.
AgentCore Identity: on-behalf-of token exchange and OAuth 3LO
AgentCore Identity gives each agent a workload identity, and its credential providers hold the OAuth clients and API keys that Runtime and Gateway use on outbound calls. Three flows cover most needs:
- Machine to machine (2LO). The OAuth client credentials grant.
- User consent (3LO). The authorization code grant, with a consent step.
- On-behalf-of token exchange. The agent swaps “an inbound user access token for a new, scoped access token that targets a downstream resource server,” with no extra consent flow, under RFC 8693 or RFC 7523.
The agent trades the inbound JWT for a workload access token, then asks for the downstream token (from AWS’s docs):
aws bedrock-agentcore get-workload-access-token-for-jwt --workload-name sample-workload \
--user-token "inbound-jwt-token"
aws bedrock-agentcore get-resource-oauth2-token --resource-credential-provider-name sample-obo-provider \
--oauth2-flow ON_BEHALF_OF_TOKEN_EXCHANGE --scopes "sample-scope" \
--workload-identity-token "workload-access-token"
Identity costs $0.010 per 1,000 token or API key requests for non-AWS resources, and use through Runtime or Gateway carries no extra charge.
On Cadenya, your backend mints a widget session for each signed-in user, and “session secrets take precedence over Workspace and Tool Set secrets with the same name.” So a user’s short-lived token reaches your API on each tool call.
AgentCore managed harness and lifecycle hooks
The AgentCore harness is AWS’s managed agent loop. “You declare what your agent does (model, tools, skills, instructions),” and each session runs in its own microVM on Runtime. It runs models from “Amazon Bedrock, OpenAI, Google Gemini, or any LiteLLM-compatible provider,” and is “powered by Strands Agents” (strands-agents 1.64.0 on PyPI, released November 4, 2026). There’s no separate harness charge.
Checks on tool calls go through lifecycle hooks, and Lambda is “the only target type that can change agent-loop behavior.” On before_tool_call, a deny “Skips the tool call. The agent loop continues.” Here’s a handler adapted from AWS’s example:
def lambda_handler(event, _context):
ctx = event["context"]
if event["event"] == "before_tool_call" and ctx["toolName"] == "delete_record":
return {"decision": "deny", "reason": "Deletes go through the review queue."}
return {"decision": "allow"}
Cadenya parks the loop on toolApprovalRequested “until it receives approval or a denial with optional steering,” and the denial memo tells the agent what to do instead.
AgentCore Memory: short-term events and long-term records
AgentCore Memory holds two kinds of memory. Short-term memory “captures turn-by-turn interactions within a single session.” Long-term memory “automatically extracts and stores key insights from conversations across multiple sessions, including user preferences, important facts, and session summaries.”
Since October 6, 2026, short-term memory is $1.00 per GB ingested, $0.20 per GB retrieved, and $0.10 per GB-month stored. Long-term memory is $0.75 per 1,000 records a month with built-in strategies and $0.50 per 1,000 retrievals.
Cadenya’s memory layers attach to an agent variation the way a tool set does. Every objective for that variation gets references to the layer’s entries in its system prompt, and each read shows up as a memoryRead event.
What does Cadenya offer that AgentCore doesn’t?
Cadenya runs the agent for you: the loop, its approvals, its conversation state, and its tools, with no agent code to deploy. Here’s what that covers:
- The agent loop, already written. You configure an agent variation, and Cadenya calls the model, runs the tools, streams each event, and compacts the context window.
- Bedrock and the other major providers. The model is a setting on a variation, so a model swap needs no deploy, and you pay the provider directly.
- Your OpenAPI document as the tools. Every operation becomes a tool, and filters on name, description, and title trim the list. Progressive discovery loads the rest on demand.
- Approvals a person can answer. A tool marked for approval parks the loop until your backend, the CLI, or the React widget approves or denies it. A denial carries a memo, such as “Use the read-only lookup tool instead.”
- Users mapped to conversations. Your backend mints a widget session, and Cadenya derives “the workspace, Agent, tenant, subject, secrets, and pinned parameters” from it, so your API sees the user’s own token on each tool call.
- A stream that resumes by event ID. Each objective’s durable event log streams over server-sent events, and
Last-Event-IDresumes it. - SDKs at 1.9.0. TypeScript, Python, Ruby, and Go SDKs ship under Apache-2.0.
- A price in one line. Cadenya bills per loop, one LLM request: free for 1,000 loops a month, $49 a month for 50,000, then $0.0015 each.
Tool sets shows how an OpenAPI document becomes tools with approvals, and the free plan needs no card.
No account yet? A coding agent can create a temporary workspace with cadenya workspaces create --temporary, run its first objectives there, and hand you a link to claim it, as auth.md explains. To create an account, sign up at app.cadenya.com/signup, then copy your API key from the API keys page at app.cadenya.com/account/apiKeys.
Related articles
- Claude Managed Agents alternatives (2026)Claude Managed Agents
- Hosted agent runtimes in 2026Hosted agent runtimes
- LangSmith Deployment pricing and alternatives in 2026LangSmith Deployment
Grow wherever AI goes next.
Start shipping agents that are equipped to evolve.