Skip to main content

🧶 Pyloom

🪡 A event sourcing framework for building large language model applications 🪡

Pyloom is a framework designed to streamline the development of intricate LLM applications. Drawing inspiration from event sourcing, Pyloom applies this concept to the LLM agent development, offering a range of powerful features that enables better dev experience.

Developing intricate and non-deterministic LLM agents involves making multiple LLM calls and intricate control structures, similar to constructing a Marble Machine (🔮). If an error arises, developers are frequently compelled to rerun the entire agent workflow. Developers care not only the agent's final outcome but also the steps it takes to arrive there. At times, We want to see how tweaks like extra tools or adjusted prompts in-between can affect the final outcome.

Pyloom is crafted to address these challenges.

Features

  • "Git for Agent": Pyloom tracks state changes and the evolution of the agent at each step.
  • Agent Replay: With Pyloom, developers can replay and navigate through the agent's flow. Once encouter an error in the agent flow, you can fix the issue and restart from the exact point of failure.
  • Event Sourcing: Pyloom employs event sourcing, representing agent actions as events. By replaying the event stream, the agent's state can be reconstructed. Furthermore, developer can apply the same event streams to different agents and compare performance.
  • Reproduce Production Issues: Leveraging event sourcing, Pyloom facilitates the reproducing of production errors by replaying the identical event streams in development environment.

Pyloom can be used with other LLM frameworks like langchain and guidance.

Installation

You can install Pyloom using pip:

pip install pyloom

Quick Start

Contributing

We are extremely open to contributions in various forms: bug fixes, new features, improved documentation, and pull requests. Your input is valuable to us!

Metadata

Release files for pyloom 0.0.3

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

Source distribution (sdist)

Source distribution for pyloom 0.0.3
File Size Uploaded Provenance Actions
pyloom-0.0.3.tar.gz 13.3 kB Without provenance Details for pyloom-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 27.2 kB

Release files / pyloom-0.0.3.tar.gz

Download URL pyloom-0.0.3.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c3e05ffcbe59ebaad4e65c85958fa8711b198763712e54ae863e9c43859dad5
BLAKE2b-256 checksum
How to use checksums
d425c11c005ef647afe1ad01983a8b51230ef43186cdb0a304ec2c2007382b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.2 Darwin/22.5.0

Release files / pyloom-0.0.3-py3-none-any.whl

Download URL pyloom-0.0.3-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e96e83712607473a1d94b217ee32c8192a708fad242f41f69d396677623e5f2
BLAKE2b-256 checksum
How to use checksums
93085cfb4d3cf3e091f805a0791a2f43af3846acd458a1011086cece76e432fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.2 Darwin/22.5.0

Security for pyloom 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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