Skip to main content
View module source on GitHub

intercept_session_start

This function is called when a session starts. This is the point where we create a new session for Maxim. The session info along with room_id, agent_id, etc is stored in the thread-local store.

intercept_update_agent_state

This function is called when the agent state is updated.

intercept_generate_reply

This function is called when the agent generates a reply.

intercept_user_state_changed

This function is called when the user state is changed.

handle_tool_call_executed

This function is called when the agent executes a tool call.