blackboard
LLM Collaboration Blackboard
Una implementación de la versión 1 de la LLM Collaboration Blackboard Specification.
LLM Collaboration Blackboard es una plataforma de colaboración centrada en Markdown que permite que varios LLMs y humanos compartan el mismo contexto de trabajo. Los Planes, las tareas, los eventos, la memoria y el estado se recopilan en un único Blackboard y se pueden operar a través de un servidor MCP o un dashboard local.
El objetivo de este proyecto es preservar el trabajo como Planes y Eventos verificables en lugar de como registros de chat dispersos. Esto facilita el seguimiento de quién es responsable de qué, qué tareas están en curso y qué cambios se han realizado.

Qué ofrece
Gestión de Planes centrada en Markdown y YAML Front Matter
Transiciones de estado de tareas mediante claim / update / cancel / recover
Registro y reproducción de eventos de auditoría para cada cambio
Restricciones de operación basadas en roles (los roles son autodeclarados)
Visualización de Planes y progreso a través de un dashboard local
Related MCP server: pith
Flujo de trabajo típico
Crear un Plan y añadir tareas.
Asignar roles como Researcher, Implementer y Reviewer.
Reclamar las tareas necesarias y comenzar el trabajo.
Actualizar el estado de las tareas y usar blocked / recover para pausar o reanudar el trabajo según sea necesario.
Usar Events y el Plan para conservar el historial de trabajo y el contexto detrás de las decisiones.
Este flujo de trabajo es adecuado para experimentos que ejecutan varios LLMs en paralelo, desarrollo colaborativo y flujos de implementación con revisión.
Inicio rápido
1. Requisitos previos
Python 3.10 o posterior (se recomienda 3.13)
Disponible en Windows, macOS y Linux
2. Instalación
py -3.13 -m venv .venv
.\\.venv\\Scripts\\python.exe -m pip install -e .[dev]3. Preparar un Blackboard Root
$env:BLACKBOARD_ROOT = "C:\\path\\to\\blackboard"4. Iniciar el servidor
.\\.venv\\Scripts\\blackboard-server5. Iniciar el dashboard (opcional)
.\\.venv\\Scripts\\blackboard-dashboard --config .\\dashboard.yamlAbre http://127.0.0.1:8765/ en un navegador para ver el estado de los Planes y las tareas.

Uso de MCP
Este repositorio permite operar el Blackboard a través de MCP. Copia .mcp.json.example de la raíz del repositorio a .mcp.json y reemplaza las rutas con rutas absolutas.
{
"mcpServers": {
"blackboard": {
"command": "<ABSOLUTE_PATH_TO_THIS_REPO>/.venv/Scripts/python.exe",
"args": ["-m", "blackboard.server"],
"env": {
"BLACKBOARD_ROOT": "<ABSOLUTE_PATH_TO_THIS_REPO>/demo_blackboard"
}
}
}
}Las herramientas representativas incluyen:
read_plan: recuperar el contenido del Plan y las tareas ejecutablesclaim_task: reclamar una tarea y comenzar el trabajoupdate_task: actualizar el estado de la tarea a done / blocked / cancelledadd_task/edit_task/cancel_task: actualizar el Planrecover_task: devolver una tarea bloqueada a pendingread_memory/write_memory: trabajar con documentos de memoriaread_state/write_state: trabajar con documentos de estado
Estructura del proyecto
src/blackboard: implementación del servidor, modelos, controles de permisos e implementación del dashboard
scripts: demostraciones y scripts de utilidad
blackboard: datos de Blackboard utilizados para ejemplos y ejecucióndashboard.yaml: configuración de ejemplo del dashboard local
Desarrollo
Consulta CONTRIBUTING.md para conocer las reglas de desarrollo y las convenciones de commits.
.\\.venv\\Scripts\\python.exe -m pytest
.\\.venv\\Scripts\\python.exe -m ruff check src tests scriptsLicencia
Este proyecto se distribuye bajo la Licencia MIT. Consulta LICENSE para más detalles.
Available Tools
22 toolsadd_taskA
Append one new task to an already-initialized Plan. A stale revision is rejected as a conflict.
task uses the same shape as one entry of initialize_project's tasks
(id/task/role). dependencies lists the IDs of tasks the new task
requires; targets must already exist in the Plan.
Inputs: role (required), task (required), actor_id (required), expected_revision (required), +4 more. Returns: object
cancel_taskA
Logically cancel a pending or owned in-progress task with an audit Event.
Inputs: role (required), task_id (required), actor_id (required), expected_revision (required), +2 more. Returns: object
claim_taskA
Atomically claim one executable task. A stale revision is rejected as a conflict.
work_scope optionally declares the files/paths you expect to touch
(e.g. ["src/blackboard/service.py", "tests/test_service.py"]). It is
recorded on the task_started Event for other actors to see before they
start their own work, but it is not enforced.
Inputs: role (required), task_id (required), actor_id (required), expected_revision (required), +2 more. Returns: object
edit_taskB
Edit a pending task's text, required Role, or dependencies with revision CAS.
Task IDs are immutable. Pass dependencies=[] to remove all dependencies.
Inputs: role (required), task_id (required), actor_id (required), expected_revision (required), +6 more. Returns: object
emit_eventA
Append an independent audit Event. This tool does not change Plan state.
Inputs: role (required), actor_id (required), event_type (required), content, +1 more. Returns: object
flush_event_outboxC
Retry pending Plan-generated Events after a previous Event write failure.
Inputs: plan_id. Returns: object
get_server_infoA
Report this MCP server process's version, git SHA, start time, and Blackboard root.
A long-lived stdio connection keeps the tool schema it had at startup, so a tool added to the source after connecting (e.g. a newly released one) will not appear until a fresh connection is made. If an expected tool seems to be missing, call this first: an old started_at/git_sha relative to the source you expect means the connection is stale, not that the feature is missing.
Inputs: no named parameters. Returns: object
initialize_projectA
Create the Blackboard directories and one named Plan file.
This bootstrap utility is used by a human when creating a project. LLM collaboration thereafter uses the core Blackboard tools above. Additional Plans may be created in the same root by calling this again with a new plan_id.
Inputs: tasks (required), title (required), project_id (required), plan_id, +1 more. Returns: object
list_actor_rolesA
Report which roles each actor_id has claimed tasks under, across every Plan.
This is an observation aid, not authentication: actors still self-declare their role on every call, and nothing here is enforced. Use it to sanity check who has been active and under which roles before trusting a Memory/Event entry attributed to an unfamiliar actor_id.
Inputs: no named parameters. Returns: object
list_memoryA
List Memory metadata in deterministic ID order without full content.
Inputs: no named parameters. Returns: result
list_plansA
List named Plans in this Blackboard root, each with its in_progress tasks.
Check this before claiming work when multiple actors may be active: it shows what is already claimed, by whom, across every Plan in this root.
Inputs: no named parameters. Returns: result
list_stateA
List State metadata in deterministic ID order without full content.
Inputs: no named parameters. Returns: result
read_eventA
List audit Events, optionally filtered by type, task, or created time range.
Inputs: limit, since, until, task_id, +1 more. Returns: result
read_memoryA
Read a persistent Memory document by id.
Inputs: id (required). Returns: object
read_planA
Read one Plan and its executable tasks, optionally for one Role.
Inputs: role, plan_id. Returns: object
read_stateA
Read a State document by id.
The response includes a stale_warning field if the document hasn't
been updated in a while. This is a read-time nudge only — State is never
auto-rewritten from Plan (see CONTRIBUTING.md).
Inputs: id (required). Returns: object
recover_taskA
Recover a blocked task to pending; the declared Role needs recover_task permission.
Inputs: role (required), task_id (required), actor_id (required), expected_revision (required), +1 more. Returns: object
set_task_priorityA
Set a pending task's advisory P0-P3 priority with CAS and an audit Event.
Priority is human-facing backlog guidance. It does not choose, claim, or block work for any LLM.
Inputs: role (required), reason (required), task_id (required), actor_id (required), +3 more. Returns: object
update_taskA
Finish, block, cancel, or recover a task.
Claim owners may set done/blocked/cancelled on in_progress tasks. Roles with recover_task permission may set pending on blocked tasks. The Plan state is authoritative. Its corresponding audit Event is placed in the Plan Outbox and is retried idempotently if Event persistence fails.
Inputs: role (required), status (required), task_id (required), actor_id (required), +2 more. Returns: object
validate_planA
Diagnose Plan metadata, task audit fields, dependencies, and Outbox without changing it.
Inputs: plan_id. Returns: object
write_memoryA
Create or update Memory. Updates require the revision returned by read_memory.
Inputs: id (required), role (required), content (required), actor_id (required), +3 more. Returns: object
write_stateB
Create or update current State. Updates require the revision returned by read_state.
Inputs: id (required), role (required), status (required), content (required), +3 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Several lifecycle verbs overlap: update_task can recover tasks, while recover_task exists separately; cancel_task also nests inside update_task. Plan validation vs. plan reading are distinct, but task mutation operations create some ambiguity.
Tool names follow a consistent lowercase snake_case verb_noun pattern. Minor deviations like get_server_info, initialize_project, and flush_outbox are still recognizable.
22 tools is on the high end for a planning/coordination server. Most earn their place, but any smaller set could be more economical.
The surface is essentially complete for this domain: plans, tasks, act, dependencies, claim, restore, validate, memory, state, and audit events are all covered. But there are still no global query for all tasks or a delete for memories/states, but not required.
Maintenance
Related MCP Connectors
Remote MCP server for notes, tasks, kanban boards and docs - the Slates agentic workspace
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for generating rough-draft project plans from natural-language prompts.
MCP Server for an Agent Task Marketplace
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for AI agents to manage a lightweight kanban board stored as markdown files, enabling task creation, updates, and column movements.10MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for task management that enables AI agents to read, create, update tasks, and track work sessions, allowing agents and humans to collaborate on the same task board.14MIT
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server for file-based task management and multi-agent team orchestration, enabling creation, completion, and reassignment of tasks across teams.-
- AlicenseNot gradedqualityDmaintenanceMulti-AI collaboration MCP server enabling message passing, code review workflows, shared todo lists, and agent management with authentication and role-based access.49 npmMIT