Skip to main content

Execution runtime for AI agents — detect loops, intervene, recover

Project description

Loopless

Execution runtime for AI agents — detect loops, intervene intelligently, recover execution.

Loopless sits between AI agents and their tools, observing every tool call and deciding whether execution should continue, adapt, or stop.

Quick Start

pip install loopless
from loopless import Orchestrator

orchestrator = Orchestrator("loopless.yaml")
event = ToolCallEvent("get_revenue", '{"year": 2024}')
intervention = orchestrator.process(event)

if intervention.is_abort():
    print(f"Aborted: {intervention.reason()}")
elif intervention.is_retry():
    print(f"Retry with {intervention.delay_ms()}ms delay")

Framework Integrations

  • LangGraph — middleware that wraps tool nodes
  • CrewAI — flow subclass with automatic protection
  • OpenAI Agents SDK — tool wrapper for interception

Documentation

See PRD.md for the full product requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loopless-0.1.1-cp39-abi3-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file loopless-0.1.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for loopless-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0801e5651818152e496a15644f0d0079f656f0ec8ee33b6fe7008a1dbe0e043a
MD5 77e765f634b3138c7e6c67961849b912
BLAKE2b-256 322f49accd4d808b279eb1f0fd9665dab4c8c9371d7de204c8205ca5b88fdc01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page