> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-codex-docs-audit-20260719-0149.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# String Model Shorthand

> Create a MiMo agent with the "xiaomi:<model-id>" string shorthand instead of importing the model class.

## Code

```python 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">
    Save the code above as `string_model.py`, then run:

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