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

# Deploy Dome

> Overview of integrating Dome Guardrails into your AI agent.

Dome protects your AI agent by filtering requests and responses through configurable Guardrails. Deploying Dome requires integrating the Dome SDK into your agent code.

## What Developers Need

To deploy Dome, your development team will:

1. **Install the package**: Add `vijil-dome` to your Python dependencies, following [Install Dome](/developer-guide/protect/installation)
2. **Wrap LLM calls**: Insert Guard checks before and after your agent's LLM interactions
3. **Configure Guards**: Load configuration from the Vijil Console or define it in code
4. **Handle blocked content**: Return safe responses when Guards trigger

## Integration Pattern

The basic pattern wraps your agent's LLM calls:

```python theme={null}
from vijil_dome import Dome

dome = Dome.create_from_vijil_agent(
    agent_id="your-agent-id",
    api_key="your-api-key"
)

def protected_chat(user_message: str) -> str:
    # Guard the input
    input_scan = dome.guard_input(user_message)
    if not input_scan.is_safe():
        return input_scan.guarded_response()

    # Your existing agent logic here
    response = your_agent.generate(input_scan.guarded_response())

    # Guard the output
    output_scan = dome.guard_output(response)
    return output_scan.guarded_response()
```

## Configuration Sync

When you configure Guardrails in the Console, your developers can pull that configuration directly into code using `Dome.create_from_vijil_agent()`. This keeps your security policies in sync between the Console UI and deployed agents.

## Framework Support

Dome ships integrations for the common agent frameworks:

* **[Google ADK](/developer-guide/protect/integrations/adk)**: register generated model callbacks with your agent
* **[LangGraph](/developer-guide/protect/integrations/langgraph)**: scan inside graph nodes, or secure the whole graph
* **[Strands](/developer-guide/protect/integrations/strands)**: attach a Dome hook provider to your agent
* **[LangChain](/developer-guide/protect/integrations/langchain)**: use `GuardrailRunnable` in your chains
* **[MCP servers](/developer-guide/protect/integrations/mcp)**: run a guarded proxy in front of the server
* **Custom agents**: wrap any LLM client with Guard calls

## Next Steps

<CardGroup cols={2}>
  <Card title="Monitor Performance" icon="chart-line" href="/owner-guide/protect-in-production/observability">
    View traces and metrics after deployment
  </Card>

  <Card title="Protection Overview" icon="code" href="/developer-guide/protect/overview">
    Complete deployment instructions for developers
  </Card>

  <Card title="Configure Guardrails" icon="sliders-horizontal" href="/owner-guide/protect-in-production/configuring-guardrails">
    Set up Guard policies in the Console
  </Card>

  <Card title="Containerized Deployment" icon="container" href="/tutorials/protect-agents/dome-containerized-deployment">
    Run Dome as a standalone service
  </Card>
</CardGroup>
