Skip to main content

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

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.1.tar.gz (33.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.1-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astra_code-0.3.1.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for astra_code-0.3.1.tar.gz
Algorithm Hash digest
SHA256 97c2ba8a1cc0d7adc6ccef09b7ed8a55403ce0664704d509aa0ac6da648c84e3
MD5 e32993adcb3af3be2210766591b87e05
BLAKE2b-256 9fa2561a76eee1902a741e633871371d0d013e70055f37b8de88667091469ba6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astra_code-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for astra_code-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8646a1233efb1dad077dc8f0ad92183b1d0024b4e29e11458acb275f1feb3ff5
MD5 b4ddad04ee5f24fd5afe60055c6b3e88
BLAKE2b-256 1fc27f59d54f41a046f431a4b9debbdc4b1397d13ca283e2beb0971902ebaaed

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.2

2 files

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page