Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

"LangChain runs the workflow. AxonFlow decides when it's allowed to move forward."

Workflow Control Plane V1 - Governance gates for external orchestrators like LangChain, LangGraph, and CrewAI at workflow step transitions.

Features

  • Register workflows from external orchestrators
  • Check step gates before each workflow step (allow/block/require_approval)
  • Apply policies at step transitions with new workflow scope
  • Track workflow lifecycle (in_progress/completed/aborted/failed)

Platform Changes

  • New workflow_control package with types, repository, service, handlers
  • Database migration for workflows and workflow_steps tables
  • 80% test coverage

SDK Support

  • Go SDK: workflows.go with full Workflow Control Plane API
  • TypeScript SDK: types/workflows.ts + client methods

Examples

  • HTTP/curl, Go, Python, TypeScript, Java examples
  • LangGraph adapter example for Python

Documentation

  • ADR-019: Workflow Control Plane architecture decision
  • API spec updates in orchestrator-api.yaml
  • User guide: docs/guides/workflow-control-plane.md

API Endpoints

POST /api/v1/workflows                           - Create workflow
GET  /api/v1/workflows/{id}                      - Get workflow status
POST /api/v1/workflows/{id}/steps/{sid}/gate     - Check step gate
POST /api/v1/workflows/{id}/steps/{sid}/complete - Mark step completed
POST /api/v1/workflows/{id}/complete             - Complete workflow
POST /api/v1/workflows/{id}/abort                - Abort workflow
POST /api/v1/workflows/{id}/resume               - Resume workflow
GET  /api/v1/workflows                           - List workflows

Source commits: 0922eda, 70edeb2
Enterprise PR: #1013

Authored-by: Saurabh Jain saurabh@getaxonflow.com
Co-authored-by: AxonFlow Team bot@getaxonflow.com

…strators

LangChain runs the workflow. AxonFlow decides when it's allowed to move forward.

Adds governance authority at workflow step transitions. External orchestrators execute
workflow steps while AxonFlow provides policy-based gates that approve, block, or
require human approval before each step proceeds.

- Platform: workflow_control package with handlers, service, repository
- Migration: workflows + workflow_steps tables
- SDKs: Go and TypeScript support
- Examples: HTTP, Go, Python, TypeScript, Java + LangGraph adapter
- Docs: API spec, user guide

Source commits: 0922eda, 70edeb2
Enterprise PR: #1013

Authored-by: Saurabh Jain <saurabh@getaxonflow.com>
Co-authored-by: AxonFlow Team <bot@getaxonflow.com>
@saurabhjain1592 saurabhjain1592 added the community-sync Sync from enterprise repository label Jan 17, 2026
@saurabhjain1592
Copy link
Member Author

Closing - CHANGELOG needs Workflow Control Plane entry before re-sync

@saurabhjain1592 saurabhjain1592 deleted the sync/enterprise-20260117-132956-21095037209 branch January 27, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-sync Sync from enterprise repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants