๐งพ Agentspecs
Declarative YAML specifications for AI agents, MCP servers, skills and more...
What Is Agentspecs?โ
Agentspecs is the source of truth for runtime catalogs compiled into Python and TypeScript.
The repository currently defines these spec families:
- Agent specs
- Team specs
- MCP server specs
- Skill specs
- Tool specs
- Environment variable specs
- Model specs
- Memory specs
- Guardrail specs
- Eval specs
- Trigger specs
- Output specs
- Notification specs
Key Propertiesโ
- Single Source of Truth: YAML files are the authoritative specification
- Declarative: Define what the system should do, not implementation details
- Composable: Specs reference each other by stable IDs
- Validated: JSON Schema ensures consistency and correctness
- Extensible: Easy to add new fields or specification types
- Human-Readable: YAML format is easy to read and edit
Versioningโ
All specs are versioned and include:
idversion(currently0.0.1)
Cross-spec references should use id:version format (for example tavily:0.0.1).
Generated catalogs are keyed by unversioned id only (e.g. tavily). The get_* / get*Spec accessor functions accept both bare ids and versioned refs (tavily:0.0.1), stripping the version suffix automatically. Iterating catalog values returns each spec exactly once.
Directory Structureโ
agentspecs/
โโโ agents/
โโโ teams/
โโโ mcp-servers/
โโโ skills/
โโโ tools/
โโโ envvars/
โโโ models/
โโโ memory/
โโโ guardrails/
โโโ evals/
โโโ triggers/
โโโ outputs/
โโโ notifications/
Writing Specsโ
- Create or update a YAML file in the relevant folder.
- Always set
idandversion. - Prefer explicit versioned references (
id:version) for linked specs. - Keep IDs stable and bump
versionfor breaking changes.
Documentationโ
๐๏ธ Agentspecs
Declarative YAML specifications for AI agents, MCP servers, skills and more...
๐๏ธ Agents
Agent specifications define runtime behavior, capabilities, and UX defaults for individual agents.
๐๏ธ MCP Servers
MCP (Model Context Protocol) server specifications define how agents connect to external tools and services.
๐๏ธ Skills
Skill specifications define reusable capabilities that agents can use, implemented as Python modules.
๐๏ธ Env Vars
Environment variable specifications define configuration values required by MCP servers and skills.
๐๏ธ Models
Model specifications define the AI models available to agents. Each specification captures the model's identity, provider, required credentials, and whether it is the default model used when no explicit model is configured.
๐๏ธ Tools
Tool specs define runtime-callable tools and their implementation bindings.
๐๏ธ Teams
Team specs define multi-agent orchestration behavior.
๐๏ธ Memory
Memory specs define selectable memory backends for agents.
๐๏ธ Guardrails
Guardrail specs define policy and permission envelopes for agents.
๐๏ธ Evals
Eval specs define reusable benchmark/evaluation suites.
๐๏ธ Triggers
Trigger specs define reusable run triggers (for example once, schedule, event).
๐๏ธ Outputs
Output specs define standardized output channel/templates for agent results.
๐๏ธ Notifications
Notification specs define reusable notification channels and field templates.
Notesโ
- Use kebab-case IDs for most specs.
- Use UPPER_SNAKE_CASE IDs for env vars.
- Keep references explicit and versioned.
Licenseโ
Copyright (c) 2025-2026 Datalayer, Inc.
Distributed under the terms of the Modified BSD License.