H2 AIDM · L3 · Application layer
H2 Code Logo

H2 Code (H2CD for short)

The desktop agent that stays
on course through long tasks.

It writes documents, does research and builds spreadsheets. H2 Code is an L3 application built on the three layers below: H2 Harness is built in, and it connects directly to H2 Model Combo.

See how it does it Watch the film (2 min 17 s)
H2 Code
Go through three financial reports, build a comparison table, then make a one-slide deck and send it to the CFO.
  1. Read three financial report PDFs
  2. Extract revenue, gross margin, cash flow
  3. Cross-check definitions and units
  4. Build the comparison table
  5. Review: check every number
  6. Build a one-slide deck
  7. Approval checkpoint: approve before sending out
  8. Send to the CFO
CompanyRevenue (¥100M)Gross marginOperating cash flowA———B———C———
Operating comparison of three companies

Illustrative The task is split into multiple steps, and every step has gates and review; any action that sends something out, incurs charges or writes to a business system stops at an approval checkpoint and waits for a person to approve.

About 0s
Time to first token for long-context agent tasks (measured on H200).
Measured
200–300
Measured output speed per stream on H200 (tokens per second); about 90 before optimization.
Measured
About 0million
Context limit in tokens, same tier as official.
Same tier as official
From 0servers
The platform for a private deployment needs only 2 commodity servers; data stays inside your environment.
Live
Long tasks · H2 Harness built in

When a step fails, redo only that step.

At 95% per step, the chance of 30 steps in a row all going right is only about 21% — nearly eight in ten long tasks hit an error along the way (illustrative math, assuming independent steps). H2 Code splits the task into short closed loops, and only the step that fails is sent back.

30-STEP TASK · SAME FAILURE RATEIllustrative
Common approach progress0 / 30H2 Code progress0 / 30

Illustrative animation: every step on both tracks has the same probability of error (5%, that is, a 95% per-step success rate). The only difference is what happens after an error: restart the whole run, or send it back to the same step and redo it against a diff list.

Long context · Direct to H2 Model Combo

What it has read, it does not read again.

Without caching, an agent has to recompute all the history it has already read at every step, and the longer the context, the longer the wait. Prompt caching is already common practice; the hard part is making it hit reliably on your own compute under high concurrency.

An H2 Code session is pinned by the L0 scheduler to the lane that holds its cache (session affinity), so the next step computes only what is new: about 1 second to first token.

SAME REQUEST · LONG CONTEXTIllustrative
Caching off (baseline)Same hardware, recomputed every step
Compare the gross margin differences across the three companies
0.0 s
H2 CodeStateful cache · lane pinning
Compare the gross margin differences across the three companies
0.0 s

About 1 second is taken from long-context measurements on H200 Measured; about 34 seconds on the left is our own baseline on the same hardware with caching turned off; it does not represent other products. The scenario is a demo, and time is compressed about 6×.

Five engineering differences

The difference is not the interface,
but the full engineering stack beneath it.

DimensionCommon approachThe H2 Code approach
Long-task stabilityOne prompt executed serially; as the steps add up it tends to drift off topic and miss things, and an error often means restarting the whole run.H2 Harness built in: division of labor by role, programmatic gates and AI review; only the step that fails is redone.
Long-context responseWithout caching, every step recomputes the full history; the longer the context, the longer the wait.Direct to H2 Model Combo: stateful cache + session affinity (lane pinning), about 1 second to first token; 200–300 tokens per second per stream Measured
Memory and collaborationState stays in the browser or on the local machine; switch devices and the thread is lost, and it is hard for a colleague to take over.Server-side dual-scope memory: personal progress follows the person and resumes across devices; project records and skills follow the workspace and can be inherited by the team.
Multimodal deliveryMostly text; charts, documents and images have to be carried back and forth by hand.A unified multimodal task graph: text, tables, slides, images, audio and even video are all task nodes, delivered directly as finished work.
Cost and dataDepends on pay-as-you-go public cloud calls, so long tasks run up high bills; business data has to be uploaded to a third party.Pay-as-you-go at 30% of the model vendor's official list price; the platform can be deployed privately from 2 commodity servers, and data stays inside your environment; high-risk actions have approval checkpoints.
Use cases

Not just chat.
It delivers finished work.

USE CASE 01

Deep research and document writing

Searches public sources and the company knowledge base, cross-compares multiple PDFs, financial reports and contracts, and after “write → verify → format gate” outputs a report, research note or presentation deck.

USE CASE 02

Data analysis and spreadsheets

Reads Excel, CSV and business databases, automatically cleans, calculates and charts, and produces a business review; the numbers are computed by programs and checked item by item, not left to the model's mental arithmetic.

USE CASE 03

Cross-system business processes

Connects to ERP, CRM and OA (office automation) systems through skill packs to handle approval pre-processing, compliance audits, customer follow-ups and scheduled summaries; it stops at an approval checkpoint before writing to a business system, and you approve with one tap on a phone or computer.

Delivery options

Ready out of the box,
or turned into your company's own product.

Individuals and teams

Monthly fee per seat

Ready out of the box; the team shares workspace records and skills.

Enterprises and institutions

White label + private deployment + custom skill packs

Switch to your company's own name, icon and price list; deployed in the customer's data center, with the platform starting from 2 commodity servers; dedicated skill packs and system integrations developed around the company's workflows.

Where it sits in H2 AIDM

Its capabilities
come from the three layers below.

Resources

H2 Code whitepaper

Five engineering differences, three kinds of use cases and the delivery options. The same content as this page.

← H2 AIDM · L2 AgentsH2 Harness