Skip to main content

Current Quotient AI - Terminal-native AI coding agent, developed by CQ Team

Project description

CQ-AI

Terminal-native AI coding agent, developed by the CQ Team.

CQ-AI (formerly ai-coder) is a powerful command-line tool that acts as your intelligent software engineering assistant. It integrates directly into your terminal, understands your codebase, and can plan, build, debug, and refactor code autonomously.

Features

  • 🖥️ Interactive REPL - Persistent cq> shell with slash commands
  • 🤖 Agentic Workflow - Plan → Confirm → Execute → Verify
  • 📁 Repository Awareness - Understands project structure and context
  • ✏️ Multi-File Editing - Creates and modifies files with diff previews
  • 🔧 Tool Execution - Runs builds, tests, and linters automatically
  • 🛡️ Safety Guards - Prevents destructive actions without approval

Installation

Prerequisites

  • Python 3.10+
  • pip or pipx

Install from source

git clone https://github.com/yourusername/cq-ai.git
cd cq-ai
pip install -e .

Set up API key

Create a .env file in your project or set environment variables:

# For OpenAI (default)
export OPENAI_API_KEY=sk-your-key-here

# For Anthropic
export ANTHROPIC_API_KEY=sk-ant-your-key-here

Usage

Interactive Mode (Recommended)

Just type cq to enter the interactive REPL:

cq

You'll see the cq-ai> prompt. You can type natural language requests or use slash commands.

cq-ai (my-project)> build a React login form
[Agent plans, creates files, and asks for confirmation]

cq-ai (my-project)> /debug the auth middleware
[Debugger agent analyzes and fixes issues]

cq-ai (my-project)> /help

Slash Commands

Command Description
/build Interactive project builder
/debug Find and fix bugs
/review Code review and quality check
/refactor Refactor code without changing behavior
/plan Create implementation plan only
/security Run security audit
/test Test-driven development guide
/fix Fix build/compile errors
/config Run setup wizard
/exit Exit the REPL

Single Command Mode

You can also run tasks directly from the shell without entering the REPL:

# Quick task
cq run "Add a dark mode toggle"

# Fix build errors
cq build-fix "npm run build"

# Security audit
cq security src/api/

Configuration

Initialize configuration in your project:

cq init

Edit .ai-coder/config.yaml:

llm:
  provider: "openai"  # openai, anthropic, huggingface, ollama, etc.
  model: "gpt-4o"
  temperature: 0.0

agent:
  max_iterations: 30
  auto_confirm: false

License

MIT License

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

cq_ai-0.1.0.tar.gz (90.8 kB view details)

Uploaded Source

Built Distribution

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

cq_ai-0.1.0-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cq_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 90.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for cq_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6834b2329c62a0d741e541f11fc9b8e39be94f5a0c00ad97b4e6febd32aaf783
MD5 1cbcbe53165bac39fd97ab8d3947a7e4
BLAKE2b-256 89b122fda0390ecd58d6c818e501e13a38d8cd1ac89f9984db9541a259842d17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cq_ai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for cq_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6eff510a6c8b95e4adee8319e8f7d46395d4a8ba4c85e6f563e1f39cb8b97b
MD5 d354cda961b0b809bec40fd4c4d55c05
BLAKE2b-256 20c35f9674d8c8bdcd9f02ee48d2abe5d7257b79da7adb3415f3119c32127e38

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