A stylish terminal-based chat client for interacting with AI agents through an ASCII art interface.
- 🤖 Connect to AI agents via a simple API
- 🖼️ Messages displayed through ASCII art characters (featuring Bender!)
- 👥 Select from multiple available agents
- 💬 Persistent chat history during session
- 🎨 Clean, modern terminal UI using Bubble Tea and Lipgloss
go install github.com/blackflame007/cowui@latest
Or build from source:
git clone https://github.com/blackflame007/cowui.git
cd cowui
go build ./cmd/cowui
Start the client with:
cowui
- Type to compose a message
- Enter to send a message
- Up/Down to navigate agent selection (when multiple agents are available)
- Ctrl+C to exit
- Go 1.20 or higher
- A running agent server (default: http://localhost:3000/api)
The agent server URL can be configured by modifying the apiBaseURL
constant in main.go
.
CowUI connects to a local API server that hosts AI agents. Messages are sent to the selected agent, and responses are displayed in the terminal with ASCII art using a customized version of cowsay.
- Neo-cowsay - ASCII art generation
- Bubble Tea - Terminal UI framework
- Lipgloss - Terminal UI styling
go build -o cowui ./cmd/cowui
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Charm for the amazing terminal UI libraries
- All contributors and supporters of the project