git404hub

what is guardrails-core fr?

rusmoody/guardrails-core — explained in plain English

Analysis updated 2026-07-25

1PythonAudience · developerComplexity · 2/5Setup · easy

tl;dr

A zero-dependency Python and JavaScript library that acts as a safety check for money-moving actions. It lets AI propose a transaction, but uses strict rules to decide if it should actually proceed.

vibe map

mindmap
  root((repo))
    What it does
      Checks money actions
      AI proposes code decides
      Evaluates not identities
      Creates audit records
    Tech stack
      Python
      JavaScript
      Zero external dependencies
    Use cases
      Block AI agent scams
      Stop social engineering
      Audit transactions
    Audience
      Fintech developers
      AI agent builders
      Security engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Add a safety checkpoint to an AI agent that can spend money on your behalf.

VIBE 2

Build an app that warns users before they send money to a known scam pattern.

VIBE 3

Generate an audit trail for proposed financial transactions showing why they were blocked.

VIBE 4

Run fraud analysis locally on a user's device without sending private data to a server.

what's the stack?

PythonJavaScript

how it stacks up fr

rusmoody/guardrails-core0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

The library has zero external dependencies and ships with no build step, making installation straightforward.

The license for this repository is not specified in the available documentation.

in plain english

guardrails-core is a small Python and JavaScript library that decides whether a money-moving action should proceed. It targets two related problems: AI agents that transact on your behalf, and scammers who try to trick you into sending money yourself. In both cases something proposes an action and this engine decides if it should happen. The core package has zero external dependencies. The core idea is that a language model proposes, but deterministic code decides. A model emits a structured Intent describing the proposed action. The engine evaluates that Intent against rules and produces a Verdict. The model never signs or executes anything directly. Rules return observations called signals, each with a severity score. The engine combines those signals into a probability that approaches but never reaches certainty, so it never labels something simply "safe." Absence of warning signals means no signals were found, not a guarantee. The engine evaluates artifacts rather than identities. It looks at addresses, domains, links, contracts, and message patterns instead of profiling who is on the other end. The authors argue that recognizing a scam pattern is what stops a transfer, while identifying the person adds privacy risk without much protective value. Every evaluation produces an audit record showing what was proposed, which rules fired, and what was decided. For agent-proposed actions, a spending envelope always applies. Higher autonomy means fewer confirmations for small things, never unlimited spending. The library ships in Python and JavaScript with no build step. The JavaScript version exists so analysis can run on a user's device, avoiding transmission of private messages. Both implementations share a single conformance test suite, so a divergence between languages fails a test rather than surprising a user. Adapters translate between the engine and the outside world, attaching external facts like domain age or address history. The project is early, with a small rule library and settled interfaces.

prompts (copy fr)

prompt 1
Using the guardrails-core library, write a Python rule that flags a transaction as high risk if the destination address was created less than 24 hours ago.
prompt 2
Create a mock Intent object in JavaScript for an AI agent proposing a $50 transfer, and show how to pass it through the guardrails engine to get a Verdict.
prompt 3
Write a script using guardrails-core that takes a proposed transaction and prints the audit record showing which signals fired and the final decision.
prompt 4
Explain how to write an adapter for guardrails-core that attaches external domain age data to an Intent before evaluation.

Frequently asked questions

what is guardrails-core fr?

A zero-dependency Python and JavaScript library that acts as a safety check for money-moving actions. It lets AI propose a transaction, but uses strict rules to decide if it should actually proceed.

What language is guardrails-core written in?

Mainly Python. The stack also includes Python, JavaScript.

What license does guardrails-core use?

The license for this repository is not specified in the available documentation.

How hard is guardrails-core to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is guardrails-core for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.