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.1.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.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kallyai_cli-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d64dd1767ed9b8a877f93ba6336e9698425643a5a47ef348e70ad96fe40be7a3
MD5 440f38f5b2df4cd6c6b4332c5cde5b96
BLAKE2b-256 90207fd4f46533b8b236c8d74c555230bc7653dd54cfa9889e69d2a44d78cadf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kallyai_cli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05ed0b6133aaa0510500183a782e6e9236db568d06e7c2232c844db16d9ab52b
MD5 9103df920bd0ca77d70877bb1abfb80a
BLAKE2b-256 5e95b1b516c2b4572d5f1d1317c474d149726614882a9b6f4c45d6f537504922

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