Skip to content

Python port — vigil-py #2

@RobinOppenstam

Description

@RobinOppenstam

Overview

Port the Vigil rules engine to Python for teams using LangChain, CrewAI, AutoGen, and other Python-based agent frameworks.

Proposed API

from vigil import check_action

result = check_action(tool='exec', params={'command': 'rm -rf /'})
# result.decision == 'BLOCK'

Scope

  • Same 22 rules as the TypeScript version
  • Same API surface (check_action, configure, load_policy)
  • PyPI package: vigil-agent-safety
  • Zero dependencies

Community contributions welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions