Skip to main content

pytracer-cli

Layer 6 of pyTracer: a CLI that runs agent test collections locally and in CI, matching exactly what runs in a GitHub Action so there are no environment surprises. The GitHub Action and GitLab CI templates are thin wrappers around this command.

pytracer run tests/collection.yaml            # human summary; exit 1 if any scenario fails
pytracer run tests/collection.yaml --json out.json --junit out.xml --comment pr.md

A collection (collection.yaml):

name: my-agent-tests
scenarios:
  - name: summarize-happy-path
    agent: myapp.agents:run        # import path "module:callable"
    entry: { task: "summarize the doc" }
    trace: traces/summarize.jsonl  # recorded spans (JSONL), relative to this file
    mode: full                     # full | partial | live
    assertions:
      - { type: no_errors }
      - { type: contains, needle: "summary" }

Metadata

Release files for pytracer-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytracer-cli 0.1.0
File Size Uploaded
pytracer_cli-0.1.0.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytracer-cli 0.1.0
File Interpreter ABI Platform
pytracer_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.4 kB

Release files / pytracer_cli-0.1.0.tar.gz

Download URL pytracer_cli-0.1.0.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aabf94c803592dc93a5c37c23cad5536bc298ec5556822c24bef43163d57118d
BLAKE2b-256 checksum
How to use checksums
37e56fedfa3c309a706a1088bab268abaeffa420eb210b28d9920e854199997b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / pytracer_cli-0.1.0-py3-none-any.whl

Download URL pytracer_cli-0.1.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f36b547880ba093c82fba6b1732c271b4f74d72d5f0e7ab63e54bf9f28b246
BLAKE2b-256 checksum
How to use checksums
95907a329db56f047c4477999b29bbaf11721866c74357332094e31381770a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page