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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

agently_devtools-0.1.8-cp312-cp312-macosx_10_13_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

agently_devtools-0.1.8-cp310-cp310-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d8a97ab40e479ba25a8ac015fd32f2d260400ac5d950cc0e3a64581cca4ea64b
MD5 c20100a1889ab6f1567c404e9c393e27
BLAKE2b-256 63130056fdb5746d3980c0ac979a6cca551ab667f3ff4b6443ed815d0b50c707

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 7e9cea67d3ac3d58c68ec9e92fd7297f8837f8ee9fb6df8f869124e358485809
MD5 27dd76478a273d5b217ef0b7eef4f65b
BLAKE2b-256 0a0af0aacb0bf51c4a89567944913b0c094181d7c8434d7fae3ae93b50cb4722

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.8-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.8-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.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 089c7a4773970a6940a05a3909dcc301b1591da5b090992be073a4e777b2b459
MD5 a7c363d91f54d703b5f5915ddb03d048
BLAKE2b-256 782d9ef8937a29322e241fff9ab78c6530307db69e4fd3d0ee2275c72dda1ef6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a563cbe7582e9ec56dfd3d8f1e84f9a02e98f0b4b44565a8f4d2f360e9ec050f
MD5 c7111ce3b0625db8002220f52d20abfb
BLAKE2b-256 f3db743b84be01d4061313c26c0700e188b03d29fc443be6d82e496dbbd5aacd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d1caddfc286d502b308c895cbea2f3f6b9bed5384620fbdaedd32d9b73503444
MD5 d14a50a53f03a2efd821b9e7d9f22620
BLAKE2b-256 01442f130ef2ea1840a08983c4170324704c15aa356862e7aecbfab5bf787c2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b564a63ce0529cd58eabc5b1f1ec1788ae9409d38afa07a2cb2e5fbd21f954f8
MD5 4054a0cdd35dc2afa47255f2dea4b5a8
BLAKE2b-256 060b2f9e9565b0ad8d5206689fe0d470f384057df88d485ff2ac23a2a6716e9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 2c6eb44669332dd1bcab82d1006282f0ba31ccb37cd2a8764ee71e5fd3c0e3eb
MD5 27aadecf04c6a0eb4d8a29600e59a58b
BLAKE2b-256 be0deeeaba7b0ebd8d0d1ada6f45b11fd34083e5d31efae1eb3b6cde50fd09ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.8-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.8-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.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 243db5511ab1b6cf5d3ed97c1e337abb537087fad90c71fdda214a0bdf09bd2a
MD5 fb4ee68ad0f22da7b539324d32cda31d
BLAKE2b-256 d3463c58459313a7d7997d52b8b5a21a55dc50bfb252307567a220309e9a6d0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4aaff26ce649b8625aa78ad92375d67d69693a000044c51cd147727eba6c469d
MD5 825ca19c9c8399eb81cae986cdfd8690
BLAKE2b-256 50f6858003e13cf48954579e6ac6ad716053c1cded92b0f09547b1a09542b2a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c48e113e6dc24028cdcd1acc0a8524300a01a4482d0af39723546897b1277c77
MD5 3d75c1d4c74d333d8b63636daca5301a
BLAKE2b-256 b526e4ebc27619a9eaba1574b054cd0e8c9b7b2e84c4e52e5d1a51be4d0d2633

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 499ac4bdb9bd396c156e48b8206efdde26978c705315babd693c6fa75c6b7c8a
MD5 ce97c72ffffc193356e59ae1b5545493
BLAKE2b-256 bac47340c9aa3032e3fb5033f80504f608917f157782ae4e30639f793d650bb4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 d1a2299c78ba39a8c3b6428d4d0b80dc22fd91ed859967ed483a44caa9092bff
MD5 39d061efd728a9f7879cf8832bfa2642
BLAKE2b-256 252393b9c4f464c5cd517af2192144a613d6e32791a8020ebb3710267caf64d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.8-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.8-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.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5822fc9a046479d1543ac731ac357116c562563b11a51e5aa4384b5558a29e63
MD5 a2f471df51eafddfd0a59c6ec21b9985
BLAKE2b-256 e3e361e8ee337a735a945b546b9b5927eb5ba8f26df906995a93ed1a822adb5c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89d2c9f643ec6bf270c8148225f45226498063cf39b19da8ace358496ee1454b
MD5 e1f9f819824166b773eb9d7185246edd
BLAKE2b-256 05449085527a2f0ccc15bc8d83fc70313c044a1709701688e403b3bd23eadb2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 120817f3101160bd500283e7873de3e8a037ac26acdef650244711b951c5ff6c
MD5 fb9d7d730534d3c53be36e0bc35e5672
BLAKE2b-256 3f2dac4fcecd90ec836629cbdbfb43284dca7b95770dc3c04ddef1fffc6d5d65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c76522108bd0ef4e25d548b6fb7e82de789644e4bc22387ff806f37bf36f092d
MD5 0ae0dc3645bd1852ede7d45ee742874a
BLAKE2b-256 5bdec43c24da977bfbc0b3cc8eee3855de7c2c562647403d7239b50914e9ca02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 f5c6a4f46333eb2b44406c475d5ca841722cf241a1e625a5668fa14c6e448428
MD5 46f09443d7fdf4833677ab7ec2acc9dc
BLAKE2b-256 58910d186822792955f691b89c2171b677685ae1eea6aeb388c055e4e405502b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.8-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.8-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.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f32c21c24c2a63550a26c62241c3f3eb07ecfdeefe32f3cbd7bf80abde2179c
MD5 b86f0d8794019d4fe1cd4de7092c9517
BLAKE2b-256 fa3ea0140b86f9a83ce9a03c1954c27c5854afa2d134ff314400ddae077c0d92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce5a89c5da49aebf5b38026b629a6c4dac4ac22faaed4814dcc4b618b39ef763
MD5 91e012929bcc8a38b010502da86598ee
BLAKE2b-256 4c7fda5971731290f27a2b279d45b8b2f12542929e7813703610811feafca5d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c2c8df33477259d709b46206067b699d582a640afc02d3194621e148b13ce031
MD5 52e5d6dad14e37dce142c9d9db829177
BLAKE2b-256 56d35b8cb14c871fb0e0afde7f74b8a133a6bb5fbc3b52c543c91c06032f670f

See more details on using hashes here.

Provenance

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