Skip to main content

Terminal Injected Coding CLI Assistant

Project description

Ticca

Terminal Injected Coding CLI Assistant

A privacy-focused AI coding assistant for your terminal. Multi-model support, specialized agents, and zero telemetry.

License Python

Quick Start

# Using UV (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
uvx ticca

# Using pip
pip install ticca
ticca

Features

  • 🎨 Beautiful TUI - Terminal interface powered by Textual
  • 🤖 Multi-Model - OpenAI, Claude, Gemini, Cerebras, Ollama, custom endpoints
  • 🎯 Specialized Agents - Code review, debugging, security auditing, refactoring
  • 🔌 MCP Integration - Extend with Model Context Protocol servers
  • 🔒 Privacy First - Zero telemetry, local-only option, no data collection
  • Load Balancing - Round-robin across multiple API keys

Usage

ticca                                    # Start TUI
ticca -i                                 # Interactive CLI
ticca -p "Explain this code"             # Single prompt
ticca -m gpt-4 -a code-reviewer          # Specify model and agent

In-Session Commands

/agent <name>              # Switch agent (code-reviewer, security-auditor, etc.)
/model <name>              # Switch model
/mcp list                  # Manage MCP servers
/set <key> <value>         # Configure settings
/help                      # Show help

Configuration

API Keys

Set via environment variables or TUI settings:

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

Models

Configure in ~/.ticca/models.json or ~/.ticca/extra_models.json:

{
  "gpt-4": {
    "type": "openai",
    "model": "gpt-4",
    "max_tokens": 8000
  }
}

Custom Commands

Create markdown files in .claude/commands/, .github/prompts/, or .agents/commands/:

cat > .claude/commands/review.md << 'EOF'
# Code Review
Review for security, performance, style, and best practices.
EOF

/review  # Use in Ticca

Agents

Built-in specialized agents:

  • code-reviewer - Code quality and best practices
  • security-auditor - Security vulnerability analysis
  • debugger - Bug identification and fixes
  • refactorer - Code improvements
  • documenter - Documentation generation

Create custom agents in ~/.ticca/agents/ as JSON files or use /agent agent-creator.

MCP Servers

Extend capabilities with Model Context Protocol:

/mcp list                  # Show servers
/mcp start <server>        # Start server
/mcp status                # Check status

Configure in ~/.ticca/mcp_servers.json:

{
  "file-server": {
    "enabled": true,
    "path": "/usr/local/bin/mcp-file-server",
    "config": {}
  }
}

Advanced Features

Load Balancing

Rotate across multiple API keys:

{
  "gpt4-balanced": {
    "type": "round_robin",
    "models": ["openai-key-1", "openai-key-2"],
    "rotate_every": 5
  }
}

Custom Endpoints

Self-hosted or private models:

{
  "local-llama": {
    "type": "openai",
    "model": "llama-2",
    "custom_endpoint": {
      "url": "http://localhost:8000/v1",
      "api_key": "not-needed"
    }
  }
}

DBOS (Optional)

Durable execution with automatic recovery:

/set enable_dbos true

Privacy

✅ Zero telemetry or tracking
✅ No cloud storage of conversations
✅ Local-only mode available (Ollama)
✅ Direct API communication (no proxies)
✅ Your code never leaves your machine

Requirements

  • Python 3.11+
  • One of: OpenAI, Anthropic, Gemini, Cerebras API key, or local LLM (Ollama, VLLM)

Installation

UV (Recommended)

curl -LsSf https://astral.sh/uv/install.sh | sh
export UV_MANAGED_PYTHON=1
uvx ticca

pip

pip install ticca
ticca

From Source

git clone https://github.com/mpfaffenberger/ticca.git
cd ticca
./start.sh

Contributing

Contributions welcome! Please:

  • Follow existing code style
  • Include tests (pytest)
  • Update documentation
  • Maintain backward compatibility

See CONTRIBUTING.md for details.

License

MIT License - see LICENSE for details.

Links


Ticca - Built with ❤️ for developers who value efficiency, privacy, and simplicity.

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

ticca-0.1.0.tar.gz (309.9 kB view details)

Uploaded Source

Built Distribution

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

ticca-0.1.0-py3-none-any.whl (401.8 kB view details)

Uploaded Python 3

File details

Details for the file ticca-0.1.0.tar.gz.

File metadata

  • Download URL: ticca-0.1.0.tar.gz
  • Upload date:
  • Size: 309.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for ticca-0.1.0.tar.gz
Algorithm Hash digest
SHA256 716614fa68d316f1d3c9d57c930d696e0051091e080279a46ddbd66473eb48eb
MD5 90e1f2ff668fd3f14d27b36d9674782c
BLAKE2b-256 064e4a700b237dbf4551e4059d6c79ceaf17333fc21ec33b3293eba7e08afce5

See more details on using hashes here.

File details

Details for the file ticca-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ticca-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 401.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for ticca-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 379aed8a48262914ebbe8856977e222b0de676ee2acbd3d1603de42cb97ea6bc
MD5 f8a3013a8597143ab3ed97bd958deefa
BLAKE2b-256 f4e8e384214250a19cd2ffdd90d3b2180408799e7ee2e334c6090a7c777c1629

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