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

Uploaded CPython 3.13Windows x86-64

agently_devtools-0.1.2-cp313-cp313-win32.whl (1.4 MB view details)

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

agently_devtools-0.1.2-cp312-cp312-win32.whl (1.4 MB view details)

Uploaded CPython 3.12Windows x86

agently_devtools-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

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

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

Uploaded CPython 3.12macOS 11.0+ ARM64

agently_devtools-0.1.2-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.2-cp311-cp311-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86-64

agently_devtools-0.1.2-cp311-cp311-win32.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

agently_devtools-0.1.2-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.2-cp310-cp310-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.10Windows x86-64

agently_devtools-0.1.2-cp310-cp310-win32.whl (1.4 MB view details)

Uploaded CPython 3.10Windows x86

agently_devtools-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.0 MB view details)

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

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d7da813c389031ac121842346fdb1e1277b8e4776962b3a405eb22158528790d
MD5 1b95e5525f1b2aee348825ce1f91fb5e
BLAKE2b-256 93112914e0b8b181576ade9d30d3513b59f3580ea04c30ad5528f5afab558b92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 c8b2663dcaa766d19de815a7653425392f0442f832ec69c230340179e3c43015
MD5 54366647f05d1ff8817652d85908e7c1
BLAKE2b-256 4ab286e61f71ac450c6b14fa01684b1833360c72df320599af38fc6efeec579f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.2-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.2-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.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ca245545beaf7897ea731446447ff22ccdc7cbb0ef1a8ef330d50fc9f228d88
MD5 a711110f2b2f8736b062173ac7518fd7
BLAKE2b-256 e91a50b96499059f184453b273126d0da4152bdfc9b0bca4f59f482992b8a2d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b339f3c57f67d1aa7075b74ab17a999a4d7853a6feae564b3d800d62de6dc4f
MD5 2b11e29702cd8e50915d00819e776801
BLAKE2b-256 21c2faf6b5197cd1333797bd8ad164cf02302c1f58d7edbaec274f072e1ede70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d44c4b381f6fda224e5ba8487e79ed3fc9b440ad2bf253276f7c5493bd7ca69c
MD5 5bb6c9fc4d2e7f69d3beaaa9b136a995
BLAKE2b-256 78bf5a4fc427e2a396e1c54b7b378cd4df19f8ffda393246c075f46ff6b2ea55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bfdba4ae8c84ddd9bac348270ad99090cce42726df6b94879988d7b919794e9d
MD5 2b07ccd1cdb872d40278e9abcea95585
BLAKE2b-256 1e29b4d565f0f3e49663c78f0acc4ec1f552126891828836fff4a5813c05acb6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 765e0ea8a48cf58fe8a2e831aff1cb37e9c37b97b057783aab6716072b3be3ac
MD5 a9c1d2d3053d6ae6848f9d6636416665
BLAKE2b-256 671af9dbbad322fa8c6c29ba320d45376dd0584ed38a3f63e8d69ce87a6eb90c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.2-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.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13c8097d6aec1798ccdd1ef27ef9d65e3793921c017f4256a1c98b1cb3b1085e
MD5 4b3d728510e1b689e06161c5d183c352
BLAKE2b-256 6986faef796474873a426e00671450b7c7a091e2318f954bcf1edb2357ce80ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4fb275b2115c0419fcc6dcb821b2f1cab038101f9815829b58757791ae6b0229
MD5 b661ca5a02d7043adfddaf449d87bd5f
BLAKE2b-256 c160ae63cd1f08fbdaf9ae03c5b43318e04c604474be8355ffa1cfa152baba82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f76e23d77926404e65f8bd4469cb5ca44cd643576cac84e00e93c36908d8805a
MD5 3c31ab5cc91d0767c0984ad4084be8e4
BLAKE2b-256 3fc02709467537d70efd19eefa158a46d3473b79a9273fc7d93f304fbea2a47a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5472ce7c5641f74503c9e2b77590765fb33ad5242f9747a1ab95d964edbd5e7f
MD5 a3fa0e0563fe1c003626a253eb6a2ef2
BLAKE2b-256 956fd470bd0ca8bba3f9d7d2a78aa43266402f90d7278b9d45e0d335ec38aac2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 06d43277593a2f44be93872b24e93592bf84ff84f6331f7b7cd9c9852405e4bd
MD5 0f78a68746a9cd50aef9916aa9274810
BLAKE2b-256 cf4d941a3cbf2aad381e21b5fa910ea8d68198a092bec2030aea1a1a5d9dba64

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.2-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.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee3f65efc7434c5c3073b2ced53aff3c69378f23fe2483773eb29ab7f386c085
MD5 e692d1bc5887410532b6cda78da8a0a6
BLAKE2b-256 96fa62f0e63d1c9ae111c1ea7780a107447a6a302b9d9334fa3caff011c1e808

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c6a130087b19f428d3a7faa25bc87b0ea62c344eb9c6bee1a53c3c1d02d884c
MD5 232a01d03350610f63bc572a58b54302
BLAKE2b-256 b3935b7d65ea74c9900ba1f922e67b4933743d1a006ef843f40340593964166e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ca6449f2e92a96c80d9e669abdd8fb1de3ee22cb470346a747225386e364b451
MD5 27bceef0da578db697c77dee9afb2f7d
BLAKE2b-256 6b2d31c99dd9fb1787dd2d88f20cabf233c33f7e641b8348da41de13a9d5cfb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5c056ded4fb6e0d7c775d84f6693909a7adcefed33acad870349d7d72da45c3a
MD5 7ecdbdecfdbf940180d19cc9c3e2e545
BLAKE2b-256 ef61db4095e697959db58fd5dca3b8c2b8fd2456406b8ef8517d810c9d31120d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 59252b70d6897751fc44044c27ddf970559b85a0a8f25d3b08c110ad52aeac25
MD5 83146f2d10c42bed85180ff4e2d10c1a
BLAKE2b-256 df0d424f12dd3b5454913b044b44e4cd47686be3f33bfbc0eb2b4eab5ec96362

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.2-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.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec46593f78b703e7fa476db15eb4b2b5c8720066553dd69e16877012d5acd06a
MD5 fb547742ea737945d3a034549b8da195
BLAKE2b-256 db166bc31eac6b84ea5937b717b8ad8fa3850f11d1990209603d1cf099b8bda4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55586c116f44811cedae9f8590cbc8a4ce5cdb8d3f39d0c1f18b7025f6369a26
MD5 93c9b8c5d30d6da0cd55692c95fde382
BLAKE2b-256 f81494ffa142bc865c8ab9372f5aa6452ad118e25ecdea9fc39ff5f698701d6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 de65b47132b5615334bc1e106fbfb6f4124f097ca5f1ec0e2d86f3b56fbaaf61
MD5 58f4ea07ac7a550d38d576ec6cedd0bc
BLAKE2b-256 5a0c2ad888030e65b9d150019f6d28166d6092035ece554643cd792450fa7edf

See more details on using hashes here.

Provenance

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