Project

lex-acp

0.0
The project is in a healthy, maintained state
Bidirectional Agent Communication Protocol adapter — exposes Legion agents via ACP and consumes external ACP agents
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

lex-acp

Bidirectional Agent Communication Protocol (ACP) adapter for LegionIO.

Exposes Legion agents via ACP and consumes external ACP agents. Enables code editors to connect to Legion as a coding agent via stdio.

Features

  • JSON-RPC 2.0 protocol over stdio for editor integration
  • Publish an ACP-compatible /.well-known/agent.json card via the Legion REST API
  • Submit tasks to external ACP agents and register them in the mesh
  • Periodic discovery actor scans configured agent URLs every 300 seconds
  • Task translation between ACP and Legion formats

Usage

legion acp

Configure your editor:

{
  "agent": "legion",
  "command": ["legion", "acp"],
  "transport": "stdio"
}

Configuration

{
  "acp": {
    "agents": [
      "https://agent-1.example.com",
      "https://agent-2.example.com"
    ]
  }
}

License

MIT