Metadata-Version: 2.4
Name: astra-code
Version: 0.2.0
Summary: A Claude Code-style coding agent for your terminal — runs on local LLMs via Ollama or cloud APIs
Author-email: Sheikh Abdul Munim <sheikh00munim@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/sheikhmunim/astra-code
Project-URL: Repository, https://github.com/sheikhmunim/astra-code
Project-URL: Issues, https://github.com/sheikhmunim/astra-code/issues
Keywords: ai,agent,coding,ollama,llm,cli,terminal
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
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
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain>=0.3.0
Requires-Dist: langchain-ollama>=0.2.0
Requires-Dist: langchain-community>=0.3.0
Requires-Dist: langgraph>=0.2.0
Requires-Dist: rich>=13.0.0
Requires-Dist: click>=8.1.0
Provides-Extra: anthropic
Requires-Dist: langchain-anthropic>=0.3.0; extra == "anthropic"
Provides-Extra: openai
Requires-Dist: langchain-openai>=0.3.0; extra == "openai"
Provides-Extra: groq
Requires-Dist: langchain-groq>=0.2.0; extra == "groq"
Provides-Extra: all
Requires-Dist: langchain-anthropic>=0.3.0; extra == "all"
Requires-Dist: langchain-openai>=0.3.0; extra == "all"
Requires-Dist: langchain-groq>=0.2.0; extra == "all"
Dynamic: license-file

# Astra Code

A Claude Code-style coding agent for your terminal — runs on local LLMs via Ollama or cloud APIs (Anthropic, OpenAI, Groq).

## Install

```bash
pip install astra-code
```

Astra will automatically detect if Ollama is installed and guide you through setup on first run.

## Usage

```bash
astra
```

That's it. Astra picks up your current working directory and is ready to help with coding tasks.

## What it can do

- Read, write, and edit files
- Run shell commands
- Search codebases with glob and grep
- Work with any local model via Ollama
- Switch to cloud APIs (Anthropic, OpenAI, Groq) with `/configure`

## Configure

Type `/configure` inside the app to switch providers, set API keys, or change models.

```
┌──────────────────────────────────────────┐
│  1  Ollama (local)    qwen2.5-coder:7b  ✓│
│  2  Anthropic         claude-sonnet-4-6  │
│  3  OpenAI            gpt-4o             │
│  4  Groq              llama-3.3-70b      │
└──────────────────────────────────────────┘
```

## Cloud providers

Install the extras you need:

```bash
pip install "astra-code[anthropic]"
pip install "astra-code[openai]"
pip install "astra-code[groq]"
pip install "astra-code[all]"   # everything
```

## Local models (Ollama)

Install [Ollama](https://ollama.com) then pull a model:

```bash
ollama pull qwen2.5-coder:7b    # recommended — fast, good at code
ollama pull qwen2.5-coder:14b   # slower, more capable
ollama pull deepseek-coder-v2:16b
```

## Requirements

- Python 3.10+
- Ollama (auto-detected on first run) or a cloud API key
