Metadata-Version: 2.4
Name: quasar-ai
Version: 1.0.0
Summary: 🚀 QUASAR - AI-powered CLI code editor with agentic capabilities
Author: Sunil Kumawat
License: MIT
Project-URL: Homepage, https://github.com/sunilkumawat/quasar-ai
Project-URL: Documentation, https://github.com/sunilkumawat/quasar-ai#readme
Project-URL: Repository, https://github.com/sunilkumawat/quasar-ai
Keywords: ai,cli,code-editor,llm,agent,langchain
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: fastapi>=0.109.0
Requires-Dist: uvicorn[standard]>=0.27.0
Requires-Dist: python-multipart>=0.0.6
Requires-Dist: pydantic>=2.5.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: langchain>=0.1.0
Requires-Dist: langchain-core>=0.1.0
Requires-Dist: langchain-openai>=0.0.5
Requires-Dist: langchain-groq>=0.0.1
Requires-Dist: langchain-ollama>=0.0.1
Requires-Dist: websockets>=12.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

# 🚀 QUASAR - AI-Powered CLI Code Editor

An intelligent command-line assistant that can understand your codebase, generate code, fix bugs, and execute tasks using AI.

## Installation

```bash
pip install quasar-ai
```

## Setup API Keys

**IMPORTANT**: You must provide your own API keys. QUASAR does not include any API keys.

Set at least ONE of these environment variables:

```bash
# Groq (recommended - fast inference)
export GROQ_API_KEY_1="gsk_your_key_here"

# Cerebras
export CEREBRAS_API_KEY_1="csk_your_key_here"

# OpenAI
export OPENAI_API_KEY="sk-your_key_here"
```

**Get free API keys:**
- Groq: https://console.groq.com
- Cerebras: https://cloud.cerebras.ai
- OpenAI: https://platform.openai.com

### Multiple Keys (Optional)
For higher rate limits, add multiple keys per provider:
```bash
export GROQ_API_KEY_1="gsk_..."
export GROQ_API_KEY_2="gsk_..."
```

## Usage

### Interactive Mode (REPL)
```bash
quasar
# or
quasar --interactive
```

### Single Command
```bash
quasar "create a hello.py file that prints Hello World"
quasar "explain main.py"
quasar "fix the bug in utils.py"
quasar "list files in current directory"
```

### Specify Workspace
```bash
quasar --workspace /path/to/project "add tests for api.py"
```

## Supported Tasks

QUASAR automatically classifies your request and uses the best model:

| Task | Example |
|------|---------|
| Chat | "What is machine learning?" |
| Code Generation | "Create a REST API endpoint" |
| Bug Fixing | "Fix the TypeError in app.py" |
| Code Explanation | "Explain this function" |
| Refactoring | "Improve the structure of utils.py" |
| Documentation | "Add docstrings to main.py" |
| Test Generation | "Write tests for calculator.py" |

## Updating

```bash
pip install --upgrade quasar-ai
```

## License

MIT License
