ASTRA tools - Agentic Schema for Transparent Research Analysis
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 projectastra validate– validate the whole project, or one spec/universe file (add--verify-evidenceto check quotes)astra info/astra viz– inspect the analysis and decision spaceastra universe generate|check– manage universesastra spec– render the schema as agent-friendly reference textastra guide– print the agent briefing (llms.txt) shipped with astra-specastra schema export|show– work with JSON schemasastra 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.
Links
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| astra_tools-0.2.18.tar.gz | 61.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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