Skip to main content

A Claude Code-style coding agent for your terminal — runs on local LLMs via Ollama or cloud APIs

Project description

Astra Code

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

Install

pip install astra-code

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

Usage

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:

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 then pull a model:

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

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

astra_code-0.3.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

astra_code-0.3.0-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file astra_code-0.3.0.tar.gz.

File metadata

  • Download URL: astra_code-0.3.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for astra_code-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a1bab816d25d4aff5af41df2d4f44593b167a4b1de592b67e50145e219b2a54e
MD5 1e8b17596324a98776b9f762c3796ef6
BLAKE2b-256 819b1c8f16f910f1862bd9ff54c2158c3fdbbefe13a1b69b8c23edce92f02b32

See more details on using hashes here.

File details

Details for the file astra_code-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: astra_code-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for astra_code-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2337919ed8d15edec9c1a2b6d0349cdcbccaf4d7c6875cda73b5c9d4bd689fa9
MD5 a83d4c5b91c9d892730231492463cf3a
BLAKE2b-256 dcc66c64944fab2c357dd63a432153eebbb20dbad97c8eb07053b56da33c5ac6

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