Expand description
Domain-specific hook event types for the agentic pipeline.
Each struct implements rskit_hook::Event so it can be emitted through
a rskit_hook::HookRegistry.
Structs§
- OnError
- Fired when an error occurs anywhere in the pipeline.
- OnEvent
- Canonical observe-only event stream observation.
- OnMCP
Call - Canonical observe-only MCP call event.
- OnMCP
Result - Canonical observe-only MCP result event.
- PostLLM
Call - Fired after an LLM completion response is received.
- Post
Tool Call - Fired after a tool call completes.
- PreLLM
Call - Fired before an LLM completion request is sent.
- PreTool
Call - Fired before a tool call is executed.
- TurnEnd
- Fired at the end of an agent turn.
- Turn
Start - Fired at the start of an agent turn.
Functions§
- on_
error_ type - Event type for
OnError. - on_
event_ type - Event type for canonical stream/event observations.
- on_
llm_ call_ type - Event type for canonical
on_llm_callobservations. - on_
llm_ response_ type - Event type for canonical
on_llm_responseobservations. - on_
mcp_ call_ type - Event type for canonical MCP call observations.
- on_
mcp_ result_ type - Event type for canonical MCP result observations.
- on_
tool_ call_ type - Event type for canonical
on_tool_callobservations. - on_
tool_ result_ type - Event type for canonical
on_tool_resultobservations. - on_
turn_ complete_ type - Event type for canonical
TurnEnd. - on_
turn_ start_ type - Event type for canonical
TurnStart. - post_
llm_ call_ type - Event type for LLM-response observations.
- post_
tool_ call_ type - Event type for tool-result observations.
- pre_
llm_ call_ type - Event type for
PreLLMCall. - pre_
tool_ call_ type - Event type for
PreToolCall. - turn_
end_ type - Event type for
TurnEnd. - turn_
start_ type - Event type for
TurnStart.