Peteosdocs

Concepts

Deep dives into the core ideas behind sOAP: how agentic objects are composed, invoked, and persisted.

Basic

Topic Description
Invocation invoke_agent(), invoke(), output schemas, thread IDs, sub-agents
Error Handling Error objects vs exceptions — when each arises and what they mean
Steering the Agent Tool return values and queued messages — two ways to guide the agent mid-invocation
Media Handling Attaching images, video, and PDFs to prompts; agent-initiated media access
Composition Multi-inheritance, MRO-based system prompts, config merging across agentic parents

Advanced

Topic Description
Invocation Hooks Observing, controlling, and measuring agent invocations
Agentic Object Roles Role naming, canonical role building, user overrides, model selection
Adaptive Objects Objects that manipulate and extend their own code at runtime across class, instance, and session levels
State and Persistence Internal state, session serialization, context forking, token counting, compaction