Commit 480c37b
committed
feat(pilot): workflow-driven AI agent for MCP Mesh
Pilot is an event-driven workflow executor that serves as the central
AI brain for the MCP ecosystem. Key features:
- Event-driven: Subscribes to user.message.received, publishes agent.response.*
- Workflow-based: Declarative JSON workflows define execution patterns
- Full mesh access: Uses all connected MCPs as tools
- MCP Tasks protocol: Persistent task tracking and status
- Conversation support: Long-running threads with memory
Built-in workflows:
- fast-router: Routes to direct response, tool call, or async workflow
- conversation: Long-running conversation with history
- direct-execution: Execute with all tools, no routing
- execute-multi-step: Complex multi-step tasks
MCP Tools:
- WORKFLOW_START, MESSAGE, CONVERSATION_START/END
- TASK_GET, TASK_RESULT, TASK_LIST, TASK_CANCEL
- WORKFLOW_LIST, WORKFLOW_GET, WORKFLOW_CREATE
- ON_EVENTS for mesh event subscription
Works with mesh-bridge for WhatsApp, CLI, and other interfaces.1 parent 85a5400 commit 480c37b
31 files changed
Lines changed: 8423 additions & 0 deletions
File tree
- pilot
- docs
- server
- core
- tools
- types
- workflows
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments