PitchHut logo
Easily chat with AI across multiple platforms and tools.
Pitch

King Louie is an open-source AI chat desktop application that allows seamless communication with various LLM providers. It supports integrations with Telegram, Discord, and Slack, offering rich features like agentic tool use, smart routing, and an extensible skill system, all wrapped in a modern, user-friendly interface.

Description

King Louie is an open-source, cross-platform AI chat desktop application designed for Windows, macOS, and Linux. Built with Electron, this application enables seamless communication with multiple Large Language Model (LLM) providers by simply inputting API keys. Users can interact through a modern dark-themed interface or establish connectivity to popular platforms like Telegram, Discord, and Slack as a bot.

Key Features

  • Multi-Provider LLM Support: Integrate with leading LLM providers including OpenAI, Anthropic, Google Gemini, Groq, Mistral, Ollama (local), and OpenRouter.
  • Smart LLM Routing: Use configurable rules to dynamically route messages to the most suitable provider based on keywords, regex patterns, or command prefixes.
  • Agentic Tool Use: Enable agents to execute shell commands, manipulate files, perform web searches, and automate browsing tasks.
  • Multi-Agent Orchestration: Execute tasks using multiple agents in parallel, in sequence, or based on dependencies.
  • Extensible Skill System: Easily manage custom skill plugins for tailored functionalities.
  • Mesh Networking: Facilitate secure peer-to-peer communication between King Louie instances across different machines.
  • Channel Integrations: Connect conversations across Telegram, Discord, and Slack bots with ease.
  • Cron Scheduling: Automate the execution of scheduled tasks, whether recurring or one-off.
  • Semantic Memory: Utilize an embedding-based memory system that categorizes memory based on time and context.
  • Voice / TTS Support: Implement text-to-speech capabilities using system TTS or ElevenLabs for audio responses.
  • Webhooks: Create HTTP endpoints for triggering external automation.
  • User-Friendly Interface: Enjoy a two-pane chat layout featuring syntax highlighting and markdown rendering for an improved user experience.

Quick Start

To get started with King Louie, download the latest release suitable for your platform from the Releases.

Example Usage

npm install
npm start

Supported LLM Providers

  • OpenAI: GPT-4, GPT-4o, etc.
  • Anthropic: Claude Sonnet, Opus, etc.
  • Google Gemini: Gemini Pro, Flash, etc.
  • Groq: Llama, Mixtral, etc.
  • Mistral: Mistral models only.
  • Ollama: Any Ollama-hosted model (local option).
  • OpenRouter: A versatile multi-provider routing solution.

Smart LLM Routing Example

King Louie incorporates a smart routing feature to streamline user interactions, facilitating automatic message routing to suitable LLMs based on the defined rules. For instance:

  • Rule: Design with Claude will route messages containing keywords like "design" or "architect" to the Claude model.

Built-in Tools

King Louie features a robust set of built-in tools for agents, including capabilities like shell command execution, file handling, web searching, and more. Users can approve or configure these tools based on specific needs.

Development

For developers interested in contributing, building, or testing the project, a comprehensive setup is available through the development commands. Each segment of the project is well-structured for ease of exploration.

Security Features

King Louie ensures security through multiple layers: context isolation, validated IPC calls, HTML sanitization, and stringent checks for tool executions. The mesh networking is fortified with TLS 1.3 encryption and mutual authentication to protect peer communications.

King Louie represents a versatile tool that caters to diverse AI assistant needs, offering both power and flexibility for developers and end users alike.

0 comments

No comments yet.

Sign in to be the first to comment.