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

# Linkup Tools

## Code

```python cookbook/tools/linkup_tools.py theme={null}
from agno.agent import Agent
from agno.tools.linkup import LinkupTools

agent = Agent(
    instructions=[
        "You are a web search assistant that provides comprehensive search results",
        "Use Linkup to find detailed and relevant information from the web",
        "Provide structured search results with source attribution",
    ],
    tools=[LinkupTools()],
    markdown=True,
)

agent.print_response("Search for the latest developments in quantum computing")
```

## Usage

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

  <Step title="Set your API keys">
    ```bash theme={null}
    export LINKUP_API_KEY=your-linkup-api-key
    export OPENAI_API_KEY=xxx
    ```
  </Step>

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

  <Step title="Run Agent">
    <CodeGroup>
      ```bash Mac theme={null}
      python cookbook/tools/linkup_tools.py
      ```

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