https://github.com/callowayproject/pytest-agent-digest
A pytest plugin that generates compact Markdown digests designed for consumption by AI agents and LLMs.
https://github.com/callowayproject/pytest-agent-digest
Last synced: 3 months ago
JSON representation
A pytest plugin that generates compact Markdown digests designed for consumption by AI agents and LLMs.
- Host: GitHub
- URL: https://github.com/callowayproject/pytest-agent-digest
- Owner: callowayproject
- License: other
- Created: 2026-03-19T18:06:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-30T19:48:12.000Z (3 months ago)
- Last Synced: 2026-03-30T21:27:03.158Z (3 months ago)
- Language: Python
- Size: 371 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# pytest-agent-digest
A pytest plugin that generates compact Markdown digests designed for consumption by AI agents and LLMs. Instead of the standard terminal output, `pytest-agent-digest` produces structured Markdown that is typically **≥20% smaller in token count** than raw pytest output — keeping your context window budget under control.
[](https://pypi.org/project/pytest-agent-digest/)
[](https://pypi.org/project/pytest-agent-digest/)
## Quick start
```bash
# Install
pip install pytest-agent-digest
# Print Markdown digest to stdout (replaces normal output)
pytest --agent-digest=term
# Write digest to test-results.md (normal output preserved)
pytest --agent-digest=file
# Both at once
pytest --agent-digest=term --agent-digest=file
```
## Documentation
Full documentation is available at ****, including:
- [Quickstart guide](https://callowayproject.github.io/pytest-agent-digest/quickstart/)
- [Options reference](https://callowayproject.github.io/pytest-agent-digest/reference/options/)