Skip to main content

Deterministic, budget-aware AI orchestration kernel for PRD generation

Reason this release was yanked:

Replaced by 0.1.4; contains packaging defects.

Project description

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.3. See CHANGELOG.md for release notes.

License

MIT License (see LICENSE file).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abi_prd-0.1.3.tar.gz (126.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

abi_prd-0.1.3-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file abi_prd-0.1.3.tar.gz.

File metadata

  • Download URL: abi_prd-0.1.3.tar.gz
  • Upload date:
  • Size: 126.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for abi_prd-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b93824f8cb148c4c0ff455cb4fa4dfab3e80ba22efaec331a32c1f7074e20283
MD5 fe96fe2eb87bd2b98a3b66ea712858ca
BLAKE2b-256 d48c160701460da60062a6b30681f70d7aa9c3b73b2ad641f9daf9fddc161c31

See more details on using hashes here.

Provenance

The following attestation bundles were made for abi_prd-0.1.3.tar.gz:

Publisher: publish.yml on AbilityBI/abi-prd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abi_prd-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: abi_prd-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for abi_prd-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd67a825a5f7b9d341198f46d70aec7dfa7f7b3580839cd93b08a29b11c6456f
MD5 b8d7462b723181de3a5c4cbcc4a05d29
BLAKE2b-256 a238f2527e88b21237f0a6db5e12eec8549618c35e3f80936e244ee54ccda572

See more details on using hashes here.

Provenance

The following attestation bundles were made for abi_prd-0.1.3-py3-none-any.whl:

Publisher: publish.yml on AbilityBI/abi-prd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page