Skip to main content

Pied Piper Engine

An event driven AI-Agent engine to create robust intelligent applications.

MIT License Python codecov

Installation

Install in a python3 environment

  pip install piedpiper_engine

Running Tests

After cloning the repository, to run tests, run the following command

  pytest

Usage/Examples

Creating an instance of the engine and running it as non-blocking

from piedpiper_engine import Engine
from custom_modules import module
from custom_system import system
from custom_workflow import workflow

engine = Engine()

engine.add_module(module)
engine.add_system(system)

wf = engine.add_workflow(workflow)

engine.run_non_block()

# Use the workflow 
wf.add_message("Example message from client")
blocked_result = wf.get()

wf.add_message("Another message from client")
non_blocked_result = wf.get_non_block() # None returned if there is no result

engine.remove_workflow(wf)

engine.shutdown()

Tech Stack

App: Python, Asyncio, Langchain

Roadmap

  • Build the core engine

Feedback

If you have any feedback, please reach out to me at devdude@wondersplot.co.nz

Release files for piedpiper-engine 0.8.1

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

Source distribution (sdist)

Source distribution for piedpiper-engine 0.8.1
File Size Uploaded
piedpiper_engine-0.8.1.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piedpiper-engine 0.8.1
File Interpreter ABI Platform
piedpiper_engine-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / piedpiper_engine-0.8.1.tar.gz

Download URL piedpiper_engine-0.8.1.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
64f779653d15fe4835423bc9379c763a93a78abc9032509cf45554038a323dce
BLAKE2b-256 checksum
How to use checksums
71d5133e466aa40e2bc976c1ba690324f8ca5bc722099188060727820780a00f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Jan 27, 2025.

Transparency log

Release files / piedpiper_engine-0.8.1-py3-none-any.whl

Download URL piedpiper_engine-0.8.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cc7dab8e4524def3fdbbdec3e54490b73189c17c80e995a88139065574a39d3
BLAKE2b-256 checksum
How to use checksums
03959de487cca0b097fea924e38c09616458ef7547a38c05ee6e137786768722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Jan 27, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.1 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