LibreAI / AI Agents / vigil-llm
// agents · deadbits/vigil-llm

vigil-llm

Detect prompt injections and jailbreaks before they hit your LLM.

★ 504 stars⑂ 57 forksApache-2.0updated 2024-01
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

vigil-llm is an open-source ai agents project by deadbits (deadbits/vigil-llm on GitHub). It has 504 GitHub stars and 57 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 31 January 2024.

GitHub stars
504
Forks
57
License
Apache-2.0
Last updated on GitHub
31 January 2024
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick a use case

    Choose one concrete task — narrow beats ambitious for a first run.

  2. Clone and explore

    Fetch the source and skim the docs folder.

  3. Configure credentials

    Set the environment variables or keys the project needs.

  4. Launch your first run

    Execute the example workflow and watch what happens.

// features

Why people love it

Injection detection

Catches prompt-injection attempts.

Jailbreak detection

Flags known bypass techniques.

YARA rules

Signature-based scanning you can extend.

Multiple scanners

Layered detection approaches.

Python library

Integrates as middleware.

Security-first

Built as a defensive layer.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/deadbits/vigil-llm.git
    cd vigil-llm
  2. Step 2 — Create a venv and install

    Isolate dependencies, then install requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 — Run it

    Launch using the entry point shown in the README.

    python -m vigil_llm  # check README for the exact command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains vigil-llm?

It is an open-source project at deadbits/vigil-llm with 57 forks. Check the contributors tab and recent commits to judge how active maintenance is.

Is vigil-llm free to use?

Yes — Apache 2.0 allows commercial use and modification. Keep the license and notice files, and note it includes a patent grant.

Is Vigil production-ready?

It was pioneering in 2024 but hasn't been pushed since January 2024 — evaluate against current threats first.

How does detection work?

Multiple scanner types plus YARA rules inspect inputs before they reach the model.

How do I get started?

Clone the repo and follow the README quickstart — the docs at https://vigil.deadbits.ai/ walk through setup.

// keep exploring

Similar tools

AI Agents

guardrails

Put guardrails on LLMs: validate outputs before they reach users.

★ 7.5k starsApache-2.0
View guide →
Agents

tirith

Terminal security that stops malicious prompts, URLs, and payloads before they run.

★ 2.8k starsAGPL-3.0
View guide →
AI Agents

garak

Scan your LLM for vulnerabilities before attackers do.

★ 9.5k starsApache-2.0
View guide →
Agents

Data-Analysis-Agent

Chat with your data: an LLM agent that builds charts and business insights.

★ 2.6k starsCustom
View guide →
AI Agents

AiSOC

Open-source AI SOC — alert fusion, LLM triage, MITRE ATT&CK investigation and a replayable decision ledger

★ 2.4k starsMIT
View guide →
AI Agents

SandboxFusion

ByteDance's SandboxFusion: a secure sandbox for running and judging LLM-generated code in 20+ languages.

★ 1.1k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if vigil-llm is not the right fit.

Get vigil-llm

Free and open — grab the source, star the repo, and start creating.