Skip to content
@JSON-Agents

JSON Agents

JSON Agents - A universal JSON-native standard for describing AI agents, their capabilities, tools, runtimes, and governance.

JSON Agents

VersionLicenseStandardStatus

A Universal JSON Specification for Portable AI Agents

📘 Specification🤝 Contributing


What is JSON Agents?

JSON Agents defines the Portable Agent Manifest (PAM) — a universal, JSON-native format for describing AI agents, their capabilities, tools, runtimes, and governance in a single, interoperable manifest.

It enables seamless agent portability across frameworks, platforms, and ecosystems without code translation.

Why JSON Agents?

  • Framework Interoperability: Convert between LangChain, OpenAI, AutoGen, MCP, and custom frameworks
  • Universal Standard: One manifest format that works everywhere
  • Built-in Governance: Security policies, sandboxing, and audit trails included
  • Multi-Agent Systems: Orchestrate complex agent graphs with conditional routing
  • Production Ready: Complete with URI scheme (ajson://) and policy expression language
  • Schema Validated: JSON Schema 2020-12 ensures correctness

Repository Structure

RepositoryDescriptionStatus
StandardCore PAM specification, schemas, and documentation✅ v1.0.0
ValidatorsReference validators (Python, Node.js, Go)Coming Soon
ConvertersFramework conversion tools (LangChain ↔ PAM, etc.)Coming Soon
RegistryPublic agent manifest registry serviceComing Soon
ExamplesReal-world agent manifest examplesComing Soon

🚀 Quick Start

Minimal Agent Manifest

{
"manifest_version": "1.0",
"agent": {
"id": "ajson://example.com/agents/hello",
"name": "Hello Agent",
"version": "1.0.0"
},
"capabilities": [
{
"id": "generation",
"description": "Generate friendly greetings"
}
]
}

Complete Multi-Agent System

{
"manifest_version": "1.0",
"profiles": ["core", "exec", "gov", "graph"],
"agent": {
"id": "ajson://example.com/agents/support-hub",
"name": "Customer Support Hub"
},
"capabilities": [
{ "id": "routing" },
{ "id": "qa" },
{ "id": "classification" }
],
"runtime": {
"type": "node",
"entrypoint": "dist/hub.js"
},
"security": {
"sandbox": "container"
},
"policies": [
{
"id": "deny-external",
"effect": "deny",
"action": "tool.call",
"where": "tool.endpoint !~ 'internal.corp'"
}
],
"graph": {
"nodes": [
{ "id": "router", "ref": "ajson://example.com/agents/router" },
{ "id": "faq", "ref": "ajson://example.com/agents/faq" },
{ "id": "escalation", "ref": "ajson://example.com/agents/escalation" }
],
"edges": [
{ "from": "router", "to": "faq", "condition": "message.intent == 'faq'" },
{ "from": "router", "to": "escalation", "condition": "message.priority > 8" }
]
}
}

Key Features

Complete Capability Suite

7 standard capabilities with formal JSON schemas:

  • Summarization — Condense content intelligently
  • Routing — Direct messages by intent
  • Retrieval — Query knowledge sources
  • QA — Answer questions with context
  • Classification — Categorize inputs
  • Extraction — Extract structured data
  • Generation — Create new content

URI Scheme

Formal ajson:// URI scheme (RFC 3986 compliant):

ajson://example.com/agents/router
→ https://example.com/.well-known/agents/router.agents.json

Policy Expression Language

Declarative access control with rich operators:

{
"where": "tool.type == 'http' && tool.endpoint !~ 'external'"
}

Modular Profiles

Progressive enhancement with 4 profiles:

  • Core — Identity, capabilities, tools (required)
  • Exec — Runtime metadata (optional)
  • Gov — Security and policies (optional)
  • Graph — Multi-agent orchestration (optional)

Framework Support

FrameworkImportExportStatus
LangChain⚠️⚠️Coming Soon
OpenAI⚠️⚠️Coming Soon
AutoGen⚠️⚠️Coming Soon
Vercel AI SDK⚠️⚠️Coming Soon
Anthropic⚠️⚠️Coming Soon
MCP⚠️⚠️Coming Soon
CrewAI⚠️⚠️Coming Soon
Hugging Face⚠️⚠️Coming Soon

Documentation

ResourceDescription
SpecificationComplete PAM specification (888 lines)
Schema ReferenceJSON Schema 2020-12 validators
Implementer's GuideHow to parse, validate, and use manifests
Framework MappingsConvert to/from other agent formats
Extensions GuideCreate custom x-* extensions
ExamplesReal-world manifest examples

Use Cases

  • Framework Migration: Move agents between LangChain, OpenAI, AutoGen without rewriting
  • Agent Catalogs: Build discoverable registries of reusable agents
  • Orchestration: Define complex multi-agent workflows with conditional routing
  • Enterprise Governance: Enforce security policies and maintain audit trails
  • Marketplaces: Standardized format for distributing and monetizing agents
  • CI/CD Testing: Schema-based validation for automated testing pipelines

Contributing

We welcome contributions of all kinds:

  • Bug Reports: Found an issue? Let us know!
  • Feature Proposals: Have an idea? Open a discussion!
  • Documentation: Help improve our docs
  • Tools: Build validators, converters, or integrations
  • Framework Support: Add mappings for new frameworks

See our Contributing Guide for details.

Code of Conduct: This project follows the Contributor Covenant 2.0.


Roadmap

v1.0 (Current)

  • ✅ Core, Exec, Gov, Graph profiles
  • ✅ 7 capability schemas with formal validation
  • ✅ URI scheme specification (ajson://)
  • ✅ Policy expression language
  • ✅ Framework mapping guide
  • ✅ Complete documentation

v1.1 (Q1 2026)

  • Reference validator implementations (Python, Node.js, Go)
  • Framework converter CLI tools
  • Public registry service with API
  • Additional capability schemas (dialogue, planning, reasoning)
  • Community extension showcase

v2.0 (Q3 2026)

  • Real-time profile for streaming agents
  • Evaluation profile for testing/benchmarking
  • Enhanced policy expression functions
  • Formal IETF/W3C standardization track
  • Enterprise support packages

Standards Compliance

JSON AGENTS is built on established foundations:


License

JSON AGENTS is released under the Apache 2.0 License.

See LICENSE for details.


Acknowledgments

JSON agents draws inspiration from:

  • JSON Schema and JSON-LD communities
  • OpenAPI and AsyncAPI specifications
  • Agent framework developers (LangChain, AutoGen, CrewAI)
  • Model Context Protocol contributors
  • JsonResume.org
  • The broader open-source AI community

Special thanks to all contributors who have helped shape this standard.


⭐ Star us on GitHub to show your support!

Standard RepositoryDocumentation

Building the future of portable AI agents, together.

Pinned Loading

  1. StandardStandardPublic

    JSON Agents - A universal JSON-native standard for describing AI agents, their capabilities, tools, runtimes, and governance in a portable, framework-agnostic format. Based on RFC 8259, JSON Schema…

    Python 20 2

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…