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

Metadata

Release files for astra-code 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astra-code 0.3.2
File Size Uploaded Provenance Actions
astra_code-0.3.2.tar.gz 33.9 kB Without provenance Details for astra_code-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for astra-code 0.3.2
File Interpreter ABI Platform Actions
astra_code-0.3.2-py3-none-any.whl Python 3 none any Details for astra_code-0.3.2-py3-none-any.whl

Total release size: 72.5 kB

Release files / astra_code-0.3.2.tar.gz

Download URL astra_code-0.3.2.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0d50f987d44131c92cc21d4832c3309c78e80b85051be23cc167111ef990eb53
BLAKE2b-256 checksum
How to use checksums
33a8e85076545e7d0c7ad779e44d551d932d0c023ef023a1285cd914a3e133a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / astra_code-0.3.2-py3-none-any.whl

Download URL astra_code-0.3.2-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10689144dcb89da3df2ebd1ebe34311c024eff32a76d44e5967b4a7b4f7b90c1
BLAKE2b-256 checksum
How to use checksums
482546da6e6d8e39767b513ac69984d64c1b2c1095a98fef6aa484e44a94f3f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for astra-code 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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