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-corecontracts - Audit trail artifacts -- each generation run produces sealed audit trail artifacts
- CLI --
dialecticcommand 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a9a84b39bc933e783c94dceae1bf9d86fb0aa21c0b00beca10100513506dee
|
|
| MD5 |
07e45858edf2ca4d27e0153afc67a9fd
|
|
| BLAKE2b-256 |
ad6585954df0c336d898a22b35ac87cd5b7c3b215a6431c02b51fd8a7a4d3e37
|
Provenance
The following attestation bundles were made for abi_prd-0.1.4.tar.gz:
Publisher:
publish.yml on AbilityBI/abi-prd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abi_prd-0.1.4.tar.gz -
Subject digest:
a6a9a84b39bc933e783c94dceae1bf9d86fb0aa21c0b00beca10100513506dee - Sigstore transparency entry: 1102598261
- Sigstore integration time:
-
Permalink:
AbilityBI/abi-prd@836ca1e861d6cb78136dfecc5f6feacc3e4dee7a -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/AbilityBI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@836ca1e861d6cb78136dfecc5f6feacc3e4dee7a -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb9102a1b3496881aaaeb21ad6164870ff5151295195338ea1b97cb70f827910
|
|
| MD5 |
2f80818c88b803e97c284a358571570c
|
|
| BLAKE2b-256 |
87018d72e7f598428fdf558a30d0a80caed2ae9af929794e87a9e9594655720b
|
Provenance
The following attestation bundles were made for abi_prd-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on AbilityBI/abi-prd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abi_prd-0.1.4-py3-none-any.whl -
Subject digest:
bb9102a1b3496881aaaeb21ad6164870ff5151295195338ea1b97cb70f827910 - Sigstore transparency entry: 1102598280
- Sigstore integration time:
-
Permalink:
AbilityBI/abi-prd@836ca1e861d6cb78136dfecc5f6feacc3e4dee7a -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/AbilityBI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@836ca1e861d6cb78136dfecc5f6feacc3e4dee7a -
Trigger Event:
push
-
Statement type: