Skip to main content

abi-prd

Deterministic, budget-aware PRD generation engine. Runs a dialectical workflow (thesis → antithesis → synthesis) to produce structured, schema-validated Product Requirements Documents. Part of the Planning Pack (Layer 2).

Depends on abi-control-core for schema validation and audit trail artifacts.

Install

pip install abi-prd

Quick start (CLI)

# Generate a PRD from an idea (simulation mode — no real LLM calls)
dialectic run --idea "Add OAuth2 authentication to the API" --simulation

# Full run with a config file
dialectic run --idea "User dashboard" --config config.json --output-dir runs/

# Deterministic smoke test
dialectic run --idea "Test feature" --smoke

Quick start (Python)

from dpe.engine.orchestrator import Orchestrator
from dpe.engine.config_loader import load_config

# Load configuration (supports simulation mode)
config = load_config(None, simulation_mode=True, output_dir="runs/")

# Run the dialectical PRD generation workflow
orchestrator = Orchestrator(config)
result = orchestrator.run(idea="Add user authentication")

What's included

  • Dialectical workflow -- thesis/antithesis/synthesis cycle for structured PRD generation
  • Budget enforcement -- token, time, and cost budgets with deterministic tracking
  • Multi-provider adapters -- Anthropic, OpenAI, Claude Code CLI, Codex CLI, local, and simulation
  • Schema validation -- generated PRDs are validated against abi-control-core contracts
  • Audit trail artifacts -- each generation run produces sealed audit trail artifacts
  • CLI -- dialectic command for quick PRD generation

ABI ecosystem

abi-prd is part of the Planning Pack (Layer 2), built on top of abi-control-core (Layer 1). It pairs with abi-spec to form the full planning pipeline: PRD generation followed by specification compilation.

Related packages:

  • abi-control-core -- contracts and audit trail SDK (Layer 1, required)
  • abi-spec -- specification compiler (Layer 2)
  • abi-evals -- eval runner for validating PRD quality

Versioning

Follows Semantic Versioning. Current version: 0.1.4. See CHANGELOG.md for release notes.

License

MIT License (see LICENSE file).

Metadata

Release files for abi-prd 0.1.4

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

Source distribution (sdist)

Source distribution for abi-prd 0.1.4
File Size Uploaded Provenance
abi_prd-0.1.4.tar.gz 127.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for abi-prd 0.1.4
File Interpreter ABI Platform
abi_prd-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 170.6 kB

Release files / abi_prd-0.1.4.tar.gz

Download URL abi_prd-0.1.4.tar.gz
Size 127.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a6a9a84b39bc933e783c94dceae1bf9d86fb0aa21c0b00beca10100513506dee
BLAKE2b-256 checksum
How to use checksums
ad6585954df0c336d898a22b35ac87cd5b7c3b215a6431c02b51fd8a7a4d3e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 14, 2026.

Transparency log

Release files / abi_prd-0.1.4-py3-none-any.whl

Download URL abi_prd-0.1.4-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb9102a1b3496881aaaeb21ad6164870ff5151295195338ea1b97cb70f827910
BLAKE2b-256 checksum
How to use checksums
87018d72e7f598428fdf558a30d0a80caed2ae9af929794e87a9e9594655720b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 14, 2026.

Transparency log

Security for abi-prd 0.1.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abi_prd-0.1.4.tar.gz

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 Mar 14, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

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