> ## 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.

# 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

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

**1. 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
```

**2. Install dependencies**

```bash theme={null}
uv pip install -U ollama yfinance agno
```

**3. Run Agent**

Save the code above as `demo_qwen.py`, then run:

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


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