惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
博客园_首页
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
B
Blog
D
DataBreaches.Net
腾讯CDC
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
月光博客
月光博客
V
V2EX
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
博客园 - 叶小钗
Y
Y Combinator Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built a multi-agent system without governance. Here's t...
All For Scie · 2026-04-26 · via DEV Community

Let me describe a situation you've either been in or are about to be in.

You've built a multi-agent system. It works. The orchestrator dispatches tasks to specialist agents, they call external APIs, things happen. You ship it.

Then, three weeks later, you discover that your payment agent processed:

  • a $4,200 refund at 1:47am on a Saturday with no approval;
  • that a customer's data was accessed by an agent that technically shouldn't have had that scope;
  • and that you have absolutely zero logs to figure out what triggered any of it.

This is not a hypothetical. It's the default outcome if you ship agents without thinking about the three infrastructure layers that make them safe to run in production.

Here's what those layers are, and how they fit together.


Layer 1: Conduit — see the whole pipeline

The operational problem hits first.
You're managing agents that connect to MCP servers, call LLMs, trigger webhooks, and chain into each other. The configuration for all of this lives in JSON files, environment variables, and READMEs. When something breaks at 2am, you're staring at logs across five different services trying to reconstruct what happened.

Conduit replaces that with a visual pipeline studio. Connect your MCP servers once, build pipelines on a canvas, and get real-time execution logs for every step — latency, token cost, inputs, outputs. API keys go into an AES-256 encrypted vault and are decrypted in memory at runtime. The pipeline configuration is stored centrally, not scattered across machines.

The practical difference: when you need to debug a broken workflow, you open Conduit's trace view instead of manually correlating logs across services. Every step is there in execution order.


Layer 2: Codios — make agents verify each other

This is the one most teams skip until it bites them.

Your payment agent currently accepts a POST to /charge from anything on your network. Maybe that's fine today. It won't be fine when:

  • a misconfigured agent sends it a malformed request;
  • when a replay attack resubmits a token;
  • or when someone figures out they can call it directly.

Codios gives every agent an Ed25519 identity (did:key) and issues signed contracts between them. The contract specifies exactly what the caller is allowed to do on the callee:

  contract = codios.contracts.issue(                                            
      caller_did=order_agent.did,
      callee_did=payment_agent.did,                                             
      scopes=["payment:charge:max_10000usd"],  # refund deliberately excluded   
      ttl_seconds=3600
  )                                                                             

Enter fullscreen mode Exit fullscreen mode


python
The caller attaches this as a header. The receiver verifies it locally — no call to Codios, just a 10µs Ed25519 check:

  contract = verify_contract(                               
      token=request.headers.get("X-Codios-Contract"),
      required_scope="payment:charge",                                          
      platform_public_key=CODIOS_PUBLIC_KEY,
  )                                                                             

Enter fullscreen mode Exit fullscreen mode

Why this matters

The scope limit is cryptographically bound. The payment agent cannot process a refund using this contract, regardless of what the request body says. The scope is enforced at verification time, not checked against a database.

Two additional protections come with it automatically:
nonce validation (replay protection — each contract token can only be used once) and expiry (contracts are time-limited, issued contracts can be revoked).


Layer 3: A2A — govern what runs

Even with Conduit giving you visibility and Codios locking down inter-agent trust, you still need a layer that watches what agents do with their permissions and intervenes when something looks wrong.

A2A adds four modules:

Observe

5 lines to wrap any agent loop with distributed tracing. Every LLM call, every tool invocation, every agent handoff becomes a span with timing and I/O. You get a full audit trail without building one yourself.

Policy

YAML rules evaluated before actions execute. Block payments over $50K. Flag any agent reading PII fields. Deny external HTTP calls from agents that don't have that scope. Rules run in-process at <5ms.

Approval

For the actions where a human needs to decide. The agent creates an approval request and parks. The reviewer gets an email with Approve/Reject. The agent resumes when a decision is made. No blocking, no polling loop, full async.

Firewall

Scans every message before it reaches an LLM. If an agent reads customer-supplied data and passes it to a model, that data needs to be checked first. <2ms per scan, runs locally.

How they fit together in a real workflow

  User submits order                                                            
      │                                                                         
      ▼
  Conduit pipeline executes                                                     
      │                                                     
      ├─ Order Agent → [Codios contract check] → Inventory Agent ✓
      ├─ Order Agent → [Codios contract check] → Payment Agent ✓                
      │       │
      │       └─ Amount > $500? → [A2A Approval] → Human reviews → ✓            
      │                                                                         
      ├─ Fulfillment Agent reads shipping address
      │       └─ [A2A Firewall] scans for injection → ✓ → LLM call              
      │                                                                         
      └─ A2A Observe captures full trace of everything above

Enter fullscreen mode Exit fullscreen mode


The summary

Layer Tool What It Stops
Build/operate Conduit Invisible pipelines, scattered config, no execution visibility
Trust Codios Unauthorized agent calls, replay attacks, scope creep
Govern A2A Runaway actions, missing audit trail, prompt injection

The Bottom Line

You don't need all three on day one. But if you're running agents in production without any of them, you're one incident away from having to explain to your CTO why an agent did something it shouldn't have — with no logs to back you up.

All three are live. Free tiers.

Happy to answer questions about implementation in the comments.