Skip to main content

Deterministic, budget-aware AI orchestration kernel for PRD generation

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.4. 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.4.tar.gz (127.3 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.4-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: abi_prd-0.1.4.tar.gz
  • Upload date:
  • Size: 127.3 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.4.tar.gz
Algorithm Hash digest
SHA256 a6a9a84b39bc933e783c94dceae1bf9d86fb0aa21c0b00beca10100513506dee
MD5 07e45858edf2ca4d27e0153afc67a9fd
BLAKE2b-256 ad6585954df0c336d898a22b35ac87cd5b7c3b215a6431c02b51fd8a7a4d3e37

See more details on using hashes here.

Provenance

The following attestation bundles were made for abi_prd-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: abi_prd-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9102a1b3496881aaaeb21ad6164870ff5151295195338ea1b97cb70f827910
MD5 2f80818c88b803e97c284a358571570c
BLAKE2b-256 87018d72e7f598428fdf558a30d0a80caed2ae9af929794e87a9e9594655720b

See more details on using hashes here.

Provenance

The following attestation bundles were made for abi_prd-0.1.4-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