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.0rc1.tar.gz (17.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.0rc1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_agents_dbos-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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.0rc1.tar.gz
Algorithm Hash digest
SHA256 84d4dc92b271d4cf8794cdf0f0b0e3e1526151a96a9a5d27526d4fce551a9ce3
MD5 33807dc02dae101ff6c8a4e410ec412c
BLAKE2b-256 143ca72ce43b79b87effe57405d544067ca252f99363315b47d21fb52093b947

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_agents_dbos-0.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bcab66a58e23953b397869fab1e30fb135bb338948167d73b8fa4c3c21ae47c
MD5 901ecee0ea83a7f968216de37da780e7
BLAKE2b-256 1d65b09108e1da9614432cc43079901098cd54044158e8bbc1f6e15f5efff7a9

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