Skip to main content
Glama

LLM 협업 블랙보드

LLM 협업 블랙보드 사양 버전 1의 구현입니다.

LLM 협업 블랙보드는 여러 LLM과 인간이 동일한 작업 맥락을 공유할 수 있도록 하는 Markdown 중심의 협업 플랫폼입니다. 계획, 작업, 이벤트, 메모리, 상태가 단일 블랙보드에 수집되며 MCP 서버 또는 로컬 대시보드를 통해 운영할 수 있습니다.

이 프로젝트의 목표는 작업을 분산된 채팅 로그가 아닌 검증 가능한 계획과 이벤트로 보존하는 것입니다. 이를 통해 누가 무엇을 담당하는지, 어떤 작업이 진행 중인지, 어떤 변경이 이루어졌는지 추적하기가 더 쉬워집니다.

LLM 협업 블랙보드 개요

제공 기능

  • Markdown 및 YAML Front Matter 중심의 계획 관리

  • claim / update / cancel / recover를 통한 작업 상태 전환

  • 각 변경에 대한 감사 이벤트 기록 및 재생

  • 역할 기반 운영 제한 (역할은 자체 선언됨)

  • 로컬 대시보드를 통한 계획 및 진행 상황 시각화

Related MCP server: pith

일반적인 워크플로우

  1. 계획을 생성하고 작업을 추가합니다.

  2. 연구자, 구현자, 검토자와 같은 역할을 할당합니다.

  3. 필요한 작업을 클레임하고 작업을 시작합니다.

  4. 작업 상태를 업데이트하고 필요에 따라 blocked / recover를 사용하여 작업을 일시 중지하거나 재개합니다.

  5. 이벤트와 계획을 사용하여 작업 기록과 결정 배경을 보존합니다.

빠른 시작

1. 사전 요구 사항

  • Python 3.10 이상 (3.13 권장)

  • Windows, macOS, Linux에서 사용 가능

2. 설치

py -3.13 -m venv .venv
.\\.venv\\Scripts\\python.exe -m pip install -e .[dev]

3. 블랙보드 루트 준비

$env:BLACKBOARD_ROOT = "C:\\path\\to\\blackboard"

4. 서버 시작

.\\.venv\\Scripts\\blackboard-server

5. 대시보드 시작 (선택 사항)

.\\.venv\\Scripts\\blackboard-dashboard --config .\\dashboard.yaml

브라우저에서 http://127.0.0.1:8765/를 열어 계획 및 작업 상태를 확인합니다.

블랙보드 워크플로우

MCP 사용

이 저장소는 MCP를 통한 블랙보드 운영을 지원합니다. 저장소 루트의 .mcp.json.example을 .mcp.json으로 복사한 후 경로를 절대 경로로 바꿉니다.

{
  "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"
      }
    }
  }
}

대표적인 도구는 다음과 같습니다:

  • read_plan: 계획 내용 및 실행 가능한 작업 검색

  • claim_task: 작업 클레임 및 작업 시작

  • update_task: 작업 상태를 done / blocked / cancelled로 업데이트

  • add_task / edit_task / cancel_task: 계획 업데이트

  • recover_task: 차단된 작업을 pending으로 되돌리기

  • read_memory / write_memory: 메모리 문서 작업

  • read_state / write_state: 상태 문서 작업

프로젝트 구조

  • src/blackboard: 서버 구현, 모델, 권한 제어, 대시보드 구현

  • scripts: 데모 및 유틸리티 스크립트

  • blackboard: 예제 및 런타임에 사용되는 블랙보드 데이터

  • dashboard.yaml: 샘플 로컬 대시보드 구성

개발

개발 규칙 및 커밋 규칙은 CONTRIBUTING.md를 참조하세요.

.\\.venv\\Scripts\\python.exe -m pytest
.\\.venv\\Scripts\\python.exe -m ruff check src tests scripts

라이선스

이 프로젝트는 MIT 라이선스로 배포됩니다. 자세한 내용은 LICENSE를 참조하세요.

Available Tools

22 tools
add_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

    B3.3/5.0

    Scored across 22 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    22 tools is on the high end for a planning/coordination server. Most earn their place, but any smaller set could be more economical.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers