Skip to main content

Python tracing SDK for the Orra agent debugging dashboard

Project description

orra

Python tracing SDK for the Orra agent debugging dashboard.

Install locally during development:

pip install -e packages/orra

Use it from any Python agent app:

from orra import OrraTracer

tracer = OrraTracer(
    workflow_id="research-agent",
    initial_prompt="Research vector databases",
    nodes=[
        {"id": "researcher", "label": "Researcher", "x": 250, "y": 120},
        {"id": "summarizer", "label": "Summarizer", "x": 250, "y": 320},
    ],
    edges=[
        {"source": "researcher", "target": "summarizer"},
    ],
)

tracer.start()

tracer.node_started("researcher", "Researcher", "Research vector databases")
research = "Vector databases store embeddings for semantic search."
tracer.node_completed("researcher", "Researcher", "Research vector databases", research, research)

tracer.node_started("summarizer", "Summarizer", research)
summary = "Vector databases power semantic retrieval over embedded data."
tracer.node_completed("summarizer", "Summarizer", research, summary, summary)

tracer.end("completed")

The trace appears in the Orra dashboard as an inspectable run.

👨‍💻 Built By

Developed by Faraz Mirza (@farazmirzax).

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

orra-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

orra-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file orra-0.1.0.tar.gz.

File metadata

  • Download URL: orra-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orra-0.1.0.tar.gz
Algorithm Hash digest
SHA256 57fd0be243ef17ba725ea33564c3ac4e298a4aedd791d3debb6bc5b508e39be7
MD5 255f3cff3fdb2bfb02ad346939ee5cba
BLAKE2b-256 af955c0a919511711ea6a2c60b4424ffbccf85b74cc1c467d2c2d8498579d4ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for orra-0.1.0.tar.gz:

Publisher: publish.yml on farazmirzax/Orra

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

File details

Details for the file orra-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: orra-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orra-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddacbe99d07a23c037ab70621a811e39d0a6681b31819760411bef403d62d5d
MD5 3431b04627c9d4ad0741843a7c8686f6
BLAKE2b-256 7c044b78ac9a35dad7f4cdd90e521ce28ea082b258167ab084c910f224967c29

See more details on using hashes here.

Provenance

The following attestation bundles were made for orra-0.1.0-py3-none-any.whl:

Publisher: publish.yml on farazmirzax/Orra

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