> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# extras • Rust AI Agent SDK

> Extra parity types and functions

# extras

<Badge color="orange">Rust AI Agent SDK</Badge>

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

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
use praisonai::parity::extras::*;
```

## Classes

<CardGroup cols={2}>
  <Card title="Citation" icon="brackets-curly" href="../classes/Citation">
    Represents a citation in the research report
  </Card>

  <Card title="ReasoningStep" icon="brackets-curly" href="../classes/ReasoningStep">
    Represents a reasoning step in the research process
  </Card>

  <Card title="WebSearchCall" icon="brackets-curly" href="../classes/WebSearchCall">
    Represents a web search call made during research
  </Card>

  <Card title="CodeExecutionStep" icon="brackets-curly" href="../classes/CodeExecutionStep">
    Represents a code execution step during research
  </Card>

  <Card title="FileSearchCall" icon="brackets-curly" href="../classes/FileSearchCall">
    Represents a file search call (Gemini-specific)
  </Card>

  <Card title="DeepResearchResponse" icon="brackets-curly" href="../classes/DeepResearchResponse">
    Complete response from a Deep Research query
  </Card>

  <Card title="LLMGuardrail" icon="brackets-curly" href="../classes/LLMGuardrail">
    LLM-based guardrail for content validation
  </Card>

  <Card title="AgentAppConfig" icon="brackets-curly" href="../classes/AgentAppConfig">
    Agent application configuration
  </Card>

  <Card title="SecurityPolicy" icon="brackets-curly" href="../classes/SecurityPolicy">
    Security policy for sandbox execution
  </Card>

  <Card title="ReflectionOutput" icon="brackets-curly" href="../classes/ReflectionOutput">
    Output from a reflection step
  </Card>

  <Card title="EmbeddingResult" icon="brackets-curly" href="../classes/EmbeddingResult">
    Embedding result
  </Card>

  <Card title="EmbeddingUsage" icon="brackets-curly" href="../classes/EmbeddingUsage">
    Embedding usage statistics
  </Card>

  <Card title="TraceContextData" icon="brackets-curly" href="../classes/TraceContextData">
    Trace context for tracking operations
  </Card>

  <Card title="AgentAppProtocol" icon="brackets-curly" href="../classes/AgentAppProtocol">
    Agent application protocol
  </Card>

  <Card title="AgentOSProtocol" icon="brackets-curly" href="../classes/AgentOSProtocol">
    Agent OS protocol (alias)
  </Card>

  <Card title="DbAdapter" icon="brackets-curly" href="../classes/DbAdapter">
    Database adapter trait
  </Card>

  <Card title="ObsCollector" icon="brackets-curly" href="../classes/ObsCollector">
    Observability collector trait
  </Card>

  <Card title="Provider" icon="brackets-curly" href="../classes/Provider">
    Supported Deep Research providers
  </Card>

  <Card title="RetrievalPolicy" icon="brackets-curly" href="../classes/RetrievalPolicy">
    Retrieval policy for RAG
  </Card>

  <Card title="HandoffError" icon="brackets-curly" href="../classes/HandoffError">
    Base error type for handoff operations
  </Card>
</CardGroup>

## Functions

<CardGroup cols={2}>
  <Card title="embed()" icon="function" href="../functions/embed">
    Synchronous embedding function
  </Card>

  <Card title="embedding()" icon="function" href="../functions/embedding">
    Synchronous embedding function (alias)
  </Card>

  <Card title="embeddings()" icon="function" href="../functions/embeddings">
    Synchronous embeddings function (batch)
  </Card>

  <Card title="aembed()" icon="function" href="../functions/aembed">
    Async embedding function
  </Card>

  <Card title="aembedding()" icon="function" href="../functions/aembedding">
    Async embedding function (alias)
  </Card>

  <Card title="aembeddings()" icon="function" href="../functions/aembeddings">
    Async embeddings function (batch)
  </Card>

  <Card title="sync_display_callbacks()" icon="function" href="../functions/sync_display_callbacks">
    Get sync display callbacks
  </Card>

  <Card title="async_display_callbacks()" icon="function" href="../functions/async_display_callbacks">
    Get async display callbacks
  </Card>

  <Card title="error_logs()" icon="function" href="../functions/error_logs">
    Get error logs
  </Card>

  <Card title="resolve_guardrail_policies()" icon="function" href="../functions/resolve_guardrail_policies">
    Resolve guardrail policies
  </Card>

  <Card title="trace_context()" icon="function" href="../functions/trace_context">
    Get or create trace context
  </Card>

  <Card title="track_workflow()" icon="function" href="../functions/track_workflow">
    Track workflow execution
  </Card>

  <Card title="load_plugin()" icon="function" href="../functions/load_plugin">
    Load a plugin from a path
  </Card>
</CardGroup>
