Skip to main content

CLI for KallyAI - AI phone assistant that makes calls to businesses

Project description

KallyAI CLI

A command-line interface for KallyAI - an AI phone assistant that makes calls to businesses on your behalf.

Features

  • Make AI phone calls - Reserve tables, schedule appointments, inquire about services
  • Check usage - Monitor your minutes and calls remaining
  • View call history - List and inspect past calls
  • Get transcripts - Read full conversation transcripts
  • Manage billing - Access Stripe billing portal

Installation

pip install kallyai-cli

Or install from source:

git clone https://github.com/sltelitsyn/kallyai-cli.git
cd kallyai-cli
pip install -e .

Quick Start

# Check your usage (will prompt for login on first use)
kallyai --usage

# Make a call
kallyai --phone "+15551234567" --task "Ask about store hours"

# View call history
kallyai --history

Authentication

Authentication is automatic. On first use, a browser window opens for Google/Apple sign-in. Tokens are securely stored locally.

kallyai --login      # Force re-authentication
kallyai --logout     # Clear saved credentials
kallyai --auth-status # Check if logged in

Commands

Making Calls

kallyai -p "+15551234567" -t "Reserve a table for 4 at 8pm" \
  --category restaurant \
  --name "John Smith" \
  --party-size 4 \
  --date "2026-01-28" \
  --time "20:00"
Option Short Description
--phone -p Phone number (E.164 format)
--task -t What the AI should accomplish
--category -c restaurant, clinic, hotel, general
--language -l en or es
--name Your name (for reservations)
--business Business name
--party-size Party size (restaurants)
--date YYYY-MM-DD
--time HH:MM (24-hour)

Account & Usage

kallyai --usage        # Show minutes/calls remaining
kallyai --subscription # Show subscription status
kallyai --billing      # Open Stripe billing portal

Call History

kallyai --history              # List recent calls
kallyai --call-info <ID>       # Get call details
kallyai --transcript <ID>      # Get conversation transcript

Claude Code Skill Installation

This CLI can be used as a Claude Code skill, allowing Claude to make phone calls on your behalf.

Method 1: One-Line Install (Recommended)

# Install CLI globally
pip install kallyai-cli

# Create skills directory and download skill file
mkdir -p ~/.claude/skills/kallyai-api
curl -o ~/.claude/skills/kallyai-api/SKILL.md \
  https://raw.githubusercontent.com/sltelitsyn/kallyai-cli/main/skill/SKILL.md

Method 2: Install from Source

# Clone repository
git clone https://github.com/sltelitsyn/kallyai-cli.git
cd kallyai-cli

# Install CLI
pip install -e .

# Copy skill to Claude Code
mkdir -p ~/.claude/skills/kallyai-api
cp skill/SKILL.md ~/.claude/skills/kallyai-api/

Method 3: User Settings (Alternative)

Add to your Claude Code settings file (~/.claude/settings.json):

{
  "skills": {
    "kallyai-api": {
      "path": "/path/to/kallyai-cli/skill"
    }
  }
}

Usage in Claude Code

Once installed, Claude will automatically use the skill when you mention:

  • "call", "phone call", "make a call"
  • "reservation", "book a table"
  • "appointment", "schedule"
  • "KallyAI"

Example prompts:

  • "Call +15551234567 and ask about their store hours"
  • "Make a reservation at Italian Bistro for 4 people at 8pm"
  • "Check my KallyAI usage"
  • "Show my recent calls"

Security

  • Token storage: ~/.kallyai_token.json with 0600 permissions
  • CSRF protection: State parameter validation
  • Localhost only: OAuth redirects only to localhost/127.0.0.1
  • Auto-refresh: Tokens refresh automatically when expired

API Documentation

For direct API usage, see the API Reference.

Requirements

  • Python 3.10+
  • httpx

License

Proprietary License - see LICENSE

This software is provided under a proprietary license. You may use it solely for personal or internal business purposes in connection with KallyAI services. Reverse engineering, decompilation, and security testing are prohibited without prior written consent.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kallyai_cli-1.0.2.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kallyai_cli-1.0.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file kallyai_cli-1.0.2.tar.gz.

File metadata

  • Download URL: kallyai_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for kallyai_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e587da567a1e0be86320b0762232242b74173955e65daf73490ea8abd9aded49
MD5 06503f26327dae2d765c49ebc2c94d7b
BLAKE2b-256 290c5aded7ce097ac8aceea6e30acca07d7a8652073ccf55fac1b4a9ad051595

See more details on using hashes here.

File details

Details for the file kallyai_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: kallyai_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for kallyai_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 19b08a646613c974244c236aa041c55280528d1d11355c91c3546c6f83109590
MD5 09b33a7c038d0048cfdbb2c8b77a96a1
BLAKE2b-256 4c6a781181b3fe50e27b338748d4a75a02c26e9e654cfea0945c45ad41520162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page