Encoding Regulation: A Minimal Policy-as-Code Engine for Transaction Screening | Bremen .

Members-Only

Recent Talks & Demos are for members only

Exclusive feed

You must be an AI Tinkerers active member to view these talks and demos.

December 10, 2025 · Bremen

Policy-as-Code Regulation Engine

Demoing a minimal policy-as-code engine that parses YAML rules into executable logic for transaction screening, focusing on AST design and constraint resolution.

Overview
Links
Tech stack
  • Python
    Python: The high-level, general-purpose language built for readability, powering everything from web backends to advanced machine learning models.
    Python is the high-level, general-purpose language prioritizing clear, readable syntax (via significant indentation), ensuring rapid development for any team . Its ecosystem is massive: use it for robust web development with frameworks like Django and Flask, or leverage its power in data science with libraries such as Pandas and NumPy . The Python Package Index (PyPI) provides thousands of community-contributed modules, offering immediate solutions for tasks from network programming to GUI creation . The language is actively maintained by the Python Software Foundation (PSF), with the stable release currently at Python 3.14.0 (as of November 2025) .
  • YAML
    YAML (YAML Ain't Markup Language) is a human-friendly data serialization language prioritizing readability and ease of use.
    YAML is a human-readable data serialization language, primarily used for configuration files and inter-process data exchange. It employs a minimal, indentation-based syntax (like Python) to define structure, utilizing colons for key-value pairs (mappings) and hyphens for list items (sequences). YAML is a superset of JSON, offering key benefits like support for comments and reusable data references (anchors). This clarity and feature set make it the standard for major DevOps tools, including Kubernetes deployments and Ansible Playbooks.
  • PyYAML
    PyYAML delivers a full-featured YAML framework for Python, supporting a complete YAML 1
    PyYAML delivers a full-featured YAML framework for Python, supporting a complete YAML 1.1 specification and robust Unicode. It handles everything from complex configuration files (e.g., Ansible) to object serialization across platforms. Crucially, always use `yaml.safe_load()`: the default `yaml.load()` function is powerful, allowing arbitrary Python object construction, which poses a significant security risk with untrusted data. The latest stable version is 6.0.3 (as of late 2025), and the project operates under the permissive MIT License.
  • git
    Git is the distributed version control system (DVCS) that tracks source code changes, ensuring data integrity and enabling non-linear development workflows.
    Git is the free, open-source distributed version control system (DVCS) created by Linus Torvalds in 2005 to manage the Linux kernel. Engineered for speed and efficiency, it handles projects from small to extremely large, storing the entire 1.4 million commit history of the Linux project in only 5.5 GB . Its core design supports non-linear development (branching/merging) and guarantees data integrity via cryptographic hashing. According to a 2022 Stack Overflow survey, 96% of professional developers use Git, making it the industry standard for collaborative software development .
  • GitHub
    Host Git repositories and enable massive-scale collaboration (pull requests, issue tracking) for over 100 million developers.
    GitHub is the world's dominant web-based platform for Git repository hosting and collaborative software development. Built on Linus Torvalds' Git version control system, the platform facilitates 'social coding' by providing essential tools like pull requests, forking, and issue tracking. It currently serves over 100 million developers, managing a massive ecosystem of public and private codebases. Microsoft acquired the company in 2018 for $7.5 billion, solidifying its role as the central hub for open-source and enterprise-level version control.

Related projects