Skip to main content

AI-oriented documentation toolkit.

Project description

AI Docs Toolkit

AI Docs Toolkit is a documentation toolkit for AI-assisted software development.

It treats documentation as an engineering interface between humans, AI agents, code, tests and change management. The project is post-MVP and is hardening planning, validation, distribution and integration workflows.

Purpose

The toolkit is intended for projects where:

  • AI agents participate in implementation;
  • system knowledge must stay readable for humans and usable by automation;
  • documentation should define constraints, expected behavior and validation rules;
  • changes should be traceable across business rules, architecture, contracts, modules, acceptance criteria and code.

The core idea is that documentation should not be a secondary artifact created after implementation. It should guide implementation, validation and review.

Current Status

The published beta package includes:

  • schema and structure validation for Markdown documents with YAML front matter;
  • document graph output;
  • impact analysis;
  • context bundle output;
  • an executable ai-docs CLI;
  • optional local MCP runtime entrypoint.

Installation

Install the published beta package:

python -m pip install ai-docs-toolkit==0.1.0b3
ai-docs --version

For ephemeral execution with uvx:

uvx --from ai-docs-toolkit==0.1.0b3 ai-docs --version

For the optional local MCP runtime:

python -m pip install "ai-docs-toolkit[mcp]==0.1.0b3"
ai-docs-mcp --project-root .

After a stable release exists, package install commands can omit the beta version pin.

Quick Start

Bootstrap a repository for AI Docs Toolkit:

ai-docs init
ai-docs validate

For a documentation-only bootstrap without AGENTS.md:

ai-docs init --profile minimal

The command creates missing toolkit files and skips existing files by default. Use --force only when you explicitly want to overwrite toolkit-owned target files.

Validate a configured project:

ai-docs validate

Generate machine-readable validation output:

ai-docs validate --json

Build a document graph:

ai-docs graph --format json

Analyze impact for changed files:

ai-docs impact --changed

Prepare an agent context bundle for changed files:

ai-docs context --changed

Repository Bootstrap

Repository bootstrap is an explicit command. Package installation does not modify project files.

Default agent-oriented bootstrap:

ai-docs init

Minimal bootstrap:

ai-docs init --profile minimal

The source repository may be private or unavailable to agents in consuming projects. Package usage does not require access to repository-local documentation files.

AI Agent Instructions

The package includes an agent-readable instruction document for install, update, bootstrap, validation and context commands.

After installation, an agent can locate it with:

python -c "from importlib import resources; print(resources.files('ai_docs_toolkit').joinpath('docs/agent-installation.md'))"

Operators can give the prompt from that document to an AI agent when asking it to install or update the toolkit in a consuming repository.

Development

Source checkout development install:

python -m pip install -e ".[dev]"
ai-docs --version
ai-docs validate

Current CI/source checkout install contract:

python -m pip install -e .
ai-docs validate --json

License

License is not selected yet.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_docs_toolkit-0.1.0b3.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_docs_toolkit-0.1.0b3-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file ai_docs_toolkit-0.1.0b3.tar.gz.

File metadata

  • Download URL: ai_docs_toolkit-0.1.0b3.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for ai_docs_toolkit-0.1.0b3.tar.gz
Algorithm Hash digest
SHA256 0ceaa86f87b0a08f3b2982b191ba40cb20a81c355a4257f246a13a993d0ff153
MD5 0d5ac5537047959b29d96072d6820e2c
BLAKE2b-256 0f96faac76e18716a6416bc844141ac17660f75591a9ac82e7df3343de428903

See more details on using hashes here.

File details

Details for the file ai_docs_toolkit-0.1.0b3-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_docs_toolkit-0.1.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b46dd489eab814b9b1749550e725aba65cea434925592026f73350c1e1d467
MD5 dc9ac0e7e0c95bc20f1bbdd3f29ba56e
BLAKE2b-256 e9dad1e4f610ae0ce30b926afa73a809b75bbf6df046b4efcb0f9924486ad5a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page