Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Explore real-world integrations with popular agent frameworks, or jump to [Quick
- **[Galileo Luna-2 Integration](examples/galileo/)** — Toxicity detection and content moderation with Galileo Protect

### Framework integrations
- **[Google ADK Callbacks](examples/google_adk_callbacks/)** — Model and tool guardrails via ADK's native callback hooks
- **[Google ADK Decorator](examples/google_adk_decorator/)** — `@control()` decorator pattern for ADK tool protection
- **[LangChain](examples/langchain/)** — Protect a SQL agent from dangerous queries with server-side controls
- **[CrewAI](examples/crewai/)** — Combine Agent Control security controls with CrewAI guardrails for customer support
- **[AWS Strands](examples/strands_agents/)** — Guardrails for AWS Strands agent workflows and tool calls
Expand Down
2 changes: 2 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This directory contains runnable examples for Agent Control. Each example has it
|:--------|:--------|:-----|
| Agent Control Demo | End-to-end workflow: create controls, run a controlled agent, update controls dynamically. | https://docs.agentcontrol.dev/examples/agent-control-demo |
| CrewAI | Combine Agent Control security controls with CrewAI guardrails for customer support. | https://docs.agentcontrol.dev/examples/crewai |
| Google ADK Callbacks | Model and tool guardrails via ADK's native callback hooks. | https://docs.agentcontrol.dev/examples/google-adk-callbacks |
| Google ADK Decorator | `@control()` decorator pattern for ADK tool protection. | https://docs.agentcontrol.dev/examples/google-adk-decorator |
| Customer Support Agent | Enterprise scenario with PII protection, prompt-injection defense, and multiple tools. | https://docs.agentcontrol.dev/examples/customer-support |
| DeepEval | Build a custom evaluator using DeepEval GEval metrics. | https://docs.agentcontrol.dev/examples/deepeval |
| Galileo Luna-2 | Toxicity detection and content moderation with Galileo Protect. | https://docs.agentcontrol.dev/examples/galileo-luna2 |
Expand Down
24 changes: 24 additions & 0 deletions examples/google_adk_callbacks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Google ADK Callbacks

Model and tool guardrails via ADK's native callback hooks.

## What this example shows

- Pre-model prompt injection blocking
- Pre-tool and post-tool output filtering
- Fail-closed behavior on server errors

## Quick run

```bash
# From repo root
make server-run
export GOOGLE_API_KEY="your-key-here"

cd examples/google_adk_callbacks
uv pip install -e . --upgrade
uv run python setup_controls.py
uv run adk run my_agent
```

Full walkthrough: https://docs.agentcontrol.dev/examples/google-adk-callbacks
24 changes: 24 additions & 0 deletions examples/google_adk_decorator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Google ADK Decorator

`@control()` decorator pattern for tool protection inside a Google ADK app.

## What this example shows

- `@control()` on ADK tool functions
- Automatic step registration from decorators
- Optional sdk-local execution mode

## Quick run

```bash
# From repo root
make server-run
export GOOGLE_API_KEY="your-key-here"

cd examples/google_adk_decorator
uv pip install -e . --upgrade
uv run python setup_controls.py
uv run adk run my_agent
```

Full walkthrough: https://docs.agentcontrol.dev/examples/google-adk-decorator
Loading