When to Use Milo

Choose Milo for typed CLIs, MCP tools, and reducer-driven terminal apps.

1 min read 70 words

Use Milo when the same code must serve more than one surface:

  • A human command-line interface.
  • A programmatic Python call.
  • An MCP tool call from an agent.
  • A discoverable llms.txt entry.
  • A reducer-driven terminal app.

Milo is especially useful when schemas, structured returns, and repairable errors matter. For a one-off local script that only parses argv and prints text, the standard library may be enough.