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

# Ollama

## Example

<CodeGroup>
  ```python agent.py theme={null}
  from phi.agent import Agent
  from phi.model.ollama import Ollama

  agent = Agent(
      model=Ollama(id="llama3.2"),
      show_tool_calls=True,
      markdown=True,
  )

  agent.print_response("What is the stock price of NVDA and TSLA")
  ```
</CodeGroup>

## Ollama Params

<Snippet file="model-ollama-params.mdx" />

`Ollama` is a subclass of the [Model](/reference/model/base) class and has access to the same params.
