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.

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.4 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 80b05bd7717ed9003297dc7940e70714afd1d5c2d120ce0dc861601a46fcf58f
MD5 a64f569b686f239dbdf8ea63ee323c36
BLAKE2b-256 474502f68457f764a86c5e372d951dfe6d82827d7d2683a41ed9c732662a070c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 833e16ff6835efd1d4cdc4d3c5663b7f710c42108bfe408621445444fc05f56d
MD5 acda94ac07e608a1413dd5a6178b5d34
BLAKE2b-256 584f9a54d03ae412090b29911c34051158c20ad8852fb9fa963f30c3e5d829a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.3-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.3-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.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d9f653afbc81409ce136b7798c7f9ea93c0529a5c13edd0b3c2d2d845f41588
MD5 fb88e47c44df7bd4497554b144da9ab5
BLAKE2b-256 f26effb2e442b445030cf6702cbc8687e7478bde8856d7d5a907825681a40490

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64eab330670ba14d1529a8f02d1984f32d5bd597a2ab77b8615be6cb851b5540
MD5 87779a3f14b8c30ce8a5752807d7bae4
BLAKE2b-256 c27203ac30a2ad07b0bded67eaf6fc8f6279580705539c6d480218fdddc3d2c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d46bccd6ceb866b4582bfdf8db92e21816fc7ce54e82d0747dc09d4ddd83c7e4
MD5 88382ee3f5643fc167d8ec38d9811962
BLAKE2b-256 db5209a948843e8f5b9073032bc096217d4e40081f745099d0841aaff1fceaf2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 19d30d29a2dda90819abcae1063cdd04026ec2e7bb57504ce031223b76ed32f9
MD5 e67eed449f659aa9994215adf4fb020a
BLAKE2b-256 8fdbae008372b0adeecf9b1ee79f6f725b8e6cc036da9f3b3561a5c3e3726954

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 b37e21b9d5f6cb78eec0b763cf677215ed9a3a32a4f52802f6132385da676e79
MD5 7d6970cc289a0d3fdb90ce80527cdec3
BLAKE2b-256 49a8af49f6d36a23ea28a17598df8df0549022f33adc91f2d62242a29ec283fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.3-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.3-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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13a6d0ff1b675e3d047da3b87ed0e29930b9195c21200b27c50e1cb673a77fd9
MD5 321b9f3d2e9e852578d27768823cd883
BLAKE2b-256 d0d4628e970dfd9f7545aa3aa7688e573b4c60bf62e5a6d50ad7d64a04d013aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9189a8d4c0701148736f6ea4b33cd359d6ead984986db27507ef0da580706251
MD5 5a28e75ed844473fe9da63830a4cd731
BLAKE2b-256 cf4874b78ae9bd6a31b188ffc49b9a68148cfe47dad33f48dcf322466933e47c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8ad8e2f709959777ef1bafd22823cf6d54f9deb4fbe17b697e7fd4d3d265a234
MD5 9117db76797faeb5e3a6490996b50dce
BLAKE2b-256 da398e4d85801f797318ff2eebbcc96208acc46d6f6d473d80932cb154a48a04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b6e49bff58d332c3f8d1708da241c133a7b8c72f4cd1c892781a6afd394aba52
MD5 0bc3dc45cc5104062ee3a5609a26698b
BLAKE2b-256 82cf11645565a44b2a08569e12ec560049f0a69837a9e0fbf9a81a9b2888e4a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 29dfb71764ab7a25ea9213418d019d1e5d0b1afa62485ca1e8bd0505703dbbde
MD5 dd387c6e3abd04b8da8009994873bc44
BLAKE2b-256 bcc3d9e9dccb069bd6c31f628797362ad6648f36bbe756409639d0cbbc1fec24

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.3-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.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3001bacc855bda0b4af00219ca7e95d147b1e83f4313bc836d75649b5248948
MD5 3e5117f7b833896c6e301131d7c17174
BLAKE2b-256 5a03071ce267ec3b2a53401758c293b7032a198677e87a01dabe15b7e605ea4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bce123dafa436c5cf4456f8bcf7c4c92937529d28d8b887dbf1cf0849dbd824f
MD5 df184c18b1669cc3df52a7f932f84e16
BLAKE2b-256 21b7b6e13e30d19313c886041d899ee43fcd500f2e4db1ddc27da07ccfc168bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c71786c11e8df1cfb928b403f645f98c98ede86d23a15e4fdd7f01a229155d5d
MD5 19bf3e0c7bc3e3d927d968aaf8a124d9
BLAKE2b-256 b7c4a66a24d7984d000e8787cdaf5b4a30b5f1b5bc2e104bb065dcae75d98397

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b4d8af3b7d20158b921825623b358c6ead1b4c0f1a03bd8f61c261c66d49243b
MD5 ca16e3a72e5ee07780527f843f0fd2dc
BLAKE2b-256 4dd315e22ce9658a6335a477906e38ae161c184d51169010a515620dfcd14f01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 78081074ef0e5fbb5f1435b6a07a7d2801e268e0369793ba630f8187cd246bbe
MD5 5292952105464156a7efd0a250f293be
BLAKE2b-256 6f4bdf9e69df6e20edbc9e31de7c6224e47fe16da8b8de810e9b83aefce3ed03

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.3-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.3-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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f76a50022bcfcaa6bf9bc3cd5d58b0e10a6b5eba2f4f083824b6273cc09ee8a8
MD5 c4a01e4816e0416875233d6b6d0970d7
BLAKE2b-256 5756b96f8d74badd9ab4ae2178c73251d520cc190d67170644e121828b7b8394

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd16f21e10327a42df55b2766d47ffa2602e923e13d6e9c78d5963830974564c
MD5 5f5d97cfb90f9720e871d4b688a91221
BLAKE2b-256 d98ff5b957d88f8695b0e6066de85de245162156ded7bf6f0032acfd3cb1a896

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c7d5bf51c7b4b0349913b4258d2aea1bb33c96d8bf5eaf34a56fb4a7e0b2bac
MD5 8dc101f8fc5d96a6a11616c3603bc723
BLAKE2b-256 7e6c07d717fe67515968b62da227fe5d3e0c753f4e0736dd9d3d551c2e44eafb

See more details on using hashes here.

Provenance

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