Repository navigation
Atrex Kernel Agent v0.4.1
Light now runs persistent optimization campaigns. Each coding agent keeps its Session
and Git history across Episodes. The Supervisor records measurements and reviews exact
commits, and accepted submissions determine the campaign's best kernels.
Highlights
Persistent Sessions and reviewed submissions
- Agent-owned Git. Each lineage starts with a Git repository initialized from the
starting source. The Agent decides when to evaluate it. An Episode ends when the Agent
finishes a segment, and the next segment resumes the same conversation, workspace,
branches, and uncommitted edits. - Exact-commit review.
submit-kerneluses a saved full Evaluate with passing
correctness and complete per-Shape performance for that commit. Fast permits declared,
reproducible compute libraries. Performance requires self-authored core computation.
Ultra also requires an explicit DSL. Submissions have no minimum speedup requirement.
ABBA is available as a separate, explicit measurement. - Shared campaign evidence. One Measurement Store holds source snapshots, results,
and execution attempts. Pooled lineages can share peer Git refs and versioned
Direction/Experiment records. Accepted submissions determine lineage and global
winners while each Agent retains control of its own HEAD. - Session and measurement budgets. The workflow imposes no active-time deadline
on Episodes or Reviews. Completed segments and main-Agent tokens can limit campaign
admission. GPU queue, request, and per-step deadlines remain independently configurable.
See the Light architecture for the campaign lifecycle and submission
rules.
Tools, execution, and recovery
- DSH and operator tooling.
--agent-cli dshselects
DeepSeek Harness headless Sessions.
The Light skill covers setup and launch. The
inspection tools and read-only
Dashboard show lineage progress, separate Agent and
Review usage, submitted kernels, and Runtime and Agate calls. Operators can export
exact-commit sources and the associated measurement evidence. - OpenSSH GPU execution. A provisioned host can run native Atrex-Bench Evaluate
and same-allocation ABBA on one selected GPU, with diagnostics for supported NVIDIA,
AMD, and T-Head PPU environments. See the OpenSSH backend for
supported operations and isolation modes. - Editable source trees and native Agate contracts. The default
source_treelayout
exposeskernel.pyas the editable evaluator entry point, with optional helpers under
impl/. Light discovers supported Agate options from the installed SDK while keeping
evaluator inputs and execution authority under Supervisor control. - Recovery and publication. Matching in-flight Evaluate requests share one
execution. Interrupted collections retain accepted job IDs, and completed batch
evidence can be reused for matching requests. Resource publication
can recover interrupted writes, and workspace initialization preserves existing
Agent Git state. See measurement recovery
and workspace publication.
Upgrading from v0.4.0
- Install matching wheels and checkout resources. Build and reinstall from the
release checkout. Framework, Light, and Dashboard use Python distribution version
0.3.0. The repository release isv0.4.1. Remove retired distributions such as
atrex-aka-legacyandatrex-aka-observation-long-horizonfrom a reused environment
before installing the new wheels. See installed startup. - Use a new campaign directory. Continue older handoff/promotion campaigns with
their original checkout and installed packages. See migration and rollback. - Update launch scripts. Rename
--op-dirto--problemand--workspace
to--workspace-base. Remove the optimizer's--separator. Choosefast
(default),performance, orultrain place ofleaderboardand
production. Ultra requires--framework. The Quick Start
has complete examples. - Update report and measurement consumers. Read accepted
submit-kernelrecords
and the Campaign Measurement Store in place ofepisode-reportand promotion
receipts. Native Evaluate defaults to five correctness cases per Shape, ten
warmups, and twenty benchmark iterations. Remove the retired
workflow.config.numerical_validationandworkflow.config.episode_timeout_seconds
options from launch patches.