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)

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f5409f00305858fb195f3d69e0bfe17fdd4d4385ea174911c8e45ce0726b510
MD5 0e04559bfa88f6a2c3dcdb86ca86ff93
BLAKE2b-256 23209b70fd851c91d1cb6c37175d9bae732518ef26d48fc8f1510d52ddab6042

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 f6ab42e8ae2f815ee64fa6bf5f8e52a5b08c254e9ba1161020f3faa9c9f87e9c
MD5 e27b91b69534b0ec0f8a162b701d3136
BLAKE2b-256 08a98a88549a59fc95085fb457aa256ea8ed0d985ff38d612d9659ed12a4be4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.5-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.5-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.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36d274563cffe0cf7bcc0ee54dc8b004dbc95be9a0c6f9c9370a7c41b2e9e432
MD5 4519f0ce42cae11506982c6b1a3016f1
BLAKE2b-256 328e10b1fbfd8115eb8f8aa7839cf824d8f693ce89849d9632939ba49ca2dd47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d76b58c4475fda47e928ed566e41b8766cce328bce22d0fe285d9efd46a5308
MD5 d6cc92a3e49c899daa3b2274a2c04906
BLAKE2b-256 997d2de7d8454a266421ab8e711d25cb26cb1042306d31eace272758aea46b4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c10b0f762203b35fda38f5a2d0381fee247c7ed5867ccda60f796f4122f01459
MD5 68972839b0200d3f10a1806ce507b21d
BLAKE2b-256 6fcd299e90d56013866b5bd91cd7f1117ab425691401b6edf1df10f95d4fdfc4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54259f5bb45ba5862c6ad167c8c85cc8013985658b0fc9b396e105e6cb1ee13f
MD5 76b58b8317a5e507172471db7c5b8876
BLAKE2b-256 b17a3af6730b30d67db9533559c1044ad410dea25345b8159e2fcb60e52af0e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 da31409369318eb057a7f0cbb56595b2e4aa83a4fcf078b5f9fbcbf07d644e42
MD5 246f32dc366c6f48820c07288bd249ce
BLAKE2b-256 363fb23b1f67b184aa7d45e8b675795ae8c1fd2e55a0f6224ee77cb109d2396f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.5-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.5-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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ea054dbea4df433dd822f191a8de926f375640384a835629b3cdf20bd131603
MD5 6ec95d96332e67bb21605eb99ca6e65a
BLAKE2b-256 2c376db4120e69ead4d78993d9b01efae5b2aed91ba7f64365938011e1aa4653

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 335874b385e90f0de6bac95ea026054235da87316ae1616434a4d7fbd9208362
MD5 0d3fef3fd8a03e131fcd29c3b9bcc7e6
BLAKE2b-256 adc026c9c01bf0e0b70331d755926088951eaf964f260eaedb601bb513a10c15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2ab174920961f31186e4d367d16215209709a3ad5d1354abdec8fa53223e5e64
MD5 91673d2ae5671d46e457b98dd35d3c6a
BLAKE2b-256 ffb918081e95cc6aa3ef7ef6c9e4e50d0bc041a1ae88b9bffccd9ed48ddb4f05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c24416038849ef80fd53c46bf1e5f71d0872dc3a04108a38dc1f4ff2c69ea5d9
MD5 96fb9de724a024f8e6ace592058a3f85
BLAKE2b-256 7b6307a2ce3a8bb3c106d9aeff37d622fa540bc4a100e816fc173c194afad492

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3b7584a94b7e5d0aaf8aef78e1b4b22fc303210eb0c45d88335873250df78ac0
MD5 78e43d996ba2bc2f0a861a190a611cb7
BLAKE2b-256 e8e89ab1e37a6ffa688ec24acbc5b08eb3326a078f36f268f3db7a76fac23020

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.5-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.5-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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a95a2f032deb73c22f3e6001bbf140940708b1bc6c5528a6c8cd0b9c0476587
MD5 2554738c084c80992ba8d2d27ef36544
BLAKE2b-256 3540a9536958bb999ad2512070e869d6151feb28931fda17fb3fe51b5f158a70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e22094af6777905abd30dc67fc33a521e1acf418c613847ac29d5e032f8d675
MD5 8db2cb68bb5025236f61017bfa1acf4b
BLAKE2b-256 1b820b70622b5738608f6595f4a3f3c437f947b0f9a9f0df95a46bc76c6149ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 533c173ef93f42f18a64e83485c2f1fb587aa5082be8b9d73ab5361e68273db8
MD5 38ee72f0e88b9c51edc65d98074bec25
BLAKE2b-256 27e21bb80464519ab1827894237a211dd11bc4779d357b8ed7820f0431574960

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9ec2a4802869fbed18a82880db94e2170a30d51d04cd155fc981d999bb3d4afe
MD5 c97c06606b0f81f228f884dda6b5c037
BLAKE2b-256 28a100ba1df19acb91e915af4edf00b5004dda1f92dab03e63d18fcefa3b50fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 41b3fab81bf9c6f95c71fb1556307c943b95709d1b4930e0a99770a341785154
MD5 f559c93713cea05a13f03e5057274e39
BLAKE2b-256 40bf89f2cb4dbca19692b262f6a7556df82dc0c736c90451eb259588f7969415

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.5-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.5-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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3af6a3a707f7c690a9bd71681fe2147ced93712729a2a3ae07d72d054d080ae
MD5 8c27e600df8d1df6836a3fbb647ebecf
BLAKE2b-256 9c78ef00dff7518f227908ae09fe08f78bd971f768cb622e4689f317df499d19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b59042db4731e0ce61c3c45179d8f5eca8e111775174ba7a76aff4bfc43de8e
MD5 2832c38017ea9ec84db67f464bb9d74e
BLAKE2b-256 f04826f47540a7be9c29d079b6df6a8c5863314c166c194f7b2b1a4ec33372df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ed51ff6d393654c9a14c2b8db490ce26515efcc688c1867b2e9c6cf7c4f813b1
MD5 58e657cf772058eb1397194c34a3bbb2
BLAKE2b-256 a23eb95179bbf9667e247c68e6c2f9e4795389c0f65071476496937ed5b2af27

See more details on using hashes here.

Provenance

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