Skip to content
@LuciferForge

LuciferForge

LuciferForge

Security and safety infrastructure for AI agents. MIT licensed. Pure Python.

When you run AI agents autonomously — trading bots, code assistants, document processors — three things break silently: costs explode from retry loops, inputs get poisoned by adversarial prompts, and decisions become untraceable when something fails at 3AM.

We built the fix. Five packages. All MIT. All offline-capable.


The Stack

Library What it does Install
ai-cost-guard Hard budget cap — blocks LLM calls before they exceed your limit pip install ai-cost-guard
ai-injection-guard Prompt injection scanner — 22 patterns, 5 categories, entirely offline pip install ai-injection-guard
ai-decision-tracer Decision logger — JSONL auto-save, Markdown reports, built-in CLI pip install ai-decision-tracer
agent-safety-mcp MCP server — gives any AI assistant access to all three tools above pip install agent-safety-mcp
mcp-security-audit Security auditor — scan any MCP server for injection patterns, risky tools, misconfigs pip install mcp-security-audit

Use all three together

from ai_cost_guard import CostGuard
from prompt_shield import PromptScanner
from ai_trace import Tracer

guard   = CostGuard(weekly_budget_usd=5.00)
scanner = PromptScanner(threshold="MEDIUM")
tracer  = Tracer("my-agent", meta={"model": "claude-haiku-4-5"})

@guard.protect(model="anthropic/claude-haiku-4-5-20251001")
@scanner.protect(arg_name="prompt")
def call_llm(prompt):
    with tracer.step("llm_call", prompt_len=len(prompt)) as step:
        response = client.messages.create(...)
        step.log(tokens=response.usage.input_tokens)
    return response

Built from running autonomous AI trading agents in live financial markets. Every package exists because something broke in production.

Popular repositories Loading

  1. polymarket-oracle polymarket-oracle Public

    Autonomous Polymarket trader with Ed25519-signed decision receipts. Every trade cryptographically provable.

    Python 1

  2. ai-cost-guard ai-cost-guard Public

    Budget enforcement for LLM applications. Hard spending limits, per-model caps, automatic cutoffs.

    Python

  3. prompt-shield prompt-shield Public

    Lightweight prompt injection detector. 22 attack patterns. Blocks jailbreaks before they reach your model.

    Python

  4. ai-trace ai-trace Public

    Zero-dependency AI agent decision tracer. Records every step — what it saw, decided, and why. JSON + Markdown output.

    Python

  5. lucifer-skills lucifer-skills Public

    Claude Code skill — adds production safety to any AI agent: budget enforcement, prompt injection detection, decision tracing

  6. .github .github Public

Repositories

Showing 10 of 27 repositories
  • vault-mind Public
    LuciferForge/vault-mind’s past year of commit activity
    TypeScript 0 MIT 0 0 0 Updated Mar 10, 2026
  • smolagents-kya Public

    KYA (Know Your Agent) identity verification for HuggingFace smolagents

    LuciferForge/smolagents-kya’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Mar 10, 2026
  • mcp-billing Public

    Billing and monetization SDK for MCP servers. Add usage-based pricing to any MCP server in minutes.

    LuciferForge/mcp-billing’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Mar 10, 2026
  • llamaindex-kya Public

    KYA (Know Your Agent) identity verification for LlamaIndex agents

    LuciferForge/llamaindex-kya’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026
  • langchain-kya Public

    KYA (Know Your Agent) identity verification for LangChain agents. BaseTool subclasses for identity validation and trust gating.

    LuciferForge/langchain-kya’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026
  • KYA Public

    Know Your Agent — An open standard for AI agent identity, compliance, and auditability

    LuciferForge/KYA’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026
  • dspy-kya Public

    KYA (Know Your Agent) identity verification for DSPy modules

    LuciferForge/dspy-kya’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026
  • crewai-kya Public

    KYA (Know Your Agent) identity verification for CrewAI agents. Auto-generate identity cards, verify signatures, gate on trust scores.

    LuciferForge/crewai-kya’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Mar 10, 2026
  • autogen-kya Public

    KYA (Know Your Agent) identity verification for Microsoft AutoGen agents. Auto-generate identity cards, verify signatures, gate on trust scores.

    LuciferForge/autogen-kya’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026
  • mcp-audit-reports Public

    MCP server security & EU AI Act compliance audit reports. Demo: Anthropic filesystem server scored 7/100.

    LuciferForge/mcp-audit-reports’s past year of commit activity
    Python 0 0 0 0 Updated Mar 10, 2026

Top languages

Loading…

Most used topics

Loading…