Commit c35b378
feat: Implement AgentFlow event-driven workflows with CLI support
Add complete AgentFlow implementation for trigger-based workflows:
Core Implementation:
- AgentFlow type definitions in aof-core (trigger, nodes, connections)
- AgentFlowExecutor runtime with state management and event handling
- Variable interpolation (${event.*}, ${node-id.*}) support
- Conditional routing with 'when' expressions
CLI Commands:
- `aofctl run flow` - Execute AgentFlow configs with mock input
- `aofctl describe flow` - Display flow structure and configuration
- Auto-detection of AgentFlow vs Workflow based on YAML 'kind' field
Examples & Guides:
- Slack K8s bot agent and flow examples
- Slack app setup guide
- Complete Slack bot tutorial
Documentation Updates:
- Updated AgentFlow spec reference with all trigger/node types
- Updated schemas, concepts, getting-started docs
- Marked AgentFlow phases 1-3 as implemented in design doc
- Added flow commands to CLI reference
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f8fa437 commit c35b378
19 files changed
Lines changed: 3056 additions & 660 deletions
File tree
- crates
- aof-core/src
- aof-runtime/src
- executor
- aofctl/src/commands
- docs
- agentflow
- dev
- guides
- reference
- schemas
- tutorials
- user
- examples
- agents
- flows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
0 commit comments