Website | Source

Getting Started

ADL (Agent Definition Language) is an open, declarative, vendor-neutral specification for defining AI agents in a consistent, auditable, and interoperable way. It provides a shared language for describing:

If OpenAPI defines APIs, ADL defines agents.


🧠 Why ADL Exists

Enterprises adopting AI agents face several systemic challenges:

ADL solves these problems by introducing a single, declarative, versioned artifact that describes what an agent is and what it is allowed to do.


🧩 What ADL Is

ADL defines:

This makes agents:


🚫 What ADL Is Not

To avoid confusion, ADL explicitly does not define:

ADL is laser-focused on definition β€” not execution.


πŸ” ADL vs AI App Definition

ADL is an Agent Definition Language - not a general AI App definition format.

AI apps are broad and may include UI, API layers, deployments, data stores, or business logic.

Agents are specific:

ADL models agent competencies, not app-level infrastructure.

This is a key strategic distinction.


πŸ”„ Comparing ADL to Other Standards

ADL vs A2A

ADL vs MCP

ADL vs OpenAPI

ADL vs Workflow Engines


🌐 Why Next Moca Open Sourced ADL

Next Moca open-sourced ADL under Apache 2.0 to enable:

βœ” Ecosystem-wide interoperability

βœ” Enterprise trust and transparency

βœ” Neutral governance

βœ” Community-driven evolution

βœ” Vendor adoption without lock-in

βœ” Safe, compliant, standards-based agent deployment

Open sourcing ensures ADL becomes a true standard, not a proprietary configuration format.


πŸ“˜ Documentation


πŸ›  Getting Started

git clone https://github.com/nextmoca/adl.git
cd adl

Validate an ADL Agent File

pip install jsonschema
python tools/validate.py examples/minimal_agent.json

Or using Node:

npm install ajv
node tools/validate.js examples/minimal_agent.json

Minimal Example

{
  "name": "campaign_image_generator",
  "description": "Generate a 1024x1024 marketing image from a creative brief.",
  "role": "Creative Producer",
  "llm": "openai",
  "llm_settings": {
    "temperature": 0,
    "max_tokens": 4096
  },
  "tools": [
    {
      "name": "generate_campaign_image",
      "description": "Generate a high-quality image from a prompt.",
      "parameters": [
        {
          "name": "prompt",
          "type": "string",
          "description": "Image prompt",
          "required": true
        }
      ],
      "invocation": { "type": "python_function" }
    }
  ],
  "rag": []
}


Tags: ai   language   dsl  

Last modified 15 March 2026