Skip to main content

hanzo-research

Record and query Hanzo R&D evidence in one import. The ONE way every producer (enso-bench benchmarks, hanzo-engine/hanzo-ml kernel-perf, any research project) files runs into the unified /v1/research plane (HIP-0512) — versioned, append-only, idempotent by content, private by default.

import hanzo_research as research

# get/create the experiment; provenance is auto-captured (see below)
exp = research.experiment("benchmark", "grok-4.5", "gpqa_diamond")
exp.record("q1", "grok-4.5", {"answer": "A", "correct": True})   # an attempt, idempotent
exp.snapshot(png_bytes)                                          # a board-snapshot artifact
exp.report(markdown_text)                                       # a generated-report artifact
exp.finish(value=94.3)                                          # seal the run

rows = research.query(project="enso-bench", kind="benchmark")    # read canonical

Zero-config auto-instrumentation

The caller supplies no provenance. On experiment() the SDK reads the run's environment and captures three self-documenting narrative sources, plus machine context:

  • the calling code's docstringwhat this experiment is (write a normal module docstring);
  • the commit messages since this experiment's last recorded runwhat changed + why (commit normally);
  • an optional note= you pass.

Plus git_sha / git_branch / git_dirty, lib_versions, and host. The project self-documents as a side effect of running.

Importer-agnostic, idempotent

ingest(experiments=…, attempts=…) is one idempotent POST. Any source — a SQLite backfill, git history, a kernel-perf campaign — maps its records to stable ids and calls it; re-import is a no-op. "Load all research in" is just running importers.

Config

RESEARCH_BASE (default https://api.hanzo.ai), HANZO_API_KEY (per-org key → Bearer), RESEARCH_PROJECT. Uploads are private; public visibility, training, and commons rights are each a separate grant. Stdlib only (urllib) — importable in any zero-dep harness.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hanzo_research-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanzo_research-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file hanzo_research-0.1.0.tar.gz.

File metadata

  • Download URL: hanzo_research-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for hanzo_research-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb05b49a93119b79e843bdd06cfd5fbf876c816ab98368c0460f57b978c59343
MD5 adc4f6eff9d24cca49b05f29c927f448
BLAKE2b-256 aeea12511f71537b5d4d0e71438aea74c747355ca806d25f381d701fbd159084

See more details on using hashes here.

File details

Details for the file hanzo_research-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hanzo_research-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for hanzo_research-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85101823bb9e90dc33c5d9ab838820f63558c151dbf01cacbd4c02ce2b48fdec
MD5 d649c90b20100afdbff0fd1917382b48
BLAKE2b-256 2d55ecec900940893dc85604cf8062d575bb66908c0127de841ecb3cc665d723

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page