GitOps AI Agent — Multi-SCM autonomous git operations powered by LLM
Project description
ManTools — GitOps AI Agent
Autonomous Git operations powered by LLM. Supports GitHub, GitLab, Bitbucket.
Install
pip install mantools
With server support (FastAPI):
pip install mantools[server]
Quick Start
# Set up your .env
cp .env.sample .env
# Edit .env with your SCM + LLM credentials
# Pre-flight check
mantools check
# Clone a repository
mantools my-repo main
# Interactive mode (menu)
mantools
LLM Modes
ManTools supports two modes for connecting to LLMs:
Mode 1: Via LiteLLM Gateway (default)
LITELLM_BASE_URL=http://localhost:4000/v1
LITELLM_MASTER_KEY=sk-master-key
MODEL_NAME=gemini-1.5-pro
Mode 2: Direct to Provider (no gateway needed)
# Gemini
LLM_PROVIDER=gemini
GEMINI_API_KEY=AIza...
MODEL_NAME=gemini-2.5-flash
# OpenAI
LLM_PROVIDER=openai
OPENAI_API_KEY=sk-...
MODEL_NAME=gpt-4o
# Ollama (local)
LLM_PROVIDER=ollama
MODEL_NAME=qwen2.5-coder:14b
Available Actions
| Action | Description |
|---|---|
clone |
Clone & analyze repository |
create-branch |
Create branch via API |
pull-request |
Create PR/MR via API |
update-image |
Update YAML image & push |
quick-pr |
All-in-one: branch → update → PR |
REST API
mantools server
# → http://localhost:8888/docs (Swagger UI)
Development
pip install -e ".[dev,server]"
make check # pre-flight
make build # build dist
make upload # publish to PyPI
License
MIT
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
mantools-0.1.0.tar.gz
(23.9 kB
view details)
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
mantools-0.1.0-py3-none-any.whl
(28.2 kB
view details)
File details
Details for the file mantools-0.1.0.tar.gz.
File metadata
- Download URL: mantools-0.1.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c01f17592eb7902f2638ad9dce16024a2a51571e4e67abdeb3ae7250db47e419
|
|
| MD5 |
dff9ecc4aea85a244ba4d62ed89977e0
|
|
| BLAKE2b-256 |
cbd1d5fd64f8478c470cf6bd81aeb50a43e062766db8f063ff675bde0f7f5a9e
|
File details
Details for the file mantools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mantools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32adeecb5f0a60d56351d3d1926a2cfeef9b6534f3ef7965da412dc6a91ba0c6
|
|
| MD5 |
7c6abcbdb5f87c56365157cd35e743aa
|
|
| BLAKE2b-256 |
10d3a55d2fe38619f37d20acf31baab6372aa390c447e3e2865a3588f9a5ad86
|