Observed since 20 Oct, 23:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Worktree-based agent workflow management toolkit
Worktree-based agent workflow management toolkit.
agent-tools provides a Python-based CLI for managing isolated Git worktrees for agent workflows. It replaces shell scripts with a maintainable, testable Python package that can be used locally, as a submodule, or in CI/CD pipelines.
ws, cfg, env domains with clear action names# From source
cd agt
uv pip install -e . # or: pip install -e .
# Or as submodule
git submodule add -b main https://github.com/tnedr/agent-ops .tools
cd .tools/agt
uv pip install -e . # or: pip install -e .
Note: This project follows UV Cache Workflow Guidelines. If using uv, ensure UV_CACHE_DIR is set (e.g., E:\uv-cache on Windows).
New domain-based commands (v0.3+):
# Start a new agent worktree
agt ws new
# Run commands in the worktree
agt ws run python my_script.py
# Commit changes
agt ws save "feat: new feature"
# Push to remote (then open PR manually)
agt ws push
# Optional: cleanup after PR is merged
agt ws clean
Legacy aliases (deprecated, will be removed in v0.4):
agt start # → agt ws new
agt commit # → agt ws save
agt run # → agt ws run
agt push # → agt ws push
agt clean # → agt ws clean
See COMMANDS.md for complete command reference.
Generate VS Code Command Runner settings with agt commands:
agt vscode init # Creates/updates .vscode/settings.json
This adds the following commands to VS Code/Cursor:
agt start: Start a new agent worktreeagt run: Run a command in the agent worktree (with input prompt)agt commit: Commit changes (with input prompt for message)agt push: Push branch to remoteagt merge: Merge agent branch back to baseagt clean: Remove agent worktreeUsage in VS Code/Cursor:
F1 → Command Runner: Run...agt * command> run command: agt startNote: The agt vscode init command preserves existing commands in your .vscode/settings.json, so you can combine it with other Command Runner configurations.
See the examples/ directory for:
demo_local.sh: Local workflow exampledemo_action.yml: GitHub Actions workflow examplecd agt
uv pip install -e ".[dev]" # or: pip install -e ".[dev]"
Note: Uses UV Cache Workflow - minimal .venv, global cache.
uv run pytest tests/ -v # or: pytest tests/ -v
uv run ruff check . # or: ruff check .
agt/
├── __init__.py # Package metadata
├── __main__.py # Allows `python -m agt`
├── worktree.py # Low-level Git worktree operations
├── cli.py # CLI entrypoint and command handlers
└── pyproject.toml # Package configuration
bin/
└── agt # Standalone entrypoint script
docs/ # Documentation
tests/ # Test suite
examples/ # Usage examples
.github/ # CI/CD workflows and actions
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.3 | 6 Nov 2025 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:68bf050b60eb3f15d7dc5861540549b75be715d69cc28570ddc0fd99cbe84a2e