Show HN: Open Envelope – an open schema for defining AI agent teams
TL;DR Highlight
An open JSON schema defines AI agent teams so editors and CI can validate them
Who Should Read
Backend developer building multi-agent systems in LangGraph or CrewAI code who wants team definitions validated in Git and CI
Core Mechanics
- Agent teams live in one JSON file
- A single .envelope.json describes agents, roles, hierarchy, escalation paths, required secrets, and adapters.
- The schema spec is open source while the marketplace, billing, and deployment infrastructure stay proprietary.
- The bet: declarative wins
- The article points to server provisioning moving to Terraform and container deploys moving to Kubernetes manifests.
- It argues multi-agent teams will go from application code to infrastructure the same way.
- Validate in editor and CI
- Adding a $schema URL at the top lets VS Code and JetBrains flag missing required fields and invalid adapter names instantly.
- After npm install @openenvelope/schema, validate() runs locally or in GitHub Actions.
- Schemas never hold secret values
- requiredSecrets lists names only, and the deployer supplies values at install time.
- requiredVariables is a list of non-secret variable names.
- Workspace blocks persist state across runs
- Each column has an owner of agent, human, or both.
- Agents can only write columns they own, while humans can edit any column.
- Status values and triggers can run the team or only send a notification.
- No code generation as a core product
- The article calls generating CrewAI or LangGraph Python code fighting on someone else's turf.
- Only a copy button or GitHub export is kept as a temporary handoff to Python developers.
Community Reactions
- Imperative-then-compile argued to be better
- One commenter says imperative code that compiles to declarative config gives the best of both.
- Anyone not needing Terraform compatibility uses CDK or Pulumi, they say.
- Commenter with a similar schema offers critique
- A developer with a similar in-house schema found reportsTo and workspace interesting.
- They think accessPolicy is a footgun, since tools should define access scope and subagents should only know their tool list.
- They also say human gates are redundant with input requirements and that any_approved | all_approved triggers will become recursive in v2.
- Runtime concurrency gap pointed out
- A commenter notes that when two agents read the same artifact and one updates it, the other keeps acting on its stale copy.
- A static team definition does not show this hazard, they say.
- Doubts about needing a hosted runtime
- One commenter says the public schema and docs make AI-assisted reverse engineering easy, so why not self-host on a cheap VPS.
- Another notes Claude Code seems to want to own this problem with dynamic workflows.
How to Apply
- Add $schema to your team JSON and validate
- Move your current agent setup into one .envelope.json file and put the $schema URL on the first line.
- Check in VS Code that missing required fields are flagged.
- Add a validate step to CI
- Run npm install @openenvelope/schema and add a workflow that calls validate() on every PR.
- Fail the job with process.exit(1) when result.valid is false.
- Separate secret names from values
- Remove API key values from agent config files and keep only names in requiredSecrets.
- Inject the real values from the deployment environment.
- Set owner rules for shared state
- Where agents write to a shared document or table, split columns into agent and human owners.
- Prevent agents from overwriting columns that humans fill in.
Try It
# Run in a terminal (Node.js required)
npm install @openenvelope/schema
cat > team.json <<'EOF'
{
"$schema": "https://schema.openenvelope.org/team/v1.json",
"name": "Support Tier",
"slug": "support-tier",
"version": "1.0.0",
"description": "A team that triages and escalates tickets",
"visibility": "private",
"agents": []
}
EOF
node -e "
const { validate } = require('@openenvelope/schema');
const team = require('./team.json');
const r = validate(team);
if (!r.valid) { console.error(r.errors); process.exit(1); }
console.log('Valid');
"Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques