extras • Rust AI Agent SDK
Extra parity types and functions
extras
Rust AI Agent SDK
Extra parity types and functions
This module implements additional Python SDK features for full parity:
- Deep Research types (DeepResearchResponse, ReasoningStep, etc.)
- RAG types (RAGCitation, RetrievalPolicy, etc.)
- Guardrail types (LLMGuardrail)
- Handoff errors
- App protocols
- Embedding functions
- Module re-exports
Import
use praisonai::parity::extras::*;Classes
Represents a citation in the research report
ReasoningStepRepresents a reasoning step in the research process
WebSearchCallRepresents a web search call made during research
CodeExecutionStepRepresents a code execution step during research
FileSearchCallRepresents a file search call (Gemini-specific)
DeepResearchResponseComplete response from a Deep Research query
LLMGuardrailLLM-based guardrail for content validation
AgentAppConfigAgent application configuration
SecurityPolicySecurity policy for sandbox execution
ReflectionOutputOutput from a reflection step
EmbeddingResultEmbedding result
EmbeddingUsageEmbedding usage statistics
TraceContextDataTrace context for tracking operations
AgentAppProtocolAgent application protocol
AgentOSProtocolAgent OS protocol (alias)
DbAdapterDatabase adapter trait
ObsCollectorObservability collector trait
ProviderSupported Deep Research providers
RetrievalPolicyRetrieval policy for RAG
HandoffErrorBase error type for handoff operations
Functions
Synchronous embedding function
embedding()Synchronous embedding function (alias)
embeddings()Synchronous embeddings function (batch)
aembed()Async embedding function
aembedding()Async embedding function (alias)
aembeddings()Async embeddings function (batch)
sync_display_callbacks()Get sync display callbacks
async_display_callbacks()Get async display callbacks
error_logs()Get error logs
resolve_guardrail_policies()Resolve guardrail policies
trace_context()Get or create trace context
track_workflow()Track workflow execution
load_plugin()Load a plugin from a path