DBOS durable runtime plugin for LlamaIndex Workflows
Project description
LlamaAgents DBOS Runtime
DBOS durable runtime plugin for LlamaIndex Workflows.
Installation
pip install llama-agents-dbos
Usage
from llama_agents.dbos import DBOSRuntime
from dbos import DBOS, DBOSConfig
from workflows import Workflow, step, StartEvent, StopEvent
# Configure DBOS
config: DBOSConfig = {
"name": "my-app",
"system_database_url": "postgresql://...",
}
DBOS(config=config)
# Create runtime and workflow
runtime = DBOSRuntime()
class MyWorkflow(Workflow):
@step
async def my_step(self, ev: StartEvent) -> StopEvent:
return StopEvent(result="done")
workflow = MyWorkflow(runtime=runtime)
# Launch runtime and run workflow
runtime.launch()
result = await workflow.run()
Features
- Durable workflow execution backed by DBOS
- Automatic step recording and replay
- Distributed workers and recovery support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llama_agents_dbos-0.1.0.tar.gz
(20.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_agents_dbos-0.1.0.tar.gz.
File metadata
- Download URL: llama_agents_dbos-0.1.0.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65d817c3a80ec9002777f73544ebc634290ba95dd045e7f418bec7758e79fee4
|
|
| MD5 |
2a05d24699ef18e8c7addd5be1cece35
|
|
| BLAKE2b-256 |
e69f4f02076615e0b5df61eeb8f2a4737e18d36e1d77a93e2d470866e37c6f63
|
File details
Details for the file llama_agents_dbos-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_agents_dbos-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d16affeefafb0216f1f141daa3c215d1be5ae537449eaa55044f89f0eb49fd2c
|
|
| MD5 |
9baab645baf30133e18ab5b9d387e450
|
|
| BLAKE2b-256 |
7859e483188e004f6a0d2328d423f3a1245b44319642e6a54e541affc8853ae4
|