cd /news/ai-agents/we-built-an-open-schema-for-structur… · home topics ai-agents article
[ARTICLE · art-31829] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

We built an open schema for structuring multi-agent teams — here's what we learned

A developer built an open schema for structuring multi-agent teams, addressing the lack of portability across platforms. The schema defines agents with fields like key, name, title, role, and model, and supports hierarchy via reportsToKey and execution order via pipeline with dependsOn. The goal is to create a shared foundation for multi-agent tooling.

read2 min views1 publishedJun 17, 2026

Building a team of agents — each with a defined role, each potentially running a different model — is harder than it looks. And once you've built it, the definition is locked to whatever platform you built it in. Move to a different runtime or vendor and you're rewriting from scratch.

Every project reinvents the same structure. Nothing is portable.

So we built something portable.

When you put agents together to complete a task, you need answers to questions that most frameworks don't address at the schema level:

Without explicit answers, you end up with implicit structure baked into prompts. Which works until it doesn't.

An agent requires four fields: key

, name

, title

, and role

. Here's a minimal valid team definition — with different models per agent:

{
  "$schema": "https://schema.openenvelope.org/team/v1.json",
  "name": "Content Team",
  "slug": "content-team",
  "version": "1.0.0",
  "description": "A two-agent content pipeline.",
  "visibility": "public",
  "agents": [
    {
      "key": "researcher",
      "name": "Research Agent",
      "title": "Senior Researcher",
      "role": "Finds and summarises source material",
      "model": "openai:gpt-4o-mini"
    },
    {
      "key": "writer",
      "name": "Writing Agent",
      "title": "Content Writer",
      "role": "Drafts content from research",
      "model": "anthropic:claude-opus-4-5",
      "reportsToKey": "researcher"
    }
  ]
}

reportsToKey

gives you the hierarchy. For execution order, add a pipeline

with dependsOn

:

{
  "pipeline": [
    { "key": "step-research", "agentKey": "researcher" },
    { "key": "step-write", "agentKey": "writer", "dependsOn": ["step-research"] }
  ]
}

For now, runtime concerns — memory and shared state — stay out of the schema. Those belong in the runtime, not the spec. The schema is just structure: who the agents are, how they relate, and in what order they run.

We want this to be a shared foundation, not a proprietary format. If you're building multi-agent tooling and want to be compatible, or if you see gaps in the spec, we'd love to hear from you.

── more in #ai-agents 4 stories · sorted by recency
── more on @openenvelope 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/we-built-an-open-sch…] indexed:0 read:2min 2026-06-17 ·