Title: Hi HN! We just shipped a full-featured TUI (Text User Interface) for chatting with your Marvin bots, powered by GPT 4 or GPT-3.5. Like all of Marvin, it&#x27;s fully open-source and we hope you find it useful. To launch it, upgrade and run `marvin chat`.<p>The TUI is built with Textual (<a href="https:&#x2F;&#x2F;github.com&#x2F;textualize&#x2F;textual&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;textualize&#x2F;textual&#x2F;</a>) and uses some of its newest features including background workers and modals. We&#x27;ve made base TUIs before but this is the first one that&#x27;s a true &quot;app&quot; with many screens and coordinated global state. Happy to answer any questions about working with Textual - once it &quot;clicked&quot; it was surprisingly similar to building a traditional front end! Small note: Terminal.app on MacOS isn&#x27;t great for TUIs, so while it&#x27;ll work, we suggest an alternative terminal.<p>One of our goals with the TUI was to integrate Marvin&#x27;s bots into the familiar chat UX. Bots can have distinct personalities, instructions, and use plugins, so each one is like a mini &quot;conversational application.&quot; You might know about Marvin because of AI Functions, but at its core Marvin is a library for building and deploying bots (in fact, AI functions are actually a bot!). We started building the TUI as a way to quickly explore and assess our bots&#x27; capabilities. It quickly became so useful that we decided to make it a first-class experience.<p>We&#x27;ve preloaded several bots, including one that can guide you through an RPG and another that is obsessed with explaining regex, and will add many more. You can even create your own bots just by asking the default bot (Marvin) to help you.<p>We hope the TUI is a fun way to quickly interact with your bots and it was a great way for us to learn Textual. Please check out the code and let us know what enhancements we can add!
Upvote: