Today I released the first version of richer-prompt, a Python package for interactive terminal prompts built on top of Rich and inspired by Claude Code design.
- Repository: github.com/gabriel-msilva/richer-prompt
- Documentation: richer-prompt.readthedocs.io
pip install richer-prompt
Motivation
When I first started using Claude Code, one of the things that immediately stood out was its terminal user interface. The experience is clean and intuitive, making interactions with an AI agent feel easy directly from the command line.
That inspired me to bring some of those interaction patterns to Python’s rich ecosystem.
rich is already adopted by many popular Python tools, including Typer and FastAPI. Extending it with interactive prompt components allows developers to build fluid CLI applications while staying within the same framework.
Features
See the Usage section in the documentation for more details.
The first release focuses on a compact set of prompt primitives for common CLI flows:
Selectfor single-choice selectionMultiSelectfor selecting multiple optionsTabsfor compact yes/no or mode-style prompts
A number of customization options are available, including:
Choiceobjects allow for setting value/label/description- Rich theme integration for prompt styling
What is next
I am planning on adding a “form” prompt (the same you usually see in Claude’s plan mode) that will ask for multiple inputs in a single prompt, reusing the current prompts.
Also, I must confess that I am not too happy with the overall complexity of the code, so I may revisit that in the future. First, I wanted to put the package out there.
streamlit-arborist proved to me that feedback and ideas from the community can give extra motivation. If you try richer-prompt, I would love your feedback and ideas on GitHub issues.