Skip to contents

All functions

rho_agent_contracts RhoAgent RhoAgentOptions RhoAgentRunResult RhoAgentErrorValue RhoAgentPolicy RhoDefaultAgentPolicy AgentPolicy AgentEventListener RhoToolExecutionMode RhoParallelToolExecution RhoSequentialToolExecution RhoQueueMode RhoOneAtATimeQueue RhoAllQueue RhoBeforeToolCallDecision RhoAfterToolCallDecision RhoRunContext RhoToolContext RhoCompletedToolContext RhoNextTurnDecision RhoAssistantTurn RhoAssistantResponse RhoToolBatch RhoAgentEvent RhoAgentStartEvent RhoAgentEndEvent RhoAgentSettledEvent RhoTurnStartEvent RhoTurnEndEvent RhoMessageEvent RhoMessageStartEvent RhoMessageUpdateEvent RhoMessageEndEvent RhoToolExecutionStartEvent RhoToolExecutionUpdateEvent RhoToolExecutionEndEvent RhoQueueUpdateEvent rho_agent rho_prompt rho_continue rho_subscribe rho_steer rho_follow_up rho_reset rho_abort_agent rho_wait_for_idle rho_emit_agent_event rho_handle_agent_event rho_state_messages rho_transform_agent_context rho_before_tool_call rho_after_tool_call rho_prepare_next_turn rho_reduce_assistant_event rho_execute_tool_batch rho_resolve_tool_execution rho_take_agent_queue rho_run_context rho_tool_context rho_completed_tool_context rho_agent_error rho_before_tool_call_decision rho_after_tool_call_decision rho_next_turn_decision
Agent state machine, policy, scheduling, and lifecycle events
rho_compaction_contracts RhoCompactionReason RhoManualCompaction RhoThresholdCompaction RhoProviderInputLimitCompaction RhoCompactionSource RhoGeneratedCompaction RhoProvidedCompaction RhoCompactor RhoSummaryCompactor RhoCompactionOutcome RhoCompactionSkipped RhoCompactionSettings RhoContextUsage RhoSessionEntry RhoSessionMessageEntry RhoSessionCompactionEntry RhoSessionContextExclusionEntry RhoCompactionPreparation RhoCompactionCheckpoint RhoCompactionCut RhoCompactionResult RhoCompactionErrorValue RhoNothingToCompact RhoCompactionCancelled RhoCompactionFailure RhoCompactionBusy RhoBeforeCompactionContext RhoBeforeCompactionDecision RhoAfterCompactionContext RhoCompactionStartEvent RhoCompactionEndEvent rho_compaction_settings rho_before_compaction_decision rho_compaction_result rho_compact rho_state_entries rho_append_session_entry rho_build_agent_context rho_project_session_entry rho_estimate_tokens rho_context_usage rho_should_compact rho_prepare_compaction rho_compact_preparation rho_before_compaction rho_after_compaction rho_compaction_cut_allowed rho_compaction_message_cut_allowed rho_compaction_text rho_error_requests_compaction
Session context and compaction contracts