Skip to main content

A modern, voice-enabled AI terminal assistant with local LLM integration and Model Context Protocol (MCP) support.

Project description

ai_term Banner

ai_term is an open-source, voice-enabled terminal assistant that integrates LLMs (Large Language Models), Speech-to-Text (STT), and Text-to-Speech (TTS) into a powerful Command Line Interface (CLI) experience.

PyPI version Docs Deployment Docker Images

Features

  • 🗣️ Voice Interaction: Talk to your terminal and hear responses back.
  • 🧠 LLM Integration: Support for Local (Ollama) and Cloud (OpenAI, Anthropic) models.
  • 🔌 MCP Support: Model Context Protocol client for extensible tool use.
  • 🖥️ TUI Interface: Beautiful, responsive terminal UI built with Textual.
  • ⚙️ Dynamic Configuration: Easy-to-use settings screen for managing providers and secrets.

Prerequisites

  • Python 3.10+
  • uv (recommended) or pip
  • ffmpeg (required for audio processing)

Installation

From PyPI (Recommended for users)

pip install py-aiterm

From Source (For development)

  1. Clone the repository:

    git clone https://github.com/vsaravind01/ai-term.git
    cd ai-term
    
  2. Install dependencies:

    uv sync
    # OR with pip
    pip install -e .
    

Quick Start

The application runs as a distributed system with a main CLI and two support microservices.

1. Start Support Services

Run the following command to start the STT and TTS services in the background:

ai-term start

This pulls pre-built Docker images from GHCR and starts the services.

2. Check Status (Optional)

You can verify the services are running with:

ai-term status

3. Start the CLI

In your main terminal:

uv run ai-term

Documentation

Full documentation is available in the docs/ directory. To view it locally:

uv run mkdocs serve

License

MIT

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

py_aiterm-0.0.1.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

py_aiterm-0.0.1-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file py_aiterm-0.0.1.tar.gz.

File metadata

  • Download URL: py_aiterm-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for py_aiterm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 92f4b6beaadf7f7e88651ad2a2e946ddb5e3fb55107b095d3e9a1b5b48cb20a0
MD5 d2fc51786388119dfdee5e06d56e98d0
BLAKE2b-256 61be04f24fa2d3365dfdab55f5e264387566c17a8417c109a6b6dc2155d54989

See more details on using hashes here.

File details

Details for the file py_aiterm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_aiterm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for py_aiterm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a543ec6a8964b4ebec40555ce4284c5bc75d0f4a310bf9d604d0d839bd675cc
MD5 e03fad1e2ab22fad1b1fdf8ee59e86fb
BLAKE2b-256 13bda7298902e94d608b305b04694ceb72cd23225d6158fe562216acc83d32bc

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