Skip to content

bodhi-realtime-agent / SubagentContextSnapshot

Interface: SubagentContextSnapshot ​

Defined in: src/types/conversation.ts:71

Everything a subagent needs to understand the current conversation state. Built by ConversationContext and passed to the subagent runner.

Properties ​

agentInstructions ​

agentInstructions: string

Defined in: src/types/conversation.ts:81

The subagent's own system instructions.


conversationSummary ​

conversationSummary: string | null

Defined in: src/types/conversation.ts:75

Compressed summary of earlier conversation (null if no summarization has occurred).


knowledgeBaseContext? ​

optional knowledgeBaseContext?: string

Defined in: src/types/conversation.ts:86

Prompt-injected knowledge base text for the active main agent (same slice as appended to realtime system instructions). Lets background subagents align with domain docs.


recentTurns ​

recentTurns: ConversationItem[]

Defined in: src/types/conversation.ts:77

The most recent conversation items for immediate context.


relevantMemoryFacts ​

relevantMemoryFacts: MemoryFact[]

Defined in: src/types/conversation.ts:79

User-specific memory facts relevant to the task.


task ​

task: SubagentTask

Defined in: src/types/conversation.ts:73

The task the subagent should execute.

Built with VitePress