Skip to main content

Module runtime

Module runtime 

Source
Expand description

Minimal AgentRuntime that proves smooth-operator consumes smooth-operator.

This is the seam where the smooai monorepo’s LangGraph pipeline gets re-expressed as a smooth-operator Workflow / Agent (see docs/ARCHITECTURE.md §2). It does not perform real inference — it constructs the engine’s primitives so the wiring is compile-checked and exercised by tests. Real inference arrives in roadmap Phase 3.

Structs§

AgentRuntime
A minimal runtime that owns a constructed smooth-operator Agent and a trivial single-node Workflow. Both are real engine objects.
KnowledgeChatRuntime
A real, knowledge-grounded chat runtime over smooth-operator.
TurnOutcome
The outcome of running one knowledge-grounded turn through the agent.
TurnState
State threaded through the reference workflow: the user’s message in, the agent’s reply out. Mirrors (in miniature) the LangGraph StateGraph state.

Constants§

MAX_CITATIONS
Max citations attached to a turn’s TurnOutcome. Bounds the size of the eventual_response payload; the grounding sources past this cap are dropped (most-relevant kept first).

Type Aliases§

SharedRuntime
Convenience: an Arc-wrapped runtime.