{"name":"ADL CLI: Scaffold Enterprise-Ready AI Agents with A2A Protocol","description":"The ADL CLI is a powerful command-line tool designed to rapidly scaffold and manage enterprise-ready AI Agents. It leverages the YAML-based Agent Definition Language (ADL) to generate complete project structures, eliminating boilerplate and ensuring consistent patterns. This tool significantly accelerates the development of AI agents powered by the A2A (Agent-to-Agent) protocol.","github":"https://github.com/inference-gateway/adl-cli","url":"https://osrepos.com/repo/inference-gateway-adl-cli","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/inference-gateway-adl-cli","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/inference-gateway-adl-cli.md","json":"https://osrepos.com/repo/inference-gateway-adl-cli.json","topics":["a2a","ai-agents","cli-tool","scaffolding","go","containerization","enterprise-ai","developer-tools"],"keywords":["a2a","ai-agents","cli-tool","scaffolding","go","containerization","enterprise-ai","developer-tools"],"stars":null,"summary":"The ADL CLI is a powerful command-line tool designed to rapidly scaffold and manage enterprise-ready AI Agents. It leverages the YAML-based Agent Definition Language (ADL) to generate complete project structures, eliminating boilerplate and ensuring consistent patterns. This tool significantly accelerates the development of AI agents powered by the A2A (Agent-to-Agent) protocol.","content":"## Introduction\n\nThe ADL CLI is a robust command-line interface designed to streamline the development and management of enterprise-ready AI Agents. It leverages the Agent Definition Language (ADL), a YAML-based specification, to generate comprehensive project scaffolding. This tool significantly reduces boilerplate code and enforces consistent architectural patterns for AI agents powered by the innovative A2A (Agent-to-Agent) protocol.\n\n## Why Use ADL CLI & Key Features\n\nADL CLI accelerates the creation of sophisticated AI agents by providing a schema-driven approach to project generation. It ensures that agents are built with enterprise-grade features and best practices from the outset.\n\nKey features include:\n\n*   **Rapid Development**: Generate complete projects in seconds, allowing developers to focus on business logic rather than setup.\n*   **Schema-Driven**: Define agents using intuitive YAML-based Agent Definition Language (ADL) files, ensuring clarity and consistency.\n*   **Enterprise Ready**: Built-in support for authentication, SCM integration, audit logging, and other features crucial for production environments.\n*   **Multi-Provider AI**: Seamless integration with leading AI providers such as OpenAI, Anthropic, Google, Groq, Mistral, DeepSeek, Cohere, Cloudflare, Moonshot, Ollama, Ollama Cloud, and Nvidia.\n*   **CI/CD Generation**: Automatic generation of GitHub Actions workflows for Continuous Integration and Continuous Deployment, including semantic release pipelines.\n*   **Sandbox Environments**: Support for isolated development environments like Flox and DevContainers, ensuring reproducible setups.\n*   **OpenTelemetry Instrumentation**: Opt-in tracing and metrics via OpenTelemetry for enhanced observability of agent behavior.\n*   **Service Injection & Configuration Management**: A sophisticated system for type-safe dependency injection and structured configuration, with automatic environment variable mapping.\n\n## Installation\n\nThe recommended way to install ADL CLI is via `npm` or `npx`, which provides a convenient wrapper that downloads the native binary on first use.\n\n**Using npm / npx (Recommended):**\n\nbash\nnpx @inference-gateway/adl-cli init my-agent\nnpx @inference-gateway/adl-cli generate --file agent.yaml --output ./agent\nnpx @inference-gateway/adl-cli validate agent.yaml\n\n\nAlternatively, install it globally:\n\nbash\nnpm install -g @inference-gateway/adl-cli\nadl --help\n\n\n**Using the Install Script:**\n\nFor a direct binary download and installation, use the provided install script:\n\nbash\ncurl -fsSL https://raw.githubusercontent.com/inference-gateway/adl-cli/main/install.sh | bash\n\n\n## Examples\n\nGetting started with ADL CLI is straightforward. You can initialize a new agent project and generate its code with just a few commands.\n\n**Quick Start:**\n\n1.  **Initialize a New Project:**\n\n    bash\n    # Interactive project setup - creates ADL manifest\n    adl init my-weather-agent\n\n    # Generate project code from the manifest\n    adl generate --file agent.yaml --output ./test-my-agent\n    \n\n2.  **Implement Your Business Logic:**\n    The generated project includes `TODO` placeholders where you can add your specific agent logic.\n\n    go\n    // TODO: Implement weather API logic\n    func GetWeatherTool(ctx context.Context, args map[string]any) (string, error) {\n        city := args[\"city\"].(string)\n        // TODO: Replace with actual weather API call\n        return fmt.Sprintf(`{\"city\": \"%s\", \"temp\": \"22°C\"}`, city), nil\n    }\n    \n\n3.  **Build and Run:**\n\n    bash\n    cd test-weather-agent\n    task build\n    task run\n    \n\nFor more comprehensive examples, explore the `examples/` directory in the GitHub repository, which showcases various agent configurations and deployment scenarios.\n\n## Links\n\n*   **GitHub Repository**: [inference-gateway/adl-cli](https://github.com/inference-gateway/adl-cli){:target=\"_blank\"}\n*   **Documentation**: [ADL CLI Documentation](https://docs.inference-gateway.com){:target=\"_blank\"}\n*   **Discussions**: [GitHub Discussions](https://github.com/inference-gateway/adl-cli/discussions){:target=\"_blank\"}\n*   **Issues**: [GitHub Issues](https://github.com/inference-gateway/adl-cli/issues){:target=\"_blank\"}","metrics":{"detailViews":1,"githubClicks":0},"dates":{"published":null,"modified":"2026-09-15T11:33:25.000Z"}}