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

# Claude + Groq Qwen 3.6

> Pair Claude Sonnet 4.5 with Groq's Qwen 3.6 27B as a reasoning model.

<Steps>
  <Step title="Add the following code to your Python file">
    ```python groq_plus_claude.py theme={null}
    from agno.agent import Agent
    from agno.models.anthropic import Claude
    from agno.models.groq import Groq

    reasoning_agent = Agent(
        model=Claude(id="claude-sonnet-4-5"),
        reasoning_model=Groq(
            id="qwen/qwen3.6-27b", temperature=0.6, max_tokens=1024, top_p=0.95
        ),
    )
    reasoning_agent.print_response("9.11 and 9.9 -- which is bigger?", stream=True)
    ```
  </Step>

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

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

  <Step title="Export your Groq and Anthropic API keys">
    <CodeGroup>
      ```bash Mac/Linux theme={null}
        export GROQ_API_KEY="your_groq_api_key_here"
        export ANTHROPIC_API_KEY="your_anthropic_api_key_here"
      ```

      ```bash Windows theme={null}
        $Env:GROQ_API_KEY="your_groq_api_key_here"
        $Env:ANTHROPIC_API_KEY="your_anthropic_api_key_here"
      ```
    </CodeGroup>
  </Step>

  <Step title="Run Agent">
    ```bash theme={null}
    python groq_plus_claude.py
    ```
  </Step>
</Steps>
