Libra

Open-source, AI-agent-native version control system that versions code plus AI reasoning.

Open Source Coding & Development

What is Libra?

Libra is an open-source, MIT-licensed version control system written in Rust, designed for AI agents rather than only humans. It keeps Git's wire protocol and a Git-compatible surface while storing repository metadata in SQLite, and it versions not just code but AI reasoning, decisions, validation reports, and agent session transcripts. It ships AI-native subcommands such as libra code for interactive agent coding sessions and libra automation for cron-driven agent rules, with switching across eight LLM provider backends.

Key features

  • Git-compatible version control system written in Rust
  • SQLite-backed repository metadata, queryable by agents
  • Versions AI reasoning, decisions, and session transcripts
  • libra code: interactive agent coding sessions
  • libra automation: cron-driven agent rules
  • Eight LLM provider backends with free switching
  • Built-in secrets vault with per-repo isolation

Pros

  • Purpose-built for agent workflows, not a retrofitted Git client
  • Fully open source under the MIT license
  • Git protocol compatibility eases adoption
  • Stores the reasoning behind code, not just diffs

Cons

  • Young project; breaking changes still landing
  • CLI-first workflow has a learning curve
  • AI sessions require paid provider API keys

Libra at a glance

PricingOpen Source
CategoryCoding & Development
Platformswindows, macos, linux
Official websitelibra.tools
version controlgitai agentsopen sourcerustmonorepodeveloper toolscli

How to choose the right Coding & Development tool

The right coding tool depends on where you write code and how much of your codebase it can understand. IDE integration is the first filter — a tool that lives in your editor, sees your project files and respects your stack will help far more than a general chatbot you paste snippets into. Look for accurate completions, clear explanations of suggested changes, and strong refactoring and debugging support for your main languages. Privacy deserves real attention: check whether your code is used for training, and whether a self-hosted or enterprise option exists for sensitive projects. Price against the hours it actually saves — most developers feel the difference within the first week of real use.

Compare all Coding & Development tools →

Libra FAQs

What is Libra?

Libra is an open-source, MIT-licensed version control system written in Rust, designed for AI agents rather than only humans. It keeps Git's wire protocol and a Git-compatible surface while storing repository metadata in SQLite, and it versions not just code but AI reasoning, decisions, validation reports, and agent session transcripts. It ships AI-native subcommands such as libra code for interactive agent coding sessions and libra automation for cron-driven agent rules, with switching across eight LLM provider backends.

What are the main features of Libra?

Libra offers Git-compatible version control system written in Rust, SQLite-backed repository metadata, queryable by agents, Versions AI reasoning, decisions, and session transcripts, libra code: interactive agent coding sessions, libra automation: cron-driven agent rules, Eight LLM provider backends with free switching and Built-in secrets vault with per-repo isolation.

How much does Libra cost?

Libra is open source, so the software itself is free to download, use and self-host. Your only costs are the infrastructure you run it on and any paid services you connect to it.

What are the pros and cons of Libra?

Strengths of Libra include Purpose-built for agent workflows, not a retrofitted Git client; Fully open source under the MIT license; Git protocol compatibility eases adoption. On the downside, Young project; breaking changes still landing; CLI-first workflow has a learning curve; AI sessions require paid provider API keys.