Skip to main content

Metagit-ai multi-repo management tool

Project description

Metagit

Metagit gives you situational awareness across Git repositories. It helps multi-repo projects feel manageable by keeping stack details, generated artifacts, dependencies, and related metadata in one place.

About

This tool works well for scenarios like:

  1. At-a-glance view of a project's technical stacks, languages, external dependencies, and generated artifacts.
  2. Switching between many Git projects during the day without losing context.
  3. Isolating outside dependencies that weaken the security and dependability of your software delivery pipelines.
  4. Automated documentation of a code's provenance.
  5. Helping new contributors get from onboarding to first commit faster.

Metagit is designed for developers, SREs, and AI agents who work across connected repositories. It tracks the dependencies and project relationships that are easy to miss when you only look at one repo at a time.

Audience

This tool targets:

  • DevOps Engineers
  • Polyglot developers
  • New team members
  • Project Managers
  • SREs
  • Solution Engineers
  • AI Agents (more to come!)

Metagit is NOT...

...an SBOM tool

SBOM output is often thousands of lines and includes full transitive dependency trees. That level of detail is usually too heavy for day-to-day situational awareness and agent context. Metagit may read SBOM manifests as an input in the future, but it is not trying to replace SBOM tooling.

Metagit uses common project files (for example go.mod, package.json, and requirements.txt) for detection and validation boundaries. These are used to identify stack composition, not to provide exhaustive version intelligence.

...a Git client

Despite the name, this still relies on Git and your existing hosting platform.

...a full project packer

Metagit intentionally focuses on the highest-value project signals. It does not package full repositories. If you need full-project packing, use repomix.

Why brevity?

One of the core goals is reducing cognitive load when understanding project relationships. A practical side effect is lower token usage for automated AI workflows.

How It Works

Metagit stores project configuration metadata in .metagit.yml inside the repository. That file follows a schema that the CLI can validate and read.

If you use Metagit for dozens of repositories (an umbrella workspace), you can edit the config manually or refresh it with heuristics and AI-assisted workflows.

Modes

Metagit supports several operating modes:

Workspace Mode

This is the first planned open-source CLI mode.

In this mode, you group related repositories into one workspace that you can open in VS Code or access individually from the terminal.

AKA Multi-repo as Monorepo

You use one top-level umbrella project with a single metagit definition file that tracks related repositories and local target folders. You can then sync that workspace locally.

The metagit configuration file is committed to version control as its own project artifact.

This mode is useful for:

  • Creating umbrella projects for new team members of a multi-repo project
  • Individual power users that need to quickly pivot between several project repositories that comprise a larger team effort
  • Keeping loosely coupled Git projects grouped without relying on submodules

Metadata Mode

This mode uses the same config file as workspace mode, with additional metadata such as primary language, frameworks, and other context you want available when entering a repo.

Configuring this by hand for one project is simple. Doing it across dozens or thousands of repos is not. Metagit uses detection heuristics to automate as much as possible and can use AI workflows where deterministic code is not enough.

Note: AI-assisted detection should be monitored and converted into deterministic logic over time.

In this mode, Metagit helps answer questions like:

  • What other projects are related to this project?
  • What application and development stacks does this project use?
  • What external dependencies exist for this project?
  • What artifacts does this project create?
  • What branch strategy is employed?
  • What version strategy is employed?

External dependencies are a common source of pipeline instability.

Install

Global CLI install (recommended)

Use uv tool to install Metagit globally:

uv tool install metagit-cli

WARNING Use metagit-cli as the package name on PyPI. The metagit package name belongs to a different project!

Upgrade later with:

uv tool install -U metagit-cli

Local first-run

Inside any Git repository:

metagit init

That creates .metagit.yml and updates .gitignore.

Skills

Metagit includes local skills under skills/ you can clone into your skills folders for various agents.

Documentation

For installation guidance, detailed usage, including full CLI command surface, local MCP runtime setup, API-oriented flows, and advanced examples, use the documentation site:

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

metagit_cli-0.2.4.tar.gz (396.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metagit_cli-0.2.4-py3-none-any.whl (158.2 kB view details)

Uploaded Python 3

File details

Details for the file metagit_cli-0.2.4.tar.gz.

File metadata

  • Download URL: metagit_cli-0.2.4.tar.gz
  • Upload date:
  • Size: 396.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for metagit_cli-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1591f88cc96a50034e067b1fd675b3b1e2a3c126d2855c0ed842eb6385829de8
MD5 f2d3a2b285278d977487c17c6a1538e5
BLAKE2b-256 1fdc4cfef161ca0e1cfc6b8de0b3c1aead69649264cc743272027d7258528dd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for metagit_cli-0.2.4.tar.gz:

Publisher: release.yaml on metagit-ai/metagit-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metagit_cli-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: metagit_cli-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 158.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for metagit_cli-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 56da5d0642709042b6e96e2694dc11711f05c5901331fb77863014a5fd18f1ce
MD5 cc1f22d525a5f3d8a0f6b6449e3c1c7b
BLAKE2b-256 5e037782166346efac620d3bee24ca4e9efcf69c72a3458611bbcafd9b61a345

See more details on using hashes here.

Provenance

The following attestation bundles were made for metagit_cli-0.2.4-py3-none-any.whl:

Publisher: release.yaml on metagit-ai/metagit-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page