CLI tool that automates weekly work reporting by scanning git history across multiple repositories
Project description
Work Intelligence Agent
Automated weekly work reporting from git history across multiple repositories.
What It Does
Point the agent at a directory (or list of repos) and an author name, and it produces a clean markdown report of the week's work — grouped by day, organized by repository, with similar commits summarized together.
Installation
Requires Python 3.11+ and git on your PATH.
pip install work-intelligence-agent
Or run directly with uvx:
uvx work-intelligence-agent --author "Your Name" --parent-directory ~/projects
CLI Usage
# Scan a parent directory for repos and generate a report
work-intelligence --author "Jane Doe" --parent-directory ~/projects
# Specify repos explicitly
work-intelligence --author "Jane Doe" --repositories ~/projects/repo-a ~/projects/repo-b
# Custom date range
work-intelligence --author "Jane Doe" --parent-directory ~/projects \
--start-date 2025-01-06 --end-date 2025-01-12
# Write output to a file
work-intelligence --author "Jane Doe" --parent-directory ~/projects --output report.md
CLI Options
| Option | Description |
|---|---|
--author |
Author name for filtering commits (required) |
--parent-directory |
Directory to scan recursively for git repos |
--repositories |
Explicit list of repo paths |
--start-date |
Start date, YYYY-MM-DD (default: 7 days ago) |
--end-date |
End date, YYYY-MM-DD (default: today) |
--output |
Output file path (default: stdout) |
--config |
Config file path (default: .kiro/work-intelligence.json) |
Configuration File
Place a JSON config at .kiro/work-intelligence.json to set defaults:
{
"author": "Jane Doe",
"parent_directory": "~/projects",
"date_range": {
"start": "2025-01-06",
"end": "2025-01-12"
}
}
CLI arguments override config file values.
MCP Server
The agent also runs as an MCP server for integration with AI tools like Kiro.
{
"mcpServers": {
"work-intelligence-agent": {
"command": "uvx",
"args": ["--from", "work-intelligence-agent", "work-intelligence-mcp"]
}
}
}
The server exposes three tools:
generate_report— Full weekly report generationscan_repos— Discover git repos under a directoryextract_history— Extract raw commit history
Development
# Install with test dependencies
pip install -e ".[test]"
# Run tests
pytest
# Run the MCP server locally
work-intelligence-mcp
License
MIT
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
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 work_intelligence_agent-0.1.0.tar.gz.
File metadata
- Download URL: work_intelligence_agent-0.1.0.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27dde24401ca0ed47e1d7a1a89c91395780e6c1bf4448607c441988c48f440c8
|
|
| MD5 |
f8984c76bfefd9bdc5f904c4a1c67a9b
|
|
| BLAKE2b-256 |
73bd279b355b834461371116fe0f18479ba105ad9ce138ee7d917b42ceb380c7
|
File details
Details for the file work_intelligence_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: work_intelligence_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e3fd802f9ebefcd4c50feb49fd54d67404e94872a86751b890e1ed5407de30e
|
|
| MD5 |
5865dd76bfacdcca9678992c3b15ae86
|
|
| BLAKE2b-256 |
395a5c828550a8c882bd6def86ef2aea53353173797f30e39e543d9c3f785a78
|