Skip to main content

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


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.0rc0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

llama_agents_dbos-0.1.0rc0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file llama_agents_dbos-0.1.0rc0.tar.gz.

File metadata

  • Download URL: llama_agents_dbos-0.1.0rc0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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

Hashes for llama_agents_dbos-0.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 fc84f1d142d0d40b86846db1afbea47ad874426fe24b711261daa84428a7f1d1
MD5 a726190423cbbd19a8cd20e21561389d
BLAKE2b-256 3a293d06172abfd7705fd4f705f93d8c6d5173e578e6225db76d5cb813649c8c

See more details on using hashes here.

File details

Details for the file llama_agents_dbos-0.1.0rc0-py3-none-any.whl.

File metadata

  • Download URL: llama_agents_dbos-0.1.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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

Hashes for llama_agents_dbos-0.1.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 68e59187959a23a2b4865c355ee139cac94f4e59413add5187cda75e22fe0acc
MD5 aaa836c6297a129a898fe096e5e14430
BLAKE2b-256 063c7fc1d87819920f8e80f9d06f95aca7d0a52596852c62bcf70d7bcc4303f1

See more details on using hashes here.

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