Logo Agent Scrum

Agent Scrum

Tổ chức
TensorOpsAI

Multi-agent simulation platform where AI agents self-organize on a Kanban board — built with LangGraph, Google A2A, and MCP.

Nhà phát hànhTensorOpsAI
Kho mãagent-scrum
Ngôn ngữPython
Bản fork
1
Sao
21
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Agent Scrum cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    21 sao và 1 bản fork từ kho mã được liên kết.

Agent Scrum

A multi-agent simulation platform where AI agents self-organize to process work across different domains. Create boards for Publishing, Software Development, Talent Acquisition, Sales, or Security Operations - each with its own domain-specific agents that collaborate in real-time on a Kanban board.

Try the live demo  ·  Read the deep-dive  ·  Watch the explainer

Agent Scrum explainer video

"Beyond the single agent: building a Jira + Slack for AI swarms with LangGraph, Google A2A, and MCP." — blog post

Quick Start

bash
make install && make dev

Open http://localhost:5173

How It Works

Agent Scrum is built on three core ideas: a LangGraph swarm that continuously scans for work, an A2A protocol that lets agents talk to each other, and an MCP server that exposes the board to external tools. Here's how they fit together.

The Swarm Loop

When you click "Start Swarm", a background loop begins:

every 3-6 seconds:
    for each board where agent_automation is enabled:
        look up TEMPLATE_WORKFLOWS[board.template_id]
        for each (status -> agent_role, action) mapping:
            find items stuck in that status
            dispatch the right agent to handle them

This is implemented as a LangGraph StateGraph with two nodes:

  1. Router node - scans all boards, finds stuck items, picks the next agent
  2. Agent node - invokes the selected agent, which does its work and moves the item forward

The graph loops: router -> agent -> router -> agent -> ... -> end (when no more work is found or max iterations hit). Then the monitor sleeps 3-6 seconds and runs again.

┌──────────┐     has work?     ┌───────────────────┐
│  Router  │ ───── yes ──────→ │ dynamic_agent_node │
│  (scan)  │                   │  (invoke agent)    │
└──────────┘                   └────────┬───────────┘
     ↑                                  │
     └────────── more work? ────────────┘
                    no → END

Agent Dispatch

Each board template defines which agent handles which column transition. For example, the Publisher template (default):

When item reaches statusAgent dispatchedAction
writingJournalistWrite article
editingEditorReview article
creativesCreative DirectorCreate visuals
ready_to_publishPublisherPublish content

Or the Software Development template:

When item reaches statusAgent dispatchedAction
ready_for_breakdownDeveloperBreak story into tasks
tasks_in_reviewTech LeadReview task breakdown
ready_for_developmentDeveloperWrite implementation notes
code_reviewCode ReviewerReview implementation
ready_for_qaQACreate test scenarios

Agents are board-scoped: developer_1 is the Developer on board 1, recruiter_3 is the Recruiter on board 3. The swarm resolves agent_id -> role + board_id to dispatch the right agent.

A2A Protocol (Agent-to-Agent)

Agents communicate through the A2A protocol, Google's open standard for agent interoperability. The implementation follows the JSON-RPC 2.0 spec:

How agents talk to each other:

When the swarm dispatches an agent, it doesn't call the agent directly. Instead, it sends an A2A message through the router:

Swarm ──→ a2a_router.send_to_agent(
              from_agent="scrum_master",
              to_agent="developer_1",
              message="Process story #5: User Authentication",
              context={story_id: 5, board_id: 1}
          )

The A2A router then:

  1. Records the outgoing message in AgentMessage table (visible in chat)
  2. Broadcasts it via WebSocket (appears in the UI chat panel in real-time)
  3. Calls executor.execute_agent() which invokes the LangGraph agent
  4. Records the agent's response as a reply message
  5. Returns an A2ATask object with state (submitted/working/completed/failed)

JSON-RPC methods implemented:

MethodDescription
tasks/sendSend a message to create or continue an A2A task
tasks/getRetrieve a task's current state and message history
tasks/cancelCancel a running task

Agent discovery:

Each agent has an A2A Agent Card accessible at /api/agents/{id} containing:

  • Name, description, capabilities
  • Skills list (what the agent can do)
  • Status (idle/working)

The Agent Registry (a2a/registry.py) tracks all agents and their current state, enabling agents to discover each other's capabilities at runtime.

Chat visibility:

Every A2A message is persisted to the database and broadcast via WebSocket, so the UI chat panel shows the full conversation between agents as they work. You can see agents handing off work, reporting results, and coordinating in real-time.

MCP Integration (Model Context Protocol)

The board is exposed as an MCP server so external AI tools (Claude Desktop, Cursor, etc.) can read and manipulate the board programmatically.

┌──────────────────┐         stdio          ┌───────────────────┐
│  Claude Desktop  │ ◄────────────────────► │  MCP Task Server  │
│  or any MCP      │    JSON-RPC over       │  (14 tools)       │
│  client          │    stdin/stdout        │                   │
└──────────────────┘                        └─────────┬─────────┘
                                                      │
                                                      ▼
                                              ┌───────────────┐
                                              │ SQLite Database│
                                              └───────────────┘

Start the MCP server:

bash
make mcp

Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

json
{
  "mcpServers": {
    "agent-scrum-tasks": {
      "command": "python",
      "args": ["-m", "app.mcp.task_server"],
      "cwd": "/path/to/agent-scrum/backend"
    }
  }
}

14 MCP tools available:

ToolDescription
get_storyFetch a story by ID
create_storyCreate a new story on a board
update_story_statusMove a story to a new column
list_stories_by_statusList all stories in a given status
get_taskFetch a task by ID
create_taskCreate a task under a story
update_task_statusMove a task to a new status
get_tasks_for_storyGet all tasks for a story
update_task_implementationWrite implementation notes on a task
update_task_test_scenariosWrite test scenarios on a task
list_tasks_by_statusList tasks by status
add_commentAdd a comment to a story or task
get_task_commentsGet all comments on a task
get_board_summaryGet a summary of all boards and their items

This means you can ask Claude: "Look at the scrum board, find any stories stuck in code review, and summarize what's blocking them" - and it will use the MCP tools to query your board directly.

Simulation Mode

By default, agents run in simulation mode - no API key needed. Simulated agents:

  1. Sleep 2-4 seconds (simulated work time)
  2. Use domain-specific response templates (e.g., a Recruiter says "Reviewed candidate resume. 5 years experience. Recommending for phone screen.")
  3. Actually create/modify records in the database (stories, tasks, status transitions)
  4. Post chat messages through A2A so you can watch the conversation

With a Gemini API key, agents use real LLM calls via LangChain + LangGraph ReAct agents with database tools.


Board Templates

Each board is created from a template that defines its columns, agents, and workflow rules:

TemplateItemsAgents
Publisher (default)Articles + SectionsNews Curator, Journalist, Editor, Creative Director, Publisher, Editor-in-Chief
Software DevelopmentStories + TasksProduct Owner, Developer, Tech Lead, Code Reviewer, QA, Scrum Master
Talent AcquisitionCandidatesSourcing Specialist, Recruiter, Hiring Manager, Interview Coordinator, HR Coordinator
SalesDealsLead Generator, Account Executive, Sales Manager, Solutions Engineer, Contract Specialist
CISORisksThreat Analyst, Security Engineer, Compliance Officer, Incident Responder, Risk Manager

Publisher (Default)

Click "Generate Articles" to auto-generate news briefs, then start the swarm:

  1. News Curator scans news sources, selects newsworthy items, and creates articles
  2. Journalist writes articles from curated news items
  3. Editor reviews articles for quality, accuracy, and tone
  4. Creative Director selects or generates visuals and thumbnails
  5. Publisher formats content, optimizes SEO, and publishes
  6. Editor-in-Chief oversees the pipeline and assigns stories

Pipeline: Inbox → Writing → Editing → Creatives → Ready to Publish → Published

Software Development

Submit a PRD and watch agents build it:

  1. Product Owner parses the PRD and creates user stories
  2. Developer breaks each story into tasks
  3. Tech Lead reviews and approves task breakdowns
  4. Developer writes implementation notes
  5. Code Reviewer reviews the implementation
  6. QA creates test scenarios and runs tests

Talent Acquisition

Submit a job requisition and watch the hiring pipeline:

  1. Sourcing Specialist finds candidates
  2. Recruiter screens resumes and conducts phone screens
  3. Interview Coordinator schedules interviews
  4. Hiring Manager evaluates candidates
  5. HR Coordinator prepares offers

Sales

Submit a lead and watch the deal flow:

  1. Lead Generator qualifies leads
  2. Account Executive runs demos and creates proposals
  3. Solutions Engineer builds POCs
  4. Sales Manager reviews and approves deals
  5. Contract Specialist handles negotiations

CISO / Security Operations

Submit a risk and watch the response:

  1. Threat Analyst assesses and classifies risks
  2. Security Engineer implements mitigations
  3. Compliance Officer audits regulatory alignment
  4. Incident Responder verifies mitigations
  5. Risk Manager assesses residual risk

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     Frontend (React)                         │
│              http://localhost:5173                           │
│                                                              │
│   Board Selector ──→ Kanban Board ──→ Agent Chat Panel       │
└────────────────────────┬────────────────────────────────────┘
                         │ REST + WebSocket
┌────────────────────────▼────────────────────────────────────┐
│                   Backend (FastAPI)                          │
│                                                              │
│  ┌────────────────────────────────────────────────────────┐ │
│  │              LangGraph Swarm (StateGraph)               │ │
│  │                                                         │ │
│  │   Router ──→ scan_board() ──→ TEMPLATE_WORKFLOWS        │ │
│  │     │                                                   │ │
│  │     ▼                                                   │ │
│  │   dynamic_agent_node ──→ A2A Router ──→ Executor        │ │
│  │     │                       │                           │ │
│  │     │                  record message                   │ │
│  │     │                  broadcast WS                     │ │
│  │     │                       │                           │ │
│  │     └───────────────────────┘                           │ │
│  └────────────────────────────────────────────────────────┘ │
│                         │                                    │
│  ┌──────────────┐  ┌────┴─────┐  ┌─────────────────────┐   │
│  │  REST API    │  │ WebSocket │  │   MCP Server (14)   │   │
│  │  /api/*      │  │ /ws      │  │   stdio transport    │   │
│  └──────────────┘  └──────────┘  └─────────────────────┘   │
└─────────────────────────┬───────────────────────────────────┘
                          │
┌─────────────────────────▼───────────────────────────────────┐
│                    SQLite Database                           │
│  PipelineConfig │ Stories │ Tasks │ Comments │ DynamicAgents │
│  AgentMessages  │         │       │          │  (per-board)  │
└─────────────────────────────────────────────────────────────┘

Tech Stack

ComponentTechnology
Agent orchestrationLangGraph StateGraph + LangChain
Agent communicationA2A protocol (JSON-RPC 2.0)
External tool accessMCP (Model Context Protocol)
BackendFastAPI, SQLAlchemy (async), SQLite
FrontendReact 18, TypeScript, Tailwind CSS, Vite
Real-timeWebSocket
AIGoogle Gemini API (or simulation mode)

Running

bash
# First time setup
make install          # Install Python + Node dependencies

# Start the app
make dev              # Start backend (port 8000) + frontend (port 5173)

# Open http://localhost:5173

# Other commands
make test             # Run backend tests
make docker-up        # Start with Docker
make mcp              # Start MCP server for external tools
make reset            # Delete database and re-seed fresh
make backend          # Start backend only
make frontend         # Start frontend only

To switch the default board template, delete the database and restart:

bash
make reset && make dev

Configuration

Create backend/.env:

bash
GEMINI_API_KEY=your-key    # Optional - for real LLM responses
SIMULATE_MODE=true         # Default - uses mock agent responses

Get a Gemini API key at https://aistudio.google.com/apikey

Settings UI

Click the gear icon to access settings:

  • Start/Stop/Pause Swarm - Control agent automation
  • API Key - Add or clear your Gemini API key
  • Simulation Mode - Toggle mock responses
  • Reset Data - Clear all stories and tasks

Project Structure

agent-scrum/
├── backend/
│   ├── app/
│   │   ├── agents/
│   │   │   ├── langgraph_agents.py   # Agent definitions + domain simulations
│   │   │   ├── swarm/graph.py        # LangGraph StateGraph (router + agent nodes)
│   │   │   ├── swarm/state.py        # Swarm state schema
│   │   │   ├── tools/db_tools.py     # LangChain tools for DB operations
│   │   │   ├── tools/registry.py     # Tool basket (Publishing, HR, Sales, InfoSec, Dev)
│   │   │   └── executor.py           # Agent execution with capacity limits
│   │   ├── a2a/
│   │   │   ├── protocol.py           # JSON-RPC 2.0 handler (tasks/send, get, cancel)
│   │   │   ├── router.py             # A2A message routing + chat recording
│   │   │   └── registry.py           # Agent discovery (cards, skills, status)
│   │   ├── mcp/
│   │   │   ├── task_server.py         # MCP server (14 tools, stdio transport)
│   │   │   └── client.py             # MCP client for connecting to the server
│   │   ├── api/                      # REST + WebSocket routes
│   │   ├── pipeline/
│   │   │   └── templates.py          # Board templates + TEMPLATE_WORKFLOWS
│   │   ├── workflow/
│   │   │   ├── orchestrator.py       # Status transition handlers
│   │   │   └── triggers.py           # Event-based triggers (PRD submit, etc.)
│   │   ├── db/
│   │   │   ├── models.py             # SQLAlchemy models
│   │   │   ├── seed.py               # Per-board agent seeding
│   │   │   └── database.py           # Async engine + session
│   │   └── main.py
│   ├── tests/                        # 80 pytest tests
│   ├── Dockerfile
│   └── requirements.txt
├── frontend/
│   ├── src/
│   │   ├── components/               # React components (Kanban, modals, chat)
│   │   ├── api/client.ts             # API client
│   │   ├── store/                    # Zustand stores (story + pipeline)
│   │   └── hooks/useWebSocket.ts     # WebSocket hook
│   ├── Dockerfile
│   └── package.json
├── docker-compose.yml
├── Makefile
└── README.md

API

Key Endpoints

EndpointDescription
GET/POST /api/boardsList or create boards
GET/DELETE /api/boards/{id}Get or delete a board
GET /api/pipeline/templatesList available board templates
POST /api/prdSubmit a PRD / work item
GET/POST /api/storiesList or create stories
GET/POST /api/tasksList or create tasks
GET /api/agentsList all active agents
GET /api/agents/{id}Get agent card (A2A discovery)
GET /api/chatGet A2A chat messages
POST /api/chat/sendSend message to agent via A2A

WebSocket Events

EventDescription
story:createdNew story added
story:updatedStory status/content changed
task:createdNew task added
task:updatedTask status/content changed
agent:status_changedAgent started/stopped work
agent:chatA2A message between agents
swarm:statusSwarm started/stopped/paused
board:createdNew board created
board:deletedBoard deleted

Docker

bash
# Production
docker-compose up -d

# Development (hot reload)
docker-compose --profile dev up

Testing

bash
make test                    # Run all tests
cd backend && pytest -v      # Verbose output

80 tests covering API endpoints, A2A protocol, agent workflows, multi-board operations, and database models.

License

MIT

Cài đặt

TypingMind
{
  "mcpServers": {
    "agent-scrum": {
      "command": "python",
      "args": [
        "-m",
        "app.mcp.task_server"
      ]
    }
  }
}

Dùng MCP Agent Scrum với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Agent Scrum, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Agent Scrum làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Agent Scrum.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "agent-scrum": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Agent Scrum, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Agent Scrum.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Agent Scrum giúp tôi làm việc này không?
Agent Scrum
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Agent Scrum.

Câu hỏi thường gặp

Máy chủ MCP Agent Scrum dùng để làm gì?

Agent Scrum là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Agent Scrum với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Agent Scrum với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Agent Scrum với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Agent Scrum, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Agent Scrum với TypingMind?

Agent Scrum hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Agent Scrum cung cấp những công cụ nào trong TypingMind?

Agent Scrum cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Agent Scrum không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Agent Scrum yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇