facts icon

facts

Facts is an open-source developer tool for fact-driven development with AI agents. It turns project intent into atomic, checkable facts so humans and coding agents can keep specs aligned with code.

facts

Fact-driven specs for AI-assisted development

Facts is a developer tool for fact-driven development with AI agents. It replaces long, ambiguous specs with a compact `.facts` file made of atomic claims that describe what should be true in a project. Each fact can be tagged by stage and, when possible, backed by a command that proves it.

The tool is built to keep project intent readable and testable. The CLI can initialize a facts sheet, check command-backed claims, and help agents move work from draft ideas to precise specs and then into implemented, verified facts. The repository describes the workflow as useful for projects that need a clear source of truth for both humans and coding agents.

Core capabilities

Atomic fact sheets

Write one claim per line and organize facts with Markdown headings so the spec stays short, readable, and easy for agents to scan.

Verifiable claims

Attach a shell command to facts that can be checked automatically, or leave facts for manual review when a machine check is not practical.

Lifecycle tags

Track each fact through `@draft`, `@spec`, and `@implemented` states so teams can see whether an item is still rough, ready to build, or already backed by code.

CLI-based workflow

Use the CLI to scaffold new sheets, inspect them with list and search commands, and update facts as the project changes.

Agent companion skills

Install companion skills that help agents discover facts in a codebase, refine rough items into specs, and implement verified work.

Targeted inspection

Filter facts by tags, sections, file, or text search, which makes it easier to focus on one area of a project at a time.

Common workflows

  • Bootstrap a project spec

    Create a new `.facts` sheet in an existing repository, detect the stack, and start turning project truths into trackable claims with `facts init`.

  • Replace a long spec with checkable facts

    Capture requirements as short, atomic statements and add commands where the machine can verify the behavior automatically.

  • Guide agent implementation

    Have an AI coding agent read the fact sheet, work through `@spec` items, and run `facts check` to confirm the changes before marking them implemented.

  • Review a focused area

    Use tags, sections, and search filters to inspect one part of a project, such as auth, API behavior, or data handling, without reading the entire sheet at once.

  • Continuously verify project truth

    Run `facts check` in CI or after local changes so command-backed facts stay aligned with the codebase over time.

Pros and Cons

Pros

  • Turns project intent into short, atomic claims that are easier for agents to read than long spec documents.
  • Supports executable verification through command-backed facts and `facts check`.
  • Provides a clear lifecycle from rough idea to implemented fact.
  • Includes CLI commands and companion skills for maintaining the spec as the codebase changes.
  • Works across Linux, macOS, and Windows according to the repository README.

Cons

  • The strongest workflow details come from the README and wiki; broader integration and team-usage guidance is limited in the provided sources.
  • Pricing for the Facts project itself is not clearly separated from GitHub’s general pricing page in the available evidence.

FAQ

How do you start using Facts in a project?

Yes. The README describes `facts init` for scaffolding a `.facts` file and installing the companion skills, and the wiki documents `facts` commands for checking, listing, adding, editing, and removing facts.

What does a Facts file contain?

Facts is designed around a `.facts` file made of atomic claims, each tagged by lifecycle stage such as `@draft`, `@spec`, or `@implemented`. The CLI can verify command-backed facts with `facts check` and leave manual facts for review.

How does Facts fit into an AI-agent workflow?

The source describes companion skills for `facts-discover`, `facts-refine`, and `facts-implement`, which support an agent workflow from rough ideas to implemented and verified facts. The wiki also notes support for AI coding agents such as Claude Code, Cursor, Windsurf, and Aider.

What platforms does Facts support?

The repository describes the CLI as a single Rust binary with dependencies, and the README states it runs on Linux, macOS, and Windows.

How is Facts priced?

The public repository does not describe separate product tiers for Facts itself. The linked pricing page is GitHub’s platform pricing, while Facts appears to be an open-source repository distributed through code and CLI install commands.

Quick Facts

Category
Developer Tool
Primary use
Fact-driven development with AI agents
Format
.facts Markdown/YAML-style fact sheets
Platform
Linux, macOS, Windows
Source domain
github.com
Project status
Open-source GitHub repository