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

# Demo Qwen

> Run an Ollama qwen3:8b agent with YFinanceTools that streams a markdown report on NVDA.

## Code

```python demo_qwen.py theme={null}
from agno.agent import Agent
from agno.models.ollama import Ollama
from agno.tools.yfinance import YFinanceTools

agent = Agent(
    model=Ollama(id="qwen3:8b"),
    tools=[
        YFinanceTools(),
    ],
    instructions="Use tables to display data.",
)

agent.print_response("Write a report on NVDA", stream=True, markdown=True)

```

## Usage

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

  <Step title="Install Ollama">
    Follow the [Ollama installation guide](https://github.com/ollama/ollama?tab=readme-ov-file#macos) and run:

    ```bash theme={null}
    ollama pull qwen3:8b
    ```
  </Step>

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

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

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