> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent with Tools

> Give an AWS Claude agent web search tools.

## Code

```python tool_use.py theme={null}
from agno.agent import Agent
from agno.models.aws import Claude
from agno.tools.websearch import WebSearchTools

agent = Agent(
    model=Claude(id="global.anthropic.claude-sonnet-4-5-20250929-v1:0"),
    tools=[WebSearchTools()],
    markdown=True,
)
agent.print_response("Whats happening in France?", stream=True)
```

## Usage

<Snippet file="create-venv-step.mdx" />

**1. Set your AWS Credentials**

```bash theme={null}
export AWS_ACCESS_KEY_ID=***
export AWS_SECRET_ACCESS_KEY=***
export AWS_REGION=***
```

**2. Install dependencies**

```bash theme={null}
uv pip install -U 'anthropic[bedrock]' ddgs agno
```

**3. Run Agent**

```bash theme={null}
python tool_use.py
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.