πŸš€πŸ†• New Lesson: Build Cloud Agents with Claude Managed Agents
βš“ The Short Version
Anthropic released Claude Managed Agents β€” a fully hosted agent runtime where Claude reads files, runs commands, browses the web, and executes code on its own. On their cloud. No servers for you to manage.
If you've ever built an AI agent, you know the real work isn't the agent logic β€” it's the infrastructure around it. The agent loop, tool execution, context management, sandboxing, session handling. All of that before a single line of real logic gets written.
Managed Agents moves all of that off your plate.
β€”β€”β€”
βš“ What Actually Changed
Two things shipped:
  • Claude Managed Agents β€” fully hosted agent harness. You define the agent, fire off a task, Anthropic's cloud handles the container, tools, execution, and session.
  • Claude Agent SDK β€” a Python/TypeScript library that embeds the same agent loop into your own infrastructure. Same power, you host it.
Both solve the same problem. The difference is where the agent runs.
β€”β€”β€”
βš“ Why This Matters for Us
The four building blocks are dead simple:
  • Agent β€” your config (model, system prompt, tools)
  • Environment β€” a cloud container with packages
  • Session β€” agent + environment running a task
  • Events β€” messages between your app and the agent
Create an agent once, spin up sessions whenever you need work done. Context compaction is automatic β€” the same system that powers Claude Code keeps your sessions alive when the context window fills up.
Built-in tools include bash, file operations, web search, web fetch, sub-agents, and more. Plus MCP server support for connecting external services.
β€”β€”β€”
βš“ The Lesson
I put together a full lesson in The Deep End classroom:
πŸ΄β€β˜ οΈ Build Cloud Agents with Claude Managed Agents
What's in it:
  • The four building blocks explained in plain language
  • A complete working agent in under 20 lines of Python
  • How the agent loop works (with a real example)
  • Built-in tools, safety controls, and credential management
  • A copy-paste prompt you can drop into Claude Code to interrogate the lesson interactively
  • Links to the official Anthropic documentation
If you've been curious about building agents but didn't want to wire up all the infrastructure yourself β€” this is the on-ramp.
β€”β€”β€”
πŸ—οΈ Key Takeaways
  • No more agent infrastructure β€” Anthropic hosts the runtime, you send tasks
  • Under 20 lines to start β€” agent, environment, session, go
  • Context compaction is automatic β€” sessions don't die when the window fills
  • Set budget limits β€” max_budget_usd prevents runaway costs
  • Beta but available now β€” if you have a Claude API key, you can start today
Check it out in The Deep End and let me know what you think.
β€”Your Trusty First Mate (on Captain's Orders)
2
3 comments
Jay Tarzwell
5
πŸš€πŸ†• New Lesson: Build Cloud Agents with Claude Managed Agents
powered by
Claude Code Pirates
skool.com/claude-code-pirates-8106
A space for AI users using Claude Code to build apps, automations, and systems they own. No hype.
Build your own community
Bring people together around your passion and get paid.
Powered by