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

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.1-cp313-cp313-win_amd64.whl (731.3 kB view details)

Uploaded CPython 3.13Windows x86-64

agently_devtools-0.1.1-cp313-cp313-win32.whl (643.3 kB view details)

Uploaded CPython 3.13Windows x86

agently_devtools-0.1.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (798.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

agently_devtools-0.1.1-cp312-cp312-win_amd64.whl (732.8 kB view details)

Uploaded CPython 3.12Windows x86-64

agently_devtools-0.1.1-cp312-cp312-win32.whl (647.1 kB view details)

Uploaded CPython 3.12Windows x86

agently_devtools-0.1.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (803.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

agently_devtools-0.1.1-cp311-cp311-win_amd64.whl (754.7 kB view details)

Uploaded CPython 3.11Windows x86-64

agently_devtools-0.1.1-cp311-cp311-win32.whl (651.0 kB view details)

Uploaded CPython 3.11Windows x86

agently_devtools-0.1.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (806.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

agently_devtools-0.1.1-cp310-cp310-win_amd64.whl (754.1 kB view details)

Uploaded CPython 3.10Windows x86-64

agently_devtools-0.1.1-cp310-cp310-win32.whl (652.4 kB view details)

Uploaded CPython 3.10Windows x86

agently_devtools-0.1.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (810.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7588ca819912a0d9719b5c5f00454b7a54d4be79380a5d30a688373479198ff1
MD5 9e888ca7644fb920a1ef8d77c21ee2f4
BLAKE2b-256 e5260d34a7d73742f900d50bd0ef401d0af5890c5ff4b66b65e036add200d714

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 1ed93890229ad093aad37ca56d61ad7e9db3e1993c263ec1467b074cca2dc111
MD5 04b199a9ab56221370347c569b72a5a3
BLAKE2b-256 d2f9e7775390f0a40168f5ee34c0c34967d715d08f84abd158b145d1931a9420

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.1-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.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c40e695bc2318bcd6f1805b0b8b44a1e9a0a01a620f68ece6050ce285fae9b8
MD5 897fa298abff3f8dbbbefd1a86328ecf
BLAKE2b-256 e0db63364fd53bf618f4dde71ad11c5517fb5390dca70246144e0dcce1fe0650

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89bbb5d18900f13c51d033b7d3bbdf1e1832445aed5d7612227777aa85a949aa
MD5 ce6de1ca2b444a6c1ef8782826ecd053
BLAKE2b-256 8a2bb6bb23d70f550a37429d3910945ceba2f4ae51f9d4b5edb987a4ee18063e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7449bf43ab0bc06b4231888ffeacdb6863286d57eff77d55fcb289743c7ebf87
MD5 b33b121051d3f865154e58aacf5df14b
BLAKE2b-256 a3e4c9eb77629947a06530dfd298dc9123d0bd0766ab7087e1759c681cebf31e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 6d33e7f01293b98efdcbb9fdfd7c80554d316dd0c68c4fb0940abd9e82f11d88
MD5 df721eb5a6c74092bf6202296fc941ae
BLAKE2b-256 23ca3669bd3de30367e1da0694afc1fddd418cdce3a9b234436982836b628f27

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.1-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.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0edc491958c36f716f7af86020503a100c5064302496cc969986692debb78b2
MD5 2897e5f820acd37db9c97070d92ff759
BLAKE2b-256 6d18326ce02667845c07951c5df0c3669bd79f13cb95f6750c88518bb58c5ed4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c913b598eaff33bef1138536f2a03c0cd744bbdb0a6d2d082651b49f31ea5775
MD5 9a6dda545adc4705965214c2bb89ec6e
BLAKE2b-256 c0f4d8bfa4609e88fc3e2319562d2554d14e098d189cfb1c15cdd60d5358135c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9ea0262e37e7e764ef771d2d1e09c4566222654f936889b977c041c3fed0fa7a
MD5 a25d5d4cfa208405c37a1f626d01aa18
BLAKE2b-256 e881af73ce79a9f7a89741863034dfd45839913e68888f106ea033a7e9d6b457

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 4601b82b8359c7af0802026809b89256db016bcc99e27cc54e3b23cdde92e66a
MD5 54163a8dd25701a5d35fc2ca15c8f6aa
BLAKE2b-256 53a559c86257657b356e9bc6eca0062bb5317a08f89d89526c582d97eb8e484c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.1-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.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f96988010537669199775247f0d944525f031de42f1747f8abf5998fd286d396
MD5 ba6ee5e9f507cd944f316e75ee130448
BLAKE2b-256 768d171121a8fe07592c67a45ddde3798301ea3a2155b65917eb0b6a54280059

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4eb38aed7b33b0a142a5ce0ea1828ab6b9ee739eca30896a3f476d8e2b87800d
MD5 a94a9e80faa2d4160df70020bc835d97
BLAKE2b-256 680685aeaeb344d9ee01491a53b5868aef3404a4d419eca1e5b01aa84c51d5e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f388127ee1f97c4a95b3236e6dc31c22113c83e7cd1a3240d55c108384cfd5c0
MD5 8074121e6967778b0ebfd9f6402b5000
BLAKE2b-256 fb38d95a37b84204c11a0d68d99f2643616f986a4428c110d6125b806efbe7e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 1064b0dbab81fd5796dc97d1db7abf48bb54cdfaa2fb29f063c1436f8b728bc3
MD5 6b0004ab506bd8851240b16065ab24bc
BLAKE2b-256 3d4c53da678e18c75c27406b31f13691c853617e7ef4503f34462bb6ffbf4763

See more details on using hashes here.

Provenance

The following attestation bundles were made for agently_devtools-0.1.1-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.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b04a845b7ab314aece1272319b79d01d3495d04bff809d1c56b4da86009e55b9
MD5 862d74b53a247fcfd7161f5a2323746c
BLAKE2b-256 a53a0dc1c8073a08f3962822a6ffc38347bd8ede001d0fdf340055ccba31b72d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agently_devtools-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 291aaaa377f7066cec41d013a0b9315ecc445345c2ab0eaa0122a8dabf6f7199
MD5 06f7112e060dcb9cbbff11bd2067ddd3
BLAKE2b-256 63bce6eccb1929c4f4eebc2090e92e0125ceefd8e8f467a0ec479ceb67544066

See more details on using hashes here.

Provenance

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

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