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.7-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.7-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.7-cp313-cp313-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

agently_devtools-0.1.7-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.7-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

agently_devtools-0.1.7-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.7-cp312-cp312-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

agently_devtools-0.1.7-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.7-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.7-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.7-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

agently_devtools-0.1.7-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.7-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

agently_devtools-0.1.7-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.7-cp310-cp310-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

agently_devtools-0.1.7-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.7-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 356bf54a85caee689d1f6f8cdb92f9507bf81ce161c296cc8c92677264717aba
MD5 03cdebf0638400c7a804a9f34153384a
BLAKE2b-256 1a7ebe60f2695de5ae657588ba65a44030f6ea55732814cd87b98618bded8537

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 7fb6ede48b5d40815a95850fccdab0ab67f7b564614cc0834c96292f9ae45f2a
MD5 683ed61bf65e95ebfb5edd4d355f22fd
BLAKE2b-256 02b43730b431b74a2f18c9470040ab53f68bcb227299b52738db3d39d0cf5324

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-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.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 504f154f8eb004560cd66c7587b19b116deaf8bfe965e80de0d3bcc2b328f7d1
MD5 1771620efcf4671de6a54e199bbf008b
BLAKE2b-256 11d9e75a8b5d55c6bb7795dc263c606f6717f5c9d1a1bca847b7472886e313f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99f5a33152d53f0e07cb8a23766a43c8c5b1121ec29bae8003c47b43f131b64e
MD5 220540b400e90fe6b03e6fa31210deac
BLAKE2b-256 a290c186184f6dd181543d2622728e8a5a4bc7691d0f56e6bc46d1f307dbbf94

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 26d02bf895291817237b4f8f959c28547dad47c97e23bc2c9f627e1acb17c29c
MD5 ab70f7034d6986b1fb5db9d02d335ce3
BLAKE2b-256 70080146e51b24bae138719745746ac7b697997acb229bd1cff0de1f135ec7b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54e27ebbee88043a137b4e2ece7e442aae6891d086147d035fe3654719c55d25
MD5 1315217dcc3f6c8004ac04e4a6102382
BLAKE2b-256 073de38d21f70b61ece54524931ab9375dfcef26cf97d47096ca05eec5ca3cab

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 399efd7754d74be09e16f4a593dfc0f4475e88b0f9865aa5128dc83b8547912e
MD5 3628c91791cdf5fe2bb19c97134edfb4
BLAKE2b-256 808719466e8768cdefdb4c08498971ddf0020aa7e872241f94b9412edc35f961

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-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.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2174a9e4cd7eb598d0ef2752d60494c176c7b6855aaa5368c3c42bb7a77d144
MD5 9e97a5df9ab18b78dc071487f5fa9bcf
BLAKE2b-256 77e0c91613c98682def05e6bc58e3cbe6d0641af6324698e0b66b960930b8f66

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e3dab97e9c706ff72cdbc06053aaeb29120c1b73d99b36ccb0db80329e324dc4
MD5 630335335d0efe1af92215fcf76b2473
BLAKE2b-256 23d8cb6a8c818bf66e12900fc3c9bf06eced60b05f86aaba16643261d6482bd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 23a06e67d0571017476e050e317b6c9cf153dba2c8c56c711b7633370e9c17aa
MD5 2ed92fad02b8f15fca4fcdf8197369bb
BLAKE2b-256 a19593de6da5b20105af594c4ba55436d7e63502ab39915a89f3a2ed289980ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9762b6995b82251f751c84e0795369c907b272f711a4e4c21a30e34fe22d2585
MD5 d1b55d3b9c188d01f4bb3b72a299e64f
BLAKE2b-256 1b7adcb3a80a847d844dd166e2129e3a7c8a0a9edef1247a8f1e569a64454f4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a737a4d130f2ecb5fae8f9df5466118dcaccbcabd1a4414b3477114c31cb967b
MD5 208f39933185fc6e2bc960092633e10e
BLAKE2b-256 70c31c74a4170970436977485d801c6055c3fd4420e9db959b0764cf3106835a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b090ada9c793db2fc90e95f27bcd80025dd9f0c8542734ec899935baac08173
MD5 f3eb1e7706a63e1ab0700775910b9e82
BLAKE2b-256 2160dd625c0d5ea16344300d2ab87c444c12f200b6ca5ffbdf5dde2c43846a8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 878abfa767bc3dc498acdfb658fb43bc1508d234e441739f20725cd06af86a0b
MD5 287491f9ed8fdc4e6514fb87c44dc806
BLAKE2b-256 20b937117c030db3beda8deb1c7038868b1cfc55e53a0c561f42ea5427694179

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a214c97971d234c6777fbcefbac0b90671434bcfbb054f846ded7f3b79fb29ea
MD5 a0a78b3f37235ef0f12e34c6a6f37f86
BLAKE2b-256 f78445bdf76e5a4bfa76db4e3ad1138cd1a07169388cb5e5945a2c8e17751de5

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a614c2e18ade76f4718782304397f5ad4fbdd80ca757b279e6f39ec7f3b8b7a1
MD5 aba3331313ecfa5749cfa22d0bbd07d8
BLAKE2b-256 5ebea96b26c20dee57fd47d0abf6e721cbcfa37cf01af50ba74438e78bb240d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 859dad493ddbda4e4f576cb2ec183304dc99fbec36788f73619ea19c76f40416
MD5 649e41005ebaf008635c24726c206b46
BLAKE2b-256 453e2a0b4ff6abfefe9ae32f0f6b00b44b8c112879a3ea37313c478f3d2f3904

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-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.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45b5c82a25f62929467657b84001288f0e9c11c68aa9d0e7e8a711d069f832b4
MD5 c0efa1caca41c995d87694682f65c924
BLAKE2b-256 412d38d18009538aa0cec7e4e845027452f081a2c011ff53c7c15523d92e7c24

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f527d2be0499075ad5dfba67cc676aa1824e8795eb15e308210623c6887a27de
MD5 64398099b7037f6e23b0848a110b0f2a
BLAKE2b-256 f8cbb95dcd2233bea82072b1182b8f8117d83258045290b10fc00e76f40cd5fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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.7-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for agently_devtools-0.1.7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3746bcd7e4c53c2239347ec5d4e1b9e375d023dd29e708fd33bcf02a9e32f709
MD5 0ce4449aa1f3881ee987b73a8da3c8b2
BLAKE2b-256 28b47d8e81ae20bb2015017ec9018c0d86125a4e735554fd9098a0134ac01604

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.7-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