Skip to main content

TIRx Harness

Documentation Book Related Repository: tirx-kernels

An Open Compiler Harness for Agentic GPU Programming

Get Started | Documentation | Book | Blogpost

Overview

TIRx Harness is a compiler harness combining a minimal stable compiler foundation, a knowledge base, tools, and a benchmark server to help agents develop correct, fast GPU kernels.

TIRx Harness architecture: the agent workflow connects to a knowledge base, compiler analyses, the TIRx foundation, and a benchmark server, with evolution traces and optimized kernels feeding self-improvement.

TIRx Harness brings together:

  • TIRx-lite for kernel authoring: a domain-specific language over the TIRx intermediate representation.
  • Compiler analysis: check synchronization, memory races, and numerical behavior; inspect compiler output and generated GPU instructions.
  • kcoral for remote execution: keep your agent on one machine and run GPU work on another.

Skills guide the agent in using them, while workload contracts define correctness and performance.

Get Started

Install the released package from PyPI:

python -m pip install tirx-harness

To develop the harness, follow Build from source for the build prerequisites, repository checkout, and native submodule setup.

See the documentation for details:

The book Agentic GPU Programming for MLSys explains the design behind the harness and walks through an optimization workflow.

Contributing

Metadata

Release files for tirx-harness 0.1.2.post2

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

Source distribution (sdist)

Source distribution for tirx-harness 0.1.2.post2
File Size Uploaded
tirx_harness-0.1.2.post2.tar.gz 13.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for tirx-harness 0.1.2.post2
File Interpreter ABI Platform
tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details
tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details

Total release size: 25.5 MB

Release files / tirx_harness-0.1.2.post2.tar.gz

Download URL tirx_harness-0.1.2.post2.tar.gz
Size 13.7 MB
Tags Source
SHA-256 checksum
How to use checksums
254f9ffbe00d7b0e93167e7b53511a362db92370030b41a0b6d6f7ecdcbcd51b
BLAKE2b-256 checksum
How to use checksums
cb562cc7980b3c41d10cc3010856af980a9e75cc0eae475fb751174e970bf265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_x86_64.whl
Size 6.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
a66d6c376163f18fe0b1ead63b488e4011b5b9b3700211bdc8f6b12a6338551c
BLAKE2b-256 checksum
How to use checksums
7ac4faf320f7fd6c1a3a4e849cd1141322c30d03d392e80dad1d26a52e726b05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL tirx_harness-0.1.2.post2-cp312-abi3-manylinux_2_28_aarch64.whl
Size 5.8 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
b3a28ac539859947b5c28d8cd16118e0c15a569353dfaa2969c70e7891b77e23
BLAKE2b-256 checksum
How to use checksums
3234a2cd77f32cf738cc9250d45cc5d31eadb64d63abb35f629cf8b10a542bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14
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