Ross ROSS = Recommend OSS · open-source software intelligence for agents

brentyi/tyro

CLI interfaces & config objects, from types observed · 2026-08-28

github.com/brentyi/tyro · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 7.0
  • age_days: 1793
  • days_rel: 11
  • days_push: 11
  • n_releases_24m: 63

Full methodology

Adoption not part of the score

1100 stars · 47 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

tyro is a Python library that generates command-line interfaces and configuration objects from type-annotated Python functions, dataclasses, pydantic models, and attrs classes. It provides helptext generation, nested structures, subcommands, and shell completion while keeping arguments statically typed.

Use cases

  • generate a CLI from a python function's type annotations
  • parse command-line arguments into dataclasses or pydantic models
  • build nested hierarchical config CLIs for ML training scripts
  • add subcommands and shell completion to python scripts
  • replace argparse boilerplate with typed config objects
  • make script arguments IDE- and mypy-friendly

When to choose

  • you want CLIs defined once from standard Python types, docstrings, and defaults
  • you use dataclasses, pydantic, or attrs for configuration
  • you need hierarchical configs or subcommands in research/engineering scripts
  • static type checking of parsed arguments matters to you

When to avoid

  • you need a full-featured CLI framework with rich interactive prompts
  • your project is not Python
  • you prefer YAML/dictionary-based configuration over typed arguments

Facets

library · maturity active

cli developer-tools configuration-management developer-tools python cli cross-platform argparse dataclasses pydantic type-annotations config-parsing shell-completion command-line automation

3 sources

Member repositories

RepositoryRoleHealth v2
brentyi/tyromain95

For agents

markdown · JSON · MCP: product_card(name="brentyi/tyro")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem