Catalog PyPI
PACKAGE EXPLORERView in registry

abi-prd

PyPI

Deterministic, budget-aware AI orchestration kernel for PRD generation

Versions collected1
Direct dependencies11From release 0.1.4
Last observed20 Oct, 17:26 UTC

README

Version 0.1.4 documentation

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).

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.414 Mar 202611

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
abilitybi/abi-prd

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:af0e8a53dbc4cf0340875994a9a85584ed3adfcf617de0121d6a9fc6fa03f47c