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

# Linkup Tools

> Answer a current-events question with web results from LinkupTools.

```python linkup_tools.py theme={null}
"""
Linkup Tools
=============================

Demonstrates linkup tools.
"""

from agno.agent import Agent
from agno.tools.linkup import LinkupTools

# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------


agent = Agent(tools=[LinkupTools()])

# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
    agent.print_response("What's the latest news in French politics?", markdown=True)
```

## Run the Example

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

  <Step title="Install dependencies">
    ```bash theme={null}
    uv pip install -U agno linkup linkup-sdk openai
    ```
  </Step>

  <Step title="Export your API keys">
    <CodeGroup>
      ```bash Mac/Linux theme={null}
      export LINKUP_API_KEY="your_linkup_api_key_here"
      export OPENAI_API_KEY="your_openai_api_key_here"
      ```

      ```bash Windows theme={null}
      $Env:LINKUP_API_KEY="your_linkup_api_key_here"
      $Env:OPENAI_API_KEY="your_openai_api_key_here"
      ```
    </CodeGroup>
  </Step>

  <Step title="Run the example">
    Save the code above as `linkup_tools.py`, then run:

    ```bash theme={null}
    python linkup_tools.py
    ```
  </Step>
</Steps>

Full source: [cookbook/91\_tools/linkup\_tools.py](https://github.com/agno-agi/agno/blob/main/cookbook/91_tools/linkup_tools.py)
