Skip to main content
Glama
MacXhi

lalanoo-protocol

by MacXhi

lalanoo-protocol

Framework open-source de coordination multi-agents basé sur le Model Context Protocol (MCP).

Python 3.11+ License: MIT MCP Protocol


Problème résolu

Quand plusieurs agents IA (Antigravity, Claude, Copilot, Codex…) travaillent simultanément sur un même dépôt, ils ne se "voient" pas : ils s'écrasent mutuellement, prennent des décisions contradictoires et n'ont aucune mémoire partagée.

lalanoo-protocol leur donne :

  • 📋 Un registre partagé (qui travaille sur quoi)

  • 🔒 Un système de verrouillage de fichiers avec tokens UUID

  • 💬 Un bus de messages asynchrone entre agents

  • 📝 Un journal d'architecture (ADR automatiques)

  • 🏛️ Un moteur de conseils multi-agents (vote, consensus, clôture)

  • 🔄 Un orchestrateur de messages JSON inter-agents


Related MCP server: ACDP

Architecture

Agent 1 ──┐
Agent 2 ──┤──► MCP Server (lalanoo.py mcp) ──► Markdown Storage
Agent N ──┘         │                           (memoire.md
                     └──► Orchestrateur          agents_registry.md
                               │                 message_board.md)
                               ▼
                         Agents cibles

Installation

# Depuis PyPI (bientôt)
pip install lalanoo-protocol

# Depuis le source
pip install -e ".[dev]"

Usage rapide

CLI

lalanoo-protocol status
lalanoo-protocol register --agent-id agt-001 --status "Idle"
lalanoo-protocol lock src/feature.ts --agent agt-001
lalanoo-protocol unlock src/feature.ts --agent agt-001 --token <token-reçu>
lalanoo-protocol message --from-agent agt-001 --to-agent agt-002 \
    --status-type "🟢 Terminé" "Feature X prête."
lalanoo-protocol mcp   # démarre le serveur MCP stdio

Serveur MCP (configuration client)

{
  "mcpServers": {
    "lalanoo": {
      "command": "lalanoo-protocol",
      "args": ["mcp"],
      "cwd": "/chemin/vers/votre/projet"
    }
  }
}

SDK Python

from lalanoo import op_lock, op_unlock, op_message

result = op_lock("src/feature.ts", "agt-001")
token  = result["token"]
# ... travail sur le fichier ...
op_unlock("src/feature.ts", "agt-001", token)
op_message("agt-001", "agt-002", "🟢 Terminé", "Feature X livrée.")

Outils MCP exposés

Outil

Description

lalanoo_status

Statut des verrous et agents actifs

lalanoo_register

S'enregistrer dans le registre

lalanoo_lock

Verrouiller un fichier (retourne un token)

lalanoo_unlock

Déverrouiller (token requis)

lalanoo_message

Poster un message/hand-off

lalanoo_log

Ajouter au journal de bord

lalanoo_adr

Créer une décision d'architecture

lalanoo_council_create

Lancer un conseil multi-agents

lalanoo_council_vote

Voter dans un conseil

lalanoo_council_close

Clôturer et générer l'ADR

lalanoo_review_request

Demander une revue de code

lalanoo_review_submit

Soumettre un rapport de revue

lalanoo_task_publish

Publier un lot de travail

lalanoo_doc_create

Générer une roadmap ou un CDC


Développement

git clone https://github.com/your-org/lalanoo-protocol
cd lalanoo-protocol
pip install -e ".[dev]"
pytest tests/ -v

Licence

MIT — voir LICENSE.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables multi-agent collaboration across different AI assistants and projects by providing a universal coordination layer for MCP-compatible agents to communicate, share context, and coordinate complex tasks seamlessly.
    12
    12 npm
    33
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables multiple AI agents to coordinate work on the same codebase by providing real-time file locking, commit approval, and agent awareness through a lightweight WebSocket-based MCP server.
    9
    20 npm
    11
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables multi-agent communication workflows with consensus arbitration, peer messaging, and operator-mediated collaboration through authenticated MCP tools.
    1
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for multi-agent collaboration enabling AI agents to communicate, delegate tasks, and share artifacts across clients and machines with federation support.
    21 npm
    1
    MIT