Skip to main content

Observation and developer tooling companion package for Agently

Project description

agently-devtools

agently-devtools is the local observation, evaluation, and playground companion package for agently.

Install

pip install -U agently agently-devtools

Compatible with agently >=4.1.0.2,<4.2.0.

Compatibility resolution uses the current Agently offline manifest first, then the Agently release registry, then a bounded legacy fallback for 4.1.0.2 through 4.1.1.

Python >=3.10

Start

agently-devtools start

Default local address:

  • Console: http://127.0.0.1:15596/
  • Ingest: http://127.0.0.1:15596/observation/ingest

Explicit listener options:

agently-devtools start --host 0.0.0.0 --port 15596 --path /observation/ingest --no-open

Observation Bridge

from agently import Agently
from agently_devtools import ObservationBridge

bridge = ObservationBridge(
    Agently,
    app_id="your_app_id",
    group_id="your_group_id",
)
bridge.watch(Agently)

Explicit endpoint styles are also supported:

ObservationBridge(Agently, host="127.0.0.1", port=15596, path="/observation/ingest")
ObservationBridge(Agently, endpoint="https://devtools.example.com/observation/ingest")

Use selective watch when you do not want to upload every observation event:

bridge = ObservationBridge(
    Agently,
    app_id="your_app_id",
)
bridge.watch(agent, flow, lookup_reference)

The older bridge = ObservationBridge(...); bridge.register(Agently) style remains compatible and emits a deprecation warning. Prefer binding the Agently object or event center in the constructor, then selecting global or scoped observation with bridge.watch(...).

The bridge uses a background queue and coalesces high-frequency streaming events before upload, so passive observation does not block normal request output. For short-lived scripts, call await bridge.flush() before exit when you need all buffered events delivered.

TriggerFlow executions automatically publish their flow definition, so the execution graph can show the full static structure, including branches that have not been hit yet.

Scenario Evaluations

from agently_devtools import EvaluationBridge, EvaluationCase, EvaluationRunner

bridge = EvaluationBridge(
    base_url="http://127.0.0.1:15596",
    app_id="your_app_id",
    group_id="your_eval_group",
)
runner = EvaluationRunner(bridge=bridge)

binding = bridge.bind_agent_factory(
    lambda: build_agent(),
    suite_id="support-suite",
    target_name="support-agent",
)

report = runner.run(
    binding,
    cases=[
        EvaluationCase(case_id="refund", input="Need a refund for a duplicate payment."),
        EvaluationCase(case_id="shipping", input="Where is my shipment now?"),
    ],
    rules=[
        lambda record: bool(record.output),
        lambda record: record.error is None,
    ],
    rounds=2,
)

Use the binding helper that matches your target:

  • bind_agent(...) / bind_agent_factory(...)
  • bind_request(...) / bind_request_factory(...)
  • bind_triggerflow(...) / bind_triggerflow_factory(...)

EvaluationBridge already records rounds into DevTools and keeps observed run linkage automatically. You do not need an extra ObservationBridge just for Scenario Evaluations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

agently_devtools-0.1.6-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

agently_devtools-0.1.6-cp313-cp313-win32.whl (1.5 MB view details)

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

agently_devtools-0.1.6-cp313-cp313-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

agently_devtools-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

agently_devtools-0.1.6-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

agently_devtools-0.1.6-cp312-cp312-win32.whl (1.5 MB view details)

Uploaded CPython 3.12Windows x86

agently_devtools-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

agently_devtools-0.1.6-cp312-cp312-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

agently_devtools-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

agently_devtools-0.1.6-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

agently_devtools-0.1.6-cp311-cp311-win32.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

agently_devtools-0.1.6-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

agently_devtools-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

agently_devtools-0.1.6-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

agently_devtools-0.1.6-cp310-cp310-win32.whl (1.5 MB view details)

Uploaded CPython 3.10Windows x86

agently_devtools-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

agently_devtools-0.1.6-cp310-cp310-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

agently_devtools-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file agently_devtools-0.1.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1821d3238fdedf18f59a8c4102f020f28879eb5b1d9c016e992712eebe5678e6
MD5 dd97cd894af067ec708cad25a89c5718
BLAKE2b-256 c229049a34b4bd8a01e69bc69c18f780c80710bd10c86c9ef398953d2b2d34f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp313-cp313-win_amd64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 5a4cfcd5f17733e2a5f5fb0afb5b1e09b075ad9a66c0cd0c7c9aeda4289818a4
MD5 edcfa1db3a1d1f3411646f72a3b21cd4
BLAKE2b-256 43ee01aa57e9a0e1278d3c670085696e57743337230ac84a7afb13090ad05823

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp313-cp313-win32.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f5197d4b9d07786f26c7b81385330d15a2b339ab2ef7495a81ddeba2c072a12
MD5 2f108b2bf83fd46ab57aef598a874634
BLAKE2b-256 a3620a26c2808127b8b0207a9a4de303663cbd4520b3b49cabd2ab45eb2e1722

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 311e008e727a917525b1ba27822be46616d89e9bf330a0f6c84770853de1ac4b
MD5 dc9a08a6bdd5eeed146fe403f9af474e
BLAKE2b-256 59e044c1a53e3edde24398c42a29b6eb9e81667397709515ce141645efba218d

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 76fe957633bb3b222f2f3a1fb9b68d65b74f1ed803f1e9785acc659c882595f3
MD5 484218be1bf1655f5878f36b14d971fa
BLAKE2b-256 b012523ce807d76761feac1565910c31b3e01df6fbfe0803cd39b464367375a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bf669131e2364d40529cc6e6f23e2270867cd00e090e668987b6d057e0bb7076
MD5 a83fb4691c7939953aba81ac7d5f6dd3
BLAKE2b-256 f7ec426f3ff20b25ff7b4da60988a5f052cdca0143b2b78fca3e406d851cbeb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp312-cp312-win_amd64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 929e5ca4f683b74141d687e4954fb9f28b92bb1326e91b73e500089b6b302012
MD5 d0ed436ff923442b4bb14ade5eaa8f86
BLAKE2b-256 7c413e95bbcfdb574ba954174d3529ec90199546fd493aa2935bb85b200cc702

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp312-cp312-win32.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 66c0ef979a59902f1d7af9ec861f2028ca04e901f59a493b5abad29323e79869
MD5 bc0c2cf5782e62f7c5404708124d9e54
BLAKE2b-256 36b33b6ba73e0296bf71630b29321521f00d2830214f5eb4280404a0977b0a27

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a7efcb59e06b15109beb69c238dc96a6302daf51cf3f935b5856620123e7bf5
MD5 5d09cb85a27eb994b703a4e9140fb275
BLAKE2b-256 e30f498de005f939531dc81f957fdbe62cd40b2f95d1b0ee5bc076a4ad560965

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 fcda141c748f8cdced1c5fc61f089b66424916a48df52d251e510e9eaa4712bc
MD5 3c5776c26aa1b47ece5051504d6f615f
BLAKE2b-256 8399b24ebae300a61b1b3240307e8e9363a5f2468432a1df08f039031556e7ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 41628c0780bf6caf41ebf7005f6de3bcdc9da8c86ef35414159c76ca3f95e177
MD5 336e1368e5766068f5d33de626e6dbec
BLAKE2b-256 0ed155d8beb27419f3411f07b74cb20f1aa49b7e22150f55b6a558484f0b0fa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a04c422f9613b35df848652dda504fe4e92e509c5015474369f41f1e4d0b0ef9
MD5 23133732e5df1a775b2d3de7c7776854
BLAKE2b-256 22a764e9faba2b8f112c886efece1f9fbc130fa7f9990e12b3b971c2d7de8140

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp311-cp311-win32.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2c84ca52a906d7c7bdad4778a570e825cff0954e7c7df4d80a90cc7642bc5ca2
MD5 e3b4f432127ccaa09e0ae394ba4948cd
BLAKE2b-256 d10c875813a263110cb2b7c59a3e467457602ac51577fbc20ba8c8d8130b5373

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ba7970ddcad8c96d61e24773fd3917421491757296313f691b0e24b6bf58565
MD5 9304328f06f515425341e0324841149f
BLAKE2b-256 ba24bf5a2ddd36a2e1d7758e315947b2918bcc0dfba2907402b87f1b21cadd77

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4c87f79716194420f2969d2fbd941ae428a2b88ce22271f3fa09c45e39b05200
MD5 1a6ed5cb0d4f18cff6b5e5cd0428fcf8
BLAKE2b-256 1ca92d209956f1482a75ef5b732bf5bcaa976a25fac4a74c755a959f693a2d66

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 043230119abfb688e1b41be7a836189e7f1aaac3e81bf6b874c53da0f437fd12
MD5 93ab3e0b15088e95ea381bb4d5185f69
BLAKE2b-256 c2e42817c33f8ba061619779c0a5b5b0b0a98853c131162ca4d5061fb3d3441b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp310-cp310-win_amd64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 3cf6f66933b06cabb5dcb7580f1fa3fbc8848de9226c27dbb1c7b7357ec82585
MD5 c0df01541342dac655bdf98a6f600807
BLAKE2b-256 4d6991d9aa5d7b9f46f48bceb03a7b8f56f60919061aca8fd610e23d3f79026f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp310-cp310-win32.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 abb6822d56b85747cac3c4a7e144e0f9016fa3f5ce3bebfd29973fdd3689a254
MD5 d30e8847e9c71257e228972b4198e440
BLAKE2b-256 57165aea4aae2baeda8f61b6ce291b87946558288ccb37306397f105441040c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b163216e2fd96323510cea0ce8c1190c7b0e5753491f0a4a655e317d39d73a4
MD5 193713b472977e90c24ba72dbb346616
BLAKE2b-256 ef47156bf41ed8fa5332479bd2c19482bf3d152f9c7c35957008e1474a9d576b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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

File details

Details for the file agently_devtools-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9a6a9613ae0ef8a345826a229735233a172d2fe0407ef464eb520cbed33ead47
MD5 1077e9ad32ed40beef8451d167aa35e5
BLAKE2b-256 9990aee5a3ec7cd14a6aa9871ba8e5ead8153b792fac6bba3a0cc8acbd4fe437

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: publish-pypi.yml on AgentEra/Agently-Devtools

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