LibreAI / Agentes de IA / invariant
// agents · invariantlabs-ai/invariant

invariant

invariant é um projeto de agentes de IA de código aberto de invariantlabs-ai (invariantlabs-ai/invariant no GitHub). Tem 467 estrelas no GitHub e 50 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 12 de janeiro de 2026.

Guardrails for building secure, robust agents.

★ 467 estrelas⑂ 50 forksApache-2.0atualizado jan 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
467
Forks
50
Licença
Apache-2.0
Última atualização no GitHub
12 de janeiro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Know your goal

    Be clear about the problem you are solving before installing.

  2. Get the code

    Clone the repository and skim the docs for hardware or key requirements.

  3. Configure it

    Install dependencies, then add API keys, endpoints, or local-model settings.

  4. Take it for a spin

    Launch the example flow and verify the output matches expectations.

// recursos

Por que as pessoas gostam tanto

Agent guardrails

Constrain agent actions and tool calls.

Security-first

Built to prevent unsafe behavior.

Developer-friendly

Integrates into the dev workflow.

Invariant Labs

From a dedicated agent-security team.

Python-native

Works with Python agent stacks.

Apache-2.0

Permissive licensing.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/invariantlabs-ai/invariant.git
    cd invariant
  2. Step 2 — Install

    Set up a virtual environment and install the package.

    python -m venv .venv && source .venv/bin/activate
    pip install -e .
  3. Step 3 — Add guardrails

    Follow the README to guard your first agent.

    # see README for the quickstart
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains Invariant?

It is maintained by Invariant Labs at invariantlabs-ai/invariant, with 50 forks.

Is Invariant free to use?

Yes. It is released under the Apache-2.0 license, which permits commercial use, modification, and redistribution. Read the LICENSE file for the exact terms.

Do I need a paid API to use it?

The library is free; you supply the models and infrastructure.

How does it compare to other guardrail frameworks?

Compare with Microsoft's governance toolkit on guardrail style and policy language.

How do I get started?

Follow the README quickstart to add guardrails to a sample agent.

// continue explorando

Ferramentas semelhantes

Agentes de IA

agenta

A team workspace for building AI agents together.

★ 4,8 mil estrelasNOASSERTION
Ver o guia →
Agentes de IA

AutoGPT

The open-source platform for building and running autonomous AI agents, hosted or self-hosted

★ 187,5 mil estrelasNOASSERTION
Ver o guia →
Agentes de IA

botpress

Open-source hub of integrations, SDK and CLI for building and deploying GPT/LLM chatbots and agents.

★ 14,9 mil estrelasMIT
Ver o guia →
Agentes de IA

mcp-agent

Simple workflow patterns for building effective agents on MCP.

★ 8,6 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

agent-governance-toolkit

Policy, identity, and sandboxing guardrails for AI agents.

★ 6,4 mil estrelasMIT
Ver o guia →
Agentes de IA

eve

Vercel's open framework for building agents that run anywhere.

★ 5,5 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se invariant não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de invariant: continue explorando dos dois lados dele.

Baixe o invariant

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.