ConvEngine Overview
ConvEngine is a deterministic conversation workflow engine with explicit turn-control steps for dialogue act, policy, pending-action lifecycle, guardrails, tool orchestration, state-graph validation, and memory.
Core Features
- Turn understanding before intent re-resolution:
DialogueActStepInteractionPolicyStepCorrectionStep
- Pending action runtime control:
ActionLifecycleStepDisambiguationStepPendingActionStep
- Safety controls:
GuardrailStepStateGraphStep(validate-only)
- Tool runtime unification:
ToolOrchestrationStepMcpToolStepwith executor-per-tool-group
- Memory and replay:
MemoryStepConversationReplayService
- Rule phases expanded with schema/MCP hooks:
POST_SCHEMA_EXTRACTIONPRE_AGENT_MCPPOST_AGENT_MCPPOST_TOOL_EXECUTION
- New control tables:
ce_pending_actionce_verbose(runtime progress/error messaging)
Runtime model
ConvEngine remains config-first:
- DB control plane:
ce_intent*,ce_rule,ce_response,ce_prompt_template,ce_pending_action,ce_verbose,ce_mcp_* - Runtime policy config:
convengine.flow.* - Deterministic pipeline with audited stage output
Key outcomes
- Handles
yes / ok / do thatagainst pending context, not standalone intent. - Avoids hidden state mutation by validating transitions (
StateGraphStep) and auditing violations. - Supports multiple tool groups (
DB,HTTP_API,WORKFLOW_ACTION,DOCUMENT_RETRIEVAL,CALCULATOR_TRANSFORM,NOTIFICATION,FILES). - Keeps every control decision visible in audit timeline.