Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: republished as forgeloop

Beyond Prompt and Pray

Building policy-governed AI agents from scratch.

Most agent code is "prompt and pray" — you wire up a model, hand it tools, and hope it stays in scope. This is the open, inspectable alternative: an agent loop you can read in an afternoon, with typed actions, runtime gates that detect and stop risky or out-of-scope behavior before it executes, multi-axis budgets, human escalation, and a tamper-evident audit log. Everything runs on the standard library plus pydantic — the baseline works with no license and no GMS.

For production-grade guarantees — geometric plausibility, calibrated admissibility, signed verdicts — the optional GMS backend (knowlytix) snaps in via a lazy seam. Clone it, run the baseline, see exactly where GMS lifts detection and validation.

Part of the "Beyond … and Pray" series: governed agents · trustworthy RAG · test & validate · LLMs from scratch

What's inside

  • Governed agent loop — generator-based, every step inspectable
  • Runtime gates — ALLOW / DENY / ESCALATE, stop bad actions before they run
  • Typed actions — ToolCall / AskUser / Finish / Escalate
  • Budgets — token / time / tool-call / dollar caps, first-class
  • Human escalation — reviewer protocol, not an error path
  • Tamper-evident audit — hash-chained record of every decision
  • GMS-optional — baseline runs free; geometric guarantees via knowlytix

Install

pip install glassloop                 # core: loop, typed actions, tools, gates, audit, planning, memory
pip install "glassloop[ml]"           # + open-weight model tools (torch, transformers)
pip install "glassloop[gms]"          # + the licensed GMS backend (knowlytix; see below)

The GMS upgrade (open-core)

glassloop runs fully without a license. The GMS-backed features — geometric plausibility gate, calibrated admissibility, signed verdicts — require the licensed knowlytix package, installed separately. glassloop imports it lazily:

import glassloop.gms as gms
gms.available()   # True if the licensed backend is installed
gms.require()     # returns knowlytix, or raises with install instructions

The production-grade, GMS-native edition is the Beyond Prompt and Pray, Pro Edition — see knowlytix.ai.

License

Apache-2.0. © 2026 Knowlytix.

Metadata

Release files for glassloop 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glassloop 0.1.0
File Size Uploaded
glassloop-0.1.0.tar.gz 98.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for glassloop 0.1.0
File Interpreter ABI Platform
glassloop-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 228.1 kB

Release files / glassloop-0.1.0.tar.gz

Download URL glassloop-0.1.0.tar.gz
Size 98.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2a81c9367000d0387f0d1ee0f908d2207047048ac782f4956548d31d804ab2a5
BLAKE2b-256 checksum
How to use checksums
e3e0a40fc6eeff14bea6e6d018f86d4852ef64cb36be484c65527bad4c8cc0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / glassloop-0.1.0-py3-none-any.whl

Download URL glassloop-0.1.0-py3-none-any.whl
Size 129.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd01c9f97e8ea79e61f66f9be85d5152a4a646e8df501a018b1811f759ca23a7
BLAKE2b-256 checksum
How to use checksums
799e99efb970a5c231ab44301a2c2272ba5d74e212f1b6ad339f45ff19b8b442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page