Skip to content

feat: add workflow-agent boundary control (Mastra-inspired)#43

Merged
SonicBotMan merged 1 commit into
mainfrom
feat/workflow-agent-boundary
May 28, 2026
Merged

feat: add workflow-agent boundary control (Mastra-inspired)#43
SonicBotMan merged 1 commit into
mainfrom
feat/workflow-agent-boundary

Conversation

@SonicBotMan
Copy link
Copy Markdown
Owner

Description

Add workflow-agent boundary control inspired by Mastra.

Key Design Decisions (from Mastra)

  1. Workflow = Deterministic - Steps, order, completion conditions predefined
  2. Agent = Open-ended - Requires LLM reasoning, tool selection, iteration
  3. Gateway = Decision - Branching logic
  4. Human = Approval - Human-in-the-loop

Features

  • WorkflowAgentBoundary: manage workflow vs agent nodes
  • NodeDefinition: define node type and capabilities
  • suggest_node_type: auto-suggest workflow or agent
  • Predefined templates for workflow/agent/gateway nodes

Testing

  • 9 new tests
  • 104 total tests passing

- WorkflowAgentBoundary: manage workflow vs agent nodes
- NodeDefinition: define node type and capabilities
- suggest_node_type: auto-suggest workflow or agent
- Predefined templates for workflow/agent/gateway nodes
- 9 new tests (104 total passing)
@SonicBotMan SonicBotMan merged commit e60154c into main May 28, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant