Engineer proposes hybrid MCP + Code Mode agent architecture for production tool calls
Enough-Potato4988 · reddit · 2026-11-14
An engineer shares a production-oriented architecture for AI agents calling production systems, seeking feedback:
- Core split: direct MCP calls for simple operations; Code Mode (agent writes code) for complex multi-tool workflows and data transformations.
- Stack: .NET orchestrator, RabbitMQ, Kubernetes sandbox workers, capability-based access control, and deterministic validation.
- Goal: explicitly aiming for genuinely production-ready, not just theoretically sound — inviting critique on scalability and security from MCP/distributed systems engineers.
A complete draft covering sandboxing, least-privilege access and queue decoupling, useful for anyone building agent infrastructure.
More from coding & agent
- PHPcon Niigata talk: 7 keys to team development with generative AI — 4310sy · 2026-11-14
- Agent skills are everywhere — but they're just markdown files installed via npx — kylegawley · 2026-11-14
- Put your codebase on intermittent fasting: schedule what your agent may touch — vincent_koc · 2026-11-14
- HeyGen open-sources Hyperframes: HTML/CSS animations in, deterministic MP4 out for coding agents — victor_explore · 2026-11-14
- Dynamic tool discovery instead of loading every MCP schema upfront — worth the overhead? — Beginning-Fudge-5025 · 2026-11-14
- Google Antigravity adds orchestrator mode for multi-model coordination in long agentic tasks — Saboo_Shubham_ · 2026-11-14