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

# Xiaomi MiMo String Model

> Create a MiMo agent without importing the model class, using the `model="xiaomi:<model-id>"` string shorthand.

```python string_model.py theme={null}
"""
Xiaomi MiMo String Model
========================

Create a MiMo agent without importing the model class, using the
`model="xiaomi:<model-id>"` string shorthand.
"""

from agno.agent import Agent

# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------

agent = Agent(model="xiaomi:mimo-v2.5-pro", markdown=True)

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

## Run the Example

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

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

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

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

Full source: [cookbook/90\_models/xiaomi/string\_model.py](https://github.com/agno-agi/agno/blob/main/cookbook/90_models/xiaomi/string_model.py)
