Skip to main content

ASTRA tools - Agentic Schema for Transparent Research Analysis

CI Python 3.11+ License Ruff

Python CLI and SDK for working with ASTRA analysis specifications.

For an overview of ASTRA, the specification, concepts, and design rationale, see the main repository: astra-spec.

This repository provides the tooling layer: validation, CLI, paper management, and evidence verification.

Install

Install the astra CLI globally from PyPI with uv:

uv tool install astra-tools

astra is then available on your PATH. For development (editable install with test/lint deps), clone the repo and run uv sync --extra dev, then invoke commands via uv run (e.g. uv run pytest).

Quick Start

astra init my-analysis
cd my-analysis
astra validate            # validates every spec and universe file in the project

See examples/iris/ for a complete working example.

CLI

Run astra --help for the full command list. Key commands:

  • astra init – scaffold a new analysis project
  • astra validate – validate the whole project, or one spec/universe file (add --verify-evidence to check quotes)
  • astra info / astra viz – inspect the analysis and decision space
  • astra universe generate|check – manage universes
  • astra spec – render the schema as agent-friendly reference text
  • astra guide – print the agent briefing (llms.txt) shipped with astra-spec
  • astra schema export|show – work with JSON schemas
  • astra paper ... – download, cache, and verify quotes against papers

astra validate and astra info accept --json to emit their report as a single JSON-encoded string (exit codes unchanged), convenient for embedding in agent tool output.

  • astra-spec – specification, schemas, and primary documentation

License

BSD 3-Clause

Metadata

Release files for astra-tools 0.2.18

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-tools 0.2.18
File Size Uploaded
astra_tools-0.2.18.tar.gz 61.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astra-tools 0.2.18
File Interpreter ABI Platform
astra_tools-0.2.18-py3-none-any.whl Python 3 none any Details

Total release size: 129.9 kB

Release files / astra_tools-0.2.18.tar.gz

Download URL astra_tools-0.2.18.tar.gz
Size 61.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b37a526fbed309ce1c3370c4f5a88c7f648386a988b5e0f4d72e50b41ce5e19
BLAKE2b-256 checksum
How to use checksums
7ce51935494ec1b94d2eeead12dc9665e0b7b209d6a1ef2375b4091d76aca5cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / astra_tools-0.2.18-py3-none-any.whl

Download URL astra_tools-0.2.18-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59f2dbf2d20b24769eb45be7e9122de5d50ae9509b27c4847b3ddc0e3d46d5ab
BLAKE2b-256 checksum
How to use checksums
0436d06e219336d0bc89abe2ccb2a9fe9b5392d21393adc19298e93c82b0b826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.18 This release

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release 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