CLI tool for managing .agent/ automated documentation folders
Project description
dot-agent
dot-agent is a CLI companion that manages the .agent/ documentation directory in a repository. It ships curated mental-model documentation for tools like Graphite (gt), GitHub CLI (gh), and Workstack, and keeps local copies synchronized with the versions distributed by the package.
Installation
pip install dot-agent
# or
uv add dot-agent
Usage
# Initialize a repository with the default .agent layout
dot-agent init
# Update bundled documentation in the current .agent directory
dot-agent sync
# Preview updates without writing
dot-agent sync --dry-run
# List available documentation files
dot-agent list
# Extract one file explicitly
dot-agent extract tools/gt.md
# Compare local changes to the packaged version
dot-agent diff tools/gt.md
# Review sync status and pending updates
dot-agent check
Configuration
The tool writes .agent/.dot-agent.yml to track which files are managed and the version of dot-agent used the last time the folder was updated. Custom documentation can be added alongside the managed files; dot-agent will leave entries listed under custom_files untouched.
Development
uv run pytest packages/dot-agent/tests
uv run ruff format packages/dot-agent
uv run pyright packages/dot-agent/src
The package targets Python 3.13 and follows the Workstack coding standards (LBYL exception handling, absolute imports, Click for CLI output).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dot_agent_kit-0.1.11.tar.gz.
File metadata
- Download URL: dot_agent_kit-0.1.11.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d1cb2dce275145ab64ef96e38a8a214c8add19b9cffaa4411904679d7e9f639
|
|
| MD5 |
da4eb25bacfa43d8cd3eb706fea924ec
|
|
| BLAKE2b-256 |
000325d8748de123ea43b086a97f5332529e8fdbf988d658a0cfeaf9c25b881b
|
File details
Details for the file dot_agent_kit-0.1.11-py3-none-any.whl.
File metadata
- Download URL: dot_agent_kit-0.1.11-py3-none-any.whl
- Upload date:
- Size: 40.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71e1ac2922551d014f1dfd3c3f12af76b9f76b946eb0f60a5947ded5d88bbfda
|
|
| MD5 |
e675bfb7c4c1f4cd20ac2deef9e84c27
|
|
| BLAKE2b-256 |
06d402ef7db80327bd114f481c81a5c7a2e8b6afe7de9ad3dc0b767588975b41
|