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(
    app_id="your_app_id",
    group_id="your_group_id",
)
bridge.register(Agently)

Explicit endpoint styles are also supported:

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

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

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

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.4 MB view details)

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

agently_devtools-0.1.4-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.4-cp312-cp312-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

agently_devtools-0.1.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

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

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

agently_devtools-0.1.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.3 MB view details)

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

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 31e4c3a6e17f207f1ab685fd971beb4b832b504dcef45f2b0ac3239f1cf06226
MD5 60c6bd054200162aa7ddc834053f3671
BLAKE2b-256 9e334f89ea751815069fe3efcc1ae274ad21373b8f2734ad063b89361195b92c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 b6f0f1046debe58f63a0eb175fb16a33419fccd9fcdd5b653831a4b3d785f1f0
MD5 09e5e2e9d7868394fa8b18e7cbb34235
BLAKE2b-256 3d8f6eae750a33f53b9307a7ed1eb197beef134881f1503e74b904988c98296a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.4-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.4-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.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea918f287c254d096d8ce1e08e255af9b1aecbaf126c66d611e471dbdc2da089
MD5 91c44e4ddb6ccd69aae7631e9968e9ba
BLAKE2b-256 557547573c0c66fac61aae98396d91dea183183a4dda4bd3fff91edf7f953d10

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b7098482309731606dc32e6472184d4379b986f60cde67ca572c528182ebecd6
MD5 0d5adab01447ac00b9d5626bca90c0f6
BLAKE2b-256 5971d41efb8c6def91d2037e8b7ff2507ca4216de6a62bac2c34942effb61030

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c1d39807768722c772dc8cd0d9a7ee5ce2acdde6c5f13d2ed0c8685a97c9fa5e
MD5 57f20e1aa536631b13fd991117cc4a69
BLAKE2b-256 46b48740a3d5634db0a0d6bc70729aa8997aeb7718ea6a731037b898210e8bbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9c6e1322a896c46ab76725794991af47184a9902624aaa7774af8bdd83ab2239
MD5 b1ded2f699e844be9f742dbd86dacd7b
BLAKE2b-256 d674955cc1df079643090c7b3e9090ad2e74257630801ba84e3970e976048199

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 e5cb8ea940b6ec490eef2914cd557816b14ead246392c74cf0f60b1c4ead0717
MD5 25506d8e71c88b71c2d98f62170d1618
BLAKE2b-256 fde945efdc0e39aa9b73b22935d69d5bfbbb7b9709ecf917a013bb6c7ea5d910

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.4-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.4-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.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d6123c42f801913ffd5e25a13c0303770e210a018d61c25bb6f1796bb64d8a30
MD5 e6a6d1820bfd0c501374b6d12e395c71
BLAKE2b-256 75b85732e429da7df02dba54d3196b85aac1c6c1abf7603bc3f7b5e3da4b83a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 562fb072190c94caccb77959e4bf3d10cecad463a2e8d75a7ec2d5caefeb339c
MD5 780b254376b11730ef2b744ab9c0db04
BLAKE2b-256 8f3f28b96357ff23cf873885600ed3ba8acb5c678df95b60aa57172738bab1ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8ee7a92ad7c1e476564d22aa94ff0edb8fc6dc37dc4a9cf989cde805c516bf43
MD5 9a5985c3437794bc1b866d86f9232715
BLAKE2b-256 f78ecd7cf744c66447d26b5d2559814c486110a57b938bdf339b29e8c8a3c285

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c7b592786e9d3ec3120258b535cc0b24f906f94d827cc438b06933e1fc1e6d3
MD5 3ae67263d2d24a678ceb02154c7547d3
BLAKE2b-256 4a955d2bc49b25d6667c5c59dc104c11dbb9eff52cf34c94bd80ad304ade33a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 0327701ad7ba91ec45c361a5e3d61babc5e734495a31ab052a511d35e690aebf
MD5 c1b0d9f2c6c6e1dcd625cf614d3e8566
BLAKE2b-256 a10e447c41810b2ba5537b4ace23f5917e0c02c2e3eb7ba0611d762c399e5dff

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.4-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.4-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.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6118c3aa080c9b5cb61142a4d312de6f0992595c5f7261f849b9b8d1e61cd4d3
MD5 9cc20c31d47af147228e6aaf50bba766
BLAKE2b-256 5ee24a5f3216c9102885bf180f7875b50322e0312444bec6c19ab96dc7690103

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6789f9c0f038c4f8d331a0bdf34392580291c740fef8363a4f678962e14d2b0e
MD5 d0fa0d72752b61c3eb4ba741651dd516
BLAKE2b-256 1fec5db75c5a911042335458a5bc7b40dc92f85762505023d65f308b870fe15e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 79f1a9644a12e47043efa2e41585dd061902916552f197434e71b6b5ba9e53d3
MD5 f0a6099cdd97504d35d2d0ebfca7555c
BLAKE2b-256 dc5560f9e0d6869302ad366ddc5031aafd46fefcd5bdf2352de21b543dca18ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 19810ddbb11e9d7fe3794f805ecf78323766fc6386516b993d17ffaa2efbc7d6
MD5 16956290effecbadee3eb6593b9872f7
BLAKE2b-256 f6c1a24927ce9b2aea1ada29459f6b99b318fafe93b3f4a4511bb2ef32ad1ffb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 16dee437d1f969d4b48a3d57b9beaece0674cc135d9b6a932fbce32d44ff1d66
MD5 25d2052c5ce3b5e770f60140db91db88
BLAKE2b-256 099dd09d87645168c5d2ff04c80f9d22d22492a176a4e827a3e3890ff2f6c38d

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.4-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.4-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.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9117667a618352de774a801ca257e16ba1bd86b13637a1f593b4d38cac33b17a
MD5 1226a32d3df6f2aa97af1f2f8b6da80b
BLAKE2b-256 1f95ff1dd5eb47834584bc098b9af8048023dea926cc3287b3a5f3b3733ad133

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 620e78fffb010921586416814b440ed431914ab2d3a1ef321afb9af0ac920327
MD5 a7c71384dc2eb7a726dc8a31d099e0ad
BLAKE2b-256 669b37d7e4864221306da70201175c46f84434eafbd8406fc9c2f051c020bba5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 88e24414ccef78aa5f12949479d657422a50a03430923b7716dd5b81a2889c84
MD5 7215e66e5160b9253aaf487167fbca2a
BLAKE2b-256 a6c0a9d8f538e4739e614b6a0d128151f7a5d7e93a0e90e33cb9889da18fc77e

See more details on using hashes here.

Provenance

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