Getting Started

AskQuorum AI is a multi-model AI platform with a personal AI assistant (Kavya), a CLI for terminal-based workflows, and multi-channel support across WhatsApp, Telegram, and Discord.

Quick start: Install the CLI, configure your channels, and you're live in under 5 minutes.

Installation

Prerequisites

Install via npm

npm install -g @askquorum-ai/cli

Verify installation

askquorum --version
askquorum help

Configuration

AskQuorum uses a YAML configuration file. On first run, a default config is created at ~/.askquorumai/config.yaml.

Core settings

# ~/.askquorumai/config.yaml
gateway:
  port: 8080
  host: localhost

ai:
  default_model: anthropic/claude-sonnet-4-20250514
  thinking: auto

channels:
  whatsapp:
    enabled: true
  telegram:
    enabled: false
  discord:
    enabled: false

Environment variables

API keys and secrets can be set via environment variables or stored in the encrypted credential vault:

export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...

Security: Never commit API keys to version control. Use the built-in vault (askquorum secrets set) for production.

WhatsApp Channel

Connect your AI assistant to WhatsApp using the Baileys library. The CLI manages session state and QR code authentication automatically.

Setup

askquorum channel add whatsapp
askquorum gateway start

Scan the QR code with your WhatsApp app to authenticate. The session persists across restarts.

Features

Telegram Channel

Connect via Telegram Bot API with a bot token from @BotFather.

Setup

askquorum channel add telegram --token YOUR_BOT_TOKEN

Features

Discord Channel

Deploy as a Discord bot using a bot token from the Discord Developer Portal.

Setup

askquorum channel add discord --token YOUR_BOT_TOKEN

Features

Plugins

Extend AskQuorum with plugins for additional capabilities. Plugins are Node.js modules that hook into the gateway lifecycle.

Available plugins

Enable a plugin

# In config.yaml
plugins:
  calendar:
    enabled: true
  email:
    enabled: true
    provider: gmail

Creating custom plugins

Plugins export an init() function that receives the gateway context:

// my-plugin/index.js
module.exports = {
  name: 'my-plugin',
  init(ctx) {
    ctx.on('message', async (msg) => {
      // Handle messages
    });
  }
};

CLI Reference

Gateway commands

askquorum gateway start     # Start the gateway daemon
askquorum gateway stop      # Stop the gateway
askquorum gateway restart   # Restart the gateway
askquorum gateway status    # Check gateway status

Channel commands

askquorum channel list              # List configured channels
askquorum channel add <type>        # Add a channel (whatsapp|telegram|discord)
askquorum channel remove <type>     # Remove a channel

Secret management

askquorum secrets list              # List stored secrets
askquorum secrets set <key> <val>   # Store an encrypted secret
askquorum secrets delete <key>      # Delete a secret

Utility commands

askquorum --version     # Print version
askquorum help          # Show help
askquorum doctor        # Diagnose configuration issues

API Reference

The REST API reference is coming soon. The gateway exposes endpoints for message handling, user management, and plugin orchestration on localhost:8080.

Base URL

http://localhost:8080/api/

Endpoints (preview)

Full API documentation with request/response schemas will be published here.