Quick start

Draft your first Standard in about ninety seconds.

PolicyForge is the open-source tool behind this site. You install it as thepolicyforge command. Six steps, two AI calls, and on a budget model less than a cent (timed on PolicyForge 1.7.0).

  1. 1

    Install

    brew install rdazzleman/tap/policyforge
    
    # or, without Homebrew:
    pipx install git+https://github.com/rdazzleman/policyforge@v1.8.0

    The Homebrew version includes the common AI providers. Amazon Bedrock, Google Vertex, LiteLLM and the MCP connector for AI assistants are optional extras, available through pipx.

  2. 2

    Create a project

    This makes a folder with the included frameworks, a settings file and a topic list. Name your AI provider here, or leave --provider off for a model on your own machine that needs no key.

    policyforge init my-policies --provider anthropic && cd my-policies
  3. 3

    Connect your AI model

    Set your API key. The settings file init wrote stores thename of the variable holding your key, never the key itself.

    export ANTHROPIC_API_KEY=sk-...   # whichever variable your settings name
    policyforge llm-check             # confirms the key and model work

    The topic list is yours to edit. init chooses its topics from a few facts about your organization (whether you build software, handle patient data, follow 800-53, use AI), up to 25, each with an owning team and grouped under a handful of Policies. It is really a statement of how your organization is arranged, so adjust it to match.

  4. 4

    Map the frameworks together

    No AI is used here, so this step is free.

    policyforge map \
      --controls data/frameworks/nist-800-53-r5/controls.json \
      --controls data/frameworks/hipaa-security-rule/controls.json \
      --controls data/frameworks/fedramp/controls.json \
      --controls data/frameworks/arc-ampe/controls.json
  5. 5

    Merge one topic’s requirements

    The first AI call. The topic’s Standard and Procedure are both written from this one list.

    policyforge synthesize \
      --topic-name "Identity Lifecycle & Access Review" \
      --controls data/frameworks/nist-800-53-r5/controls.json \
      --controls data/frameworks/hipaa-security-rule/controls.json
  6. 6

    Write the Standard

    policyforge generate --tier standard \
      --synthesis output/synthesis/identity-lifecycle-access-review.md

What you get

The Standard in docs/standards/, the merged requirements inoutput/synthesis/, saved versions in output/.history/, and a record of every AI call from policyforge model-log.

Expect square brackets

The draft will name things like [Identity Provider] and[organization-defined frequency]. Those are decisions only you can make, left visible on purpose. Fill in tools and teams inconfig/config.yaml and values with policyforge parameters, then generate again.

Where to go next

Write the Procedure with --tier procedure. Once every Standard a Policy covers exists, write the Policy with--tier policy --policy "Access Control". Run policyforge coverage to find controls no topic owns. Then run policyforge zardoz and start asking questions.

Before you rely on it

Every draft needs a qualified person to read, correct and own it. PolicyForge writes documents; it does not make you compliant or produce audit evidence.