
The world of AI agents is shifting rapidly. Anthropic has introduced one of the most significant architectural pivots in agent design. Their new code-execution-based MCP framework transforms how agents manage context, execute tasks, reuse logic, handle privacy, and scale across enterprise environments.
This blog breaks down everything important, with all source links included.
Anthropic’s earlier version of MCP (Model Context Protocol) required agents to load every tool definition, schema, and intermediate result directly into the model’s prompt window.
This created huge issues.
Anthropic explains the motivation here:
🔗 https://www.anthropic.com/engineering/code-execution-with-mcp
🔗 https://www.theunwindai.com/p/code-execution-with-mcp-by-anthropic
Instead of forcing the model to call tools directly with everything preloaded, Anthropic now lets MCP servers act like code modules.
The agent writes TypeScript, which runs inside a sandboxed execution environment.
This cuts context usage by up to 98%.
How it works:
Key sources:
🔗 https://www.anthropic.com/engineering/code-execution-with-mcp
🔗 https://www.marktechpost.com/2025/11/08/anthropic-turns-mcp-agents-into-code-first-systems-with-code-execution-with-mcp-approach/
🔗 https://www.flowhunt.io/blog/the-end-of-mcp-for-ai-agents-code-execution/
Anthropic also introduced Agent Skills, a major change from stateless prompting to persistent logic.
Agents can now:
Sources:
🔗 https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills
🔗 https://www.linkedin.com/posts/jasonzhoudesign_anthropic-just-released-agent-skills-it-activity-7385224400012451840-_c8F
One of the biggest breakthroughs is tokenized sensitive fields.
Sensitive information stays inside the execution environment.
The model only sees placeholders unless you explicitly log information.
This gives enterprises confidence to adopt LLM agents for regulated workflows.
Source:
🔗 https://www.marktechpost.com/2025/11/08/anthropic-turns-mcp-agents-into-code-first-systems-with-code-execution-with-mcp-approach/
🔗 https://www.linkedin.com/posts/hanah-marie-darley_code-execution-with-mcp-building-more-efficient-activity-7392586873124179970-Lxws
Anthropic is forming major partnerships as companies start using agents deeply inside their ecosystems.
One of the most public examples is Cognizant rolling out Claude-based agents to 350,000 employees.
This demonstrates how code-based agents integrate with regulated workflows.
Source:
🔗 https://www.anthropic.com/news/cognizant-partnership
Here are the most important changes.
Agents dynamically import only the tools and data they need.
No more context stuffing.
🔗 https://www.flowhunt.io/blog/the-end-of-mcp-for-ai-agents-code-execution/
Intermediate data is handled inside the sandbox.
This improves privacy and reduces token consumption.
🔗 https://www.anthropic.com/engineering/code-execution-with-mcp
Loops, conditionals, retries, error handling—all done as TypeScript code.
No more hacky prompt-chaining.
🔗 https://www.anthropic.com/engineering/code-execution-with-mcp
Filtered summaries and minimal outputs are sent to the model.
🔗 https://www.linkedin.com/posts/anthropicresearch_code-execution-with-mcp-building-more-efficient-activity-7391612548493545473-6jhy
Agents now act like mini software programs instead of prompt sequences.
🔗 https://www.linkedin.com/posts/anthropicresearch_code-execution-with-mcp-building-more-efficient-activity-7391612548493545473-6jhy
This redesign brings several major benefits.
Anthropic calls this a move from prompt engineering to agent architecture.
🔗 https://www.anthropic.com/engineering/code-execution-with-mcp
Here is the practical method to build an agent using the new MCP system.
These expose functions as code APIs.
This is how your agent writes code and coordinates tasks.
This acts like persistent logic memory.
It will automatically write and execute TypeScript.
Every task becomes part of the agent’s evolving brain.
Databases
CRMs
Documentation
APIs
Internal systems
Agents can orchestrate full business workflows.
Anthropic’s code-execution-based MCP turns agents into true autonomous workers.
They can think.
Plan.
Write code.
Reuse logic.
Handle sensitive data privately.
And scale across organizations.
This is not an LLM with prompts.
This is software powered by reasoning.







Pingback: Gemini 3 Released: Features, Antigravity & OpenAI News