It writes documents, does research and builds spreadsheets. H2 Harness is built in, time to first token on long contexts is about 1 second, and it can be deployed privately and rebranded as your company's own.
H2 Code (H2CD for short)
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.
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.
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.
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.
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.
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×.
| Dimension | Common approach | The H2 Code approach |
|---|---|---|
| Long-task stability | One 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 response | Without 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 collaboration | State 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 delivery | Mostly 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 data | Depends 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. |
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.
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.
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.
Ready out of the box; the team shares workspace records and skills.
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.
Long-task orchestration, server-side dual-scope memory, the write / review / gate loop and approval checkpoints all come from the embedded H2 Harness.
Learn about H2 Harness ↓ L1 Models · InferenceAbout 1 second to first token, 200–300 tokens per second per stream, a context of about 1 million tokens, and four kinds of capability slots: language, image, video and audio.
Learn about H2MC ↓ L0 Compute · FoundationPrivate deployment on the customer's existing cards or data-center nodes, with a plan tailored to each card, so that companies can afford it.
Learn about H2GC ↔ L3 Applications · Same layerThe same H2 Harness and capability slots: Yingma hands the short-drama workflow to agents, and H2 Code hands general knowledge work to agents. The real workloads of both flow back to optimize the three layers below.
Learn about YingmaFive engineering differences, three kinds of use cases and the delivery options. The same content as this page.