Marvin, a renowned library for building and deploying AI bots, has introduced a full-featured text user interface (TUI) to enhance user experience when communicating with Marvin bots. The TUI, powered by GPT-4 and GPT-3.5, enables users to chat with bots driven by these cutting-edge language models.
Built using the Textual library (https://github.com/textualize/textual/), the TUI leverages its newest features, such as background workers and modals. Although the Marvin team had developed basic TUIs in the past, this latest release is the first to offer a true “app” experience with multiple screens and a coordinated global state.
The TUI aims to integrate Marvin bots into a familiar chat user interface. The preloaded bots come with distinct personalities, instructions, and plugins, functioning like mini “conversational applications.” Examples include a bot that guides users through a role-playing game and another that is passionate about explaining regular expressions. Users can also create their own bots by asking the default Marvin bot for help.
Offering a full chat interface within the terminal, the TUI allows users to create multiple persistent threads for their conversations. However, Marvin’s team recommends using alternative terminals like iTerm2 or Warp on MacOS, as the default Terminal.app provides a subpar TUI experience.
To access the TUI, users need to upgrade Marvin and run the command marvin chat. The TUI offers various functionalities, such as copying and deleting messages, managing threads, and interacting with different bots. Threads, or distinct message histories between the user and a bot, are displayed in the left sidebar. Marvin automatically names threads based on message history and the bot’s personality.
Bots are at the core of Marvin’s unique chat interface, with each bot catering to different user needs. Users can switch between bots, change the default bot, and create or update bots by interacting with the default Marvin bot.
The TUI also provides a settings option to set an OpenAI API key, which is validated and stored in the Marvin config for future sessions. Additionally, the TUI can automatically upgrade the user’s database when new Marvin versions are released, ensuring compatibility with new features and enhancements.
The release of this advanced TUI allows users to interact with their bots seamlessly and showcases Marvin’s capabilities as a library for building and deploying AI bots. The Marvin team encourages users to explore the source code and provide feedback for potential improvements and new features.
"negative_prompt": "worst quality, low quality, child, blurry, deformed, disfigured, morbid, mutated, bad anatomy, bad art",
"original_prompt": "Marvin Unveils Advanced TUI for Seamless AI Bot Interaction, deepleaps.com, 4k, 8k, ultra highres, raw photo in hdr, sharp focus, intricate texture",
"prompt": "Marvin Unveils Advanced TUI for Seamless AI Bot Interaction, deepleaps.com, 4k, 8k, ultra highres, raw photo in hdr, sharp focus, intricate texture",