-
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Alex Clarke edited this page May 5, 2026
·
14 revisions
Welcome to the Loki wiki!
A helpful way to use this wiki is to create a RAG from it and then ask questions about Loki, with Loki! Here's an example on how to create a RAG from this wiki and then ask a question about Loki:

Loki is an all-in-one, batteries-included, LLM CLI tool featuring Shell Assistant, CLI & REPL Mode, RAG, AI Tools & Agents, and More.
It is designed to include a number of useful agents, roles, macros, and more so users can get up and running with Loki in as little time as possible.

Coming from AIChat? Follow the migration guide to get started.
- AIChat Migration Guide: Coming from AIChat? Follow the migration guide to get started.
- Installation: Install Loki
- Getting Started: Get started with Loki by doing first-run setup steps, and learn the basics.
-
REPL: Interactive Read-Eval-Print Loop for conversational interactions with LLMs and Loki.
- Custom REPL Prompt: Customize the REPL prompt to provide useful contextual information.
- Vault: Securely store and manage sensitive information such as API keys and credentials.
- Shell Integrations: Seamlessly integrate Loki with your shell environment for enhanced command-line assistance.
-
Function Calling: Leverage function calling capabilities to extend Loki's functionality with custom tools
- Creating Custom Tools: You can create your own custom tools to enhance Loki's capabilities.
- First-Class MCP Server Support: Easily connect and interact with MCP servers for advanced functionality.
- Macros: Automate repetitive tasks and workflows with Loki "scripts" (macros).
- RAG: Retrieval-Augmented Generation for enhanced information retrieval and generation.
- Sessions: Manage and persist conversational contexts and settings across multiple interactions.
- Roles: Customize model behavior for specific tasks or domains.
-
Agents: Leverage AI agents to perform complex tasks and workflows, including sub-agent spawning, teammate messaging, and user interaction tools.
- Todo System: Built-in task tracking for improved agent reliability with smaller models.
- Environment Variables: Override and customize your Loki configuration at runtime with environment variables.
-
Client Configurations: Configuration instructions for various LLM providers.
- Authentication (API Key & OAuth): Authenticate with API keys or OAuth for subscription-based access.
- Patching API Requests: Learn how to patch API requests for advanced customization.
- Custom Themes: Change the look and feel of Loki to your preferences with custom themes.
- History: A history of how Loki came to be.
Loki began as a fork of AIChat CLI and has since evolved into an independent project.
See CREDITS.md for full attribution and background.