Skip to main content

An event driven engine to create and manage AI agents for innovative applications

Project description

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

Project details


Download files

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

Source Distribution

piedpiper_engine-0.8.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

piedpiper_engine-0.8.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file piedpiper_engine-0.8.1.tar.gz.

File metadata

  • Download URL: piedpiper_engine-0.8.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for piedpiper_engine-0.8.1.tar.gz
Algorithm Hash digest
SHA256 64f779653d15fe4835423bc9379c763a93a78abc9032509cf45554038a323dce
MD5 8b0dce67df394e3e824f1a921d0abea0
BLAKE2b-256 71d5133e466aa40e2bc976c1ba690324f8ca5bc722099188060727820780a00f

See more details on using hashes here.

Provenance

The following attestation bundles were made for piedpiper_engine-0.8.1.tar.gz:

Publisher: python-publish.yml on noobosapien/piedpiper_engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file piedpiper_engine-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for piedpiper_engine-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cc7dab8e4524def3fdbbdec3e54490b73189c17c80e995a88139065574a39d3
MD5 ec3089840032c172136f253322142397
BLAKE2b-256 03959de487cca0b097fea924e38c09616458ef7547a38c05ee6e137786768722

See more details on using hashes here.

Provenance

The following attestation bundles were made for piedpiper_engine-0.8.1-py3-none-any.whl:

Publisher: python-publish.yml on noobosapien/piedpiper_engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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