Announcing richer-prompt

Interactive terminal prompts for Python

open-source
python
Author

Gabriel Mello Silva

Published

June 23, 2026

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.

pip install richer-prompt

Running richer-prompt demo in the terminal

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

Tip

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:

  • Select for single-choice selection
  • MultiSelect for selecting multiple options
  • Tabs for compact yes/no or mode-style prompts

A number of customization options are available, including:

  • Choice objects 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.