Synthesis: Six Fields, One Pattern
The Convergence Pattern
Agent orchestration for workflow management sits at the intersection of six academic traditions:
- Multi-Agent Systems β How agents coordinate
- Workflow Orchestration β How tasks are sequenced (LangGraph model)
- Agent Communication Protocols β How agents discover tools (MCP standard)
- Process Mining & BPM β How workflows are logged and improved
- Agentic Planning β How agents reason about dependencies
- Human-AI Teaming β How humans and agents make decisions together
How MantisBT Fits
| Field | MantisBT Role | MCP Exposure | Engineering Implication |
|---|---|---|---|
| MAS | Shared state β | REST API β MCP tools | Agents read issue state as shared truth |
| Workflow Orch. | Task graph storage | Issue relationships (parent/child) | Dependencies encoded in issue links |
| ACP | Service endpoint | Native REST + MCP server | Agents call via standard protocol |
| BPM | Execution log | Audit trail in notes/history | Process mining possible if logs structured |
| Planning | Dependency reference | Query API | Agents walk parentβchild chains |
| Teaming | Human-editable UI + agent API | Dual interface | Humans design workflows; agents execute them |
Key Findings
- MantisBT's REST API + MCP server make it agent-readable without custom translation.
- Issue relationships (parent/child, depends-on) map cleanly to task dependency graphs used in LangGraph.
- GitHub integration via plugins links code commits to MantisBT issues, creating traceability from design β task β execution β code.
- Process mining becomes possible if execution logs are structured (currently partial; needs custom logging in notes or custom field).
- No bidirectional GitHub sync natively β workaround: custom field storing GitHub issue ID, triggered by webhook.
Engineering Implications
- For agents: Query MantisBT REST API or MCP tools to get task state, dependencies, and progress. Safe assumption: parent issue holds decomposed subtasks; children are executable units.
- For humans: Design workflows in MantisBT UI; agents execute them by reading and updating issue state.
- For process improvement: Log execution traces (agent decisions, subtask completions) in issue notes or custom field; mine logs for workflow optimization.
Known Gaps
- Process mining tooling β MantisBT doesn't expose structured event logs; custom script needed to extract and analyze traces.
- Bidirectional GitHub sync β MantisBT β GitHub requires custom plugin or webhook; common workaround is a
gh_issue_idcustom field. - Workflow sequence runner β MantisBT stores the state; you need LangGraph (or similar) to traverse and execute the graph.
Recommended Next Steps (from Perplexity Deep Search)
- "Supervisor agent pattern + MantisBT MCP" β Design how a manager agent uses MantisBT as task registry and LangGraph for execution control.
- "Process mining from MantisBT audit trails" β Extract structured logs and apply BPM discovery algorithms to auto-generate or validate workflow definitions.
- "Agent-native project management UI" β Evaluate whether MantisBT's UI + MCP layer is sufficient, or if a specialized agent-first tool (Plane, Linear, or custom) would be better long-term.