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

# String Model Shorthand

## Code

```python cookbook/90_models/xiaomi/string_model.py theme={null}
from agno.agent import Agent

# Create a MiMo agent without importing the model class, using the
# `model="xiaomi:<model-id>"` string shorthand.
agent = Agent(model="xiaomi:mimo-v2.5-pro", markdown=True)

if __name__ == "__main__":
    agent.print_response(
        "Explain why tool-calling agents need conversation history.",
        stream=True,
    )
```

## Usage

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

  <Step title="Set your API key">
    ```bash theme={null}
    export MIMO_API_KEY=xxx
    ```
  </Step>

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

  <Step title="Run Agent">
    ```bash theme={null}
    python cookbook/90_models/xiaomi/string_model.py
    ```
  </Step>
</Steps>
