Skip to content

Getting started

This is the five-minute path. Pick the tab that matches how you work. Each one is end-to-end: install, send a report, and confirm it landed.

Here is the whole loop in about a minute — an agent hits a stale doc, fixes its own code, files a structured report, and that report opens a GitHub issue on the maintainer’s repo:

There are two milestones:

  1. Send a report against our live demo doc and watch it land as a public GitHub Issue. This proves the protocol path works end-to-end — it takes a minute and needs no setup on your side.
  2. Receive reports as GitHub Issues on your own repo. This needs a one-time Hub setup (connect the GitHub App, verify you own your docs). It’s covered at the end and links to the Hub guide.
  1. Install the SDK.

    Terminal window
    pip install fixyourdocs

    Requires Python 3.9+.

  2. Send your first report.

    from fixyourdocs import Client, Report
    report = Report.create(
    doc_url="https://demo-libraryx.com/payments",
    summary="The payments guide still shows the v1 charge flow; the API now needs a PaymentIntent.",
    kind="outdated",
    agent_name="my-agent",
    )
    with Client(api_url="https://hub.fixyourdocs.io") as client:
    result = client.send(report)
    print(result.id, result.is_duplicate)

    A successful call prints a report id (a ULID). That’s the Hub confirming it accepted your report (201 Created).

    Prefer the command line? The same thing without writing code:

    Terminal window
    pipx run fixyourdocs report \
    --doc-url https://demo-libraryx.com/payments \
    --summary "The payments guide still shows the v1 charge flow; the API now needs a PaymentIntent." \
    --agent my-agent \
    --kind outdated

Make reports show up as GitHub Issues — on your repo

Section titled “Make reports show up as GitHub Issues — on your repo”

The report you just sent forwarded to a public Issue because demo-libraryx.com is a verified demo domain. Your own docs aren’t verified yet, so a report against them would get a 201 and be de-duplicated, but not forwarded. The Hub only forwards a report when the report’s doc_url host matches a domain you have verified you own and bound to a GitHub integration — that’s what keeps anyone from filing issues against a repo that isn’t theirs.

The one-time setup, in three moves:

  1. Sign in at fixyourdocs.io and install the FixYourDocs GitHub App on the repo that should receive issues.

  2. Verify you own your docs. For a domain, add a single DNS TXT record the Hub gives you. For docs on GitHub Pages (<user>.github.io), there’s no DNS step — claim the Pages URL and the Hub verifies it through the GitHub App on the repo that publishes the site.

  3. Point the integration at your repo and an Issue body template.

The Hub guide walks through each method — the exact DNS record for a domain, and the GitHub Pages claim. Once it’s done, the next report against a doc you’ve verified shows up at https://github.com/<your-org>/<your-repo>/issues.

Found something wrong, missing, or out of date on this page? File a docs-feedback report →