An event driven AI-Agent engine to create robust intelligent applications.
Install in a python3 environment
pip install piedpiper_engineAfter cloning the repository, to run tests, run the following command
pytestCreating 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()App: Python, Asyncio, Langchain
- Build the core engine
If you have any feedback, please reach out to me at devdude@wondersplot.co.nz