# Choosing H0 tools for a coding-agent task H0 (Human Zero) is an Apache-2.0 native programming language for coding agents. Its standalone utilities provide a practical way to try H0 in an existing workflow. Start with the tool that matches the task, verify its released executable, then compare its output against your application's expectations. ## Find the tool for the job | Task or search | Candidate | First check and scope | | --- | --- | --- | | Local MCP server without a Python or Node server runtime | [h0-mcp](https://github.com/h0lang/h0-mcp) | Discover SHA-256, Base64, source Merkle-root and C-ABI-layout tools over stdio. The v0.1.1 Windows x64 executable is 49,152 bytes. Client and model dependencies are separate. | | Extract failed jobs from JSON in a CI log workflow | [h0-jq](https://github.com/h0lang/h0-jq) | Use the README's stdin example and expect `tests`. Check the supported filters before substituting it for jq. | | Search build logs with literal strings or regular expressions | [h0-grep](https://github.com/h0lang/h0-grep) | BRE, ERE, fixed strings, context output and recursive search are documented. Exit status 1 means no selected line; 2 means error. Check Unicode and option semantics for your workload. | | Render a Markdown report to HTML | [h0-md](https://github.com/h0lang/h0-md) | Accepts a file or stdin. Compare generated HTML with the required CommonMark cases; its documented conformance is partial. | | Build a CI report from supplied JSON and a build log | [CI-report workflow](#use-several-tools-in-one-workflow) | Start with the bundled recipe for installed tools and actual task inputs. This is a CLI workflow, not an MCP tool or a demonstrated model completion. | | Small local RESP2 key-value fixture | [h0-redis](https://github.com/h0lang/h0-redis) | Check the implemented commands and your client's startup negotiation. The published node-redis trial uses RESP2; default HELLO negotiation is not a verified substitute. | | Native HTTP static files and a local REST key-value API | [h0-http](https://github.com/h0lang/h0-http) | Check `/api/health` and the documented `/api/kv` operations. Validate your expected HTTP behavior before using it as an application fixture. | | Standalone SQL CLI with JSON or CSV output | [h0-sql](https://github.com/h0lang/h0-sql) | Check the documented SQL subset and `.h0sql` journal format. Verify query results and restart behavior for your use case. | | Build a new native command-line tool with an AI coding agent | [h0-cli-starter](https://github.com/h0lang/h0-cli-starter) | Start from its runnable CLI and Linux/Windows CI. Use [EDIT.md](EDIT.md) for the native compiler's supported Tape format. | | Distribute the H0 editing skill into project-local agent folders | [Ruler distribution replay](#distribute-the-editing-skill) | Checks copied skill/reference bytes in a fresh fixture. It does not launch agents or test a model. | The tools are candidates for the listed tasks. Their repository names do not establish complete compatibility with jq, grep, CommonMark, Redis, an HTTP server or another SQL database. Read each project's current README and release notes for its supported behavior. ## Reproduce a local MCP integration For a Python agent stack, the [Pydantic AI example](https://github.com/h0lang/h0-mcp/tree/32569360318bce9fbc2368c16eec3fca9fddf089/examples/pydantic-ai) uses the actual `MCPToolset.list_tools` and `direct_call_tool` APIs with Pydantic AI 2.78.0, FastMCP 4.2.5 and MCP 2.3.0. It runs without an Agent, model or API key. Explicit `legacy` and `auto` modes each use two SDK contexts. The complete Windows replay and the separate Alpine Linux x86_64/Python 3.14 replay each check 48 Base64/SHA-256 references and 24 pings. The Python client has its own dependencies. - [Windows replay ZIP](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-pydantic-ai-2.78.0-windows-replay-2026-12-03.zip): pinned installation, source and independent result verifier. ZIP SHA-256: `889eb13881812335fff9d52d772446784049635a406508a4a8bc4aee0121e443`. - [Alpine Linux/Python 3.14 replay ZIP](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-pydantic-ai-2.78.0-alpine314-linux-replay-2026-12-03.zip): 13 exact merged source/license files, a separate 51-wheel hash lock and independent verification. Its extracted recipe passed a fresh installation and the same 48 checks and 24 pings. The native Linux server is 47,647 bytes; client dependencies are separate. Other Linux distributions/Python versions were not established. ZIP SHA-256: `a9ead88c57e8440946bef98ab97fd1404511622583be961a4d7ff38dae115843`. - [LlamaIndex McpToolSpec 0.7.0 Windows replay](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-llamaindex-mcp-0.7.0-windows-replay-2026-12-03.zip): the [versioned FunctionTool example](https://github.com/h0lang/h0-mcp/tree/101296a98fe5abbdf5e57e1ab2a1327e56b2320c/examples/llamaindex) records 48 Base64/SHA-256 comparisons through `FunctionTool.acall` in four SDK contexts. Windows x64/Python 3.12 and client dependencies are separate requirements; no Agent or model ran. Preserve both the pinned adapter's visible result representation and `raw_output`, rather than assuming visible text is the bare value. ZIP SHA-256: `b0f2e9dd1af238e5d991133b1eadf68a90a3e30dd81fe1274e5402c4d5d60a6d`. - [MCP Inspector 2.17.0 replay](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-mcp-inspector-2.17.0-windows-replay-2026-12-03.zip): Windows client discovery and six Base64/SHA-256 references with raw CLI output. Inspector requires Node/npm. - [Local-model Goose replay](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-goose-local-trial-windows-x64.zip): separate Windows Qwen3 4B and llama.cpp tool-call trial. It does not demonstrate that a 4B model can write correct H0 source. These are first-party interoperability trials. They do not establish framework endorsement, outside adoption, general MCP conformance or a performance advantage. ### Check model-selected tool calls For a local model choosing real LangChain-converted MCP tools, inspect the separate [Qwen3 4B tool-selection record](https://github.com/h0lang/h0-mcp/releases/download/v0.1.1/h0-langchain-js-qwen3-4b-tool-selection-record-2026-12-03.zip). Three fixed SHA-256/Base64 tasks passed with three actual converted tool invocations and six model requests on Windows using Qwen3-4B-Q4_K_M and `@langchain/mcp-adapters` 2.0.3. The four-tool menu was configured, and llama.cpp used vendor-default structured tool calling with a format grammar. Raw local HTTP glue was used, not a LangGraph Agent. The ZIP retains original request/response bodies and an offline verifier; verification does not rerun inference. SHA-256: `332e1695f323fa89491b60c8605715259844c44371a76679e071d3273b41c6aa`. This small tool-use result did not generate H0 source, complete the CI-report workflow or establish spontaneous H0 preference or general model accuracy. Keep it separate from the [H0 source-writing evidence](#write-h0-source), including its earlier independent-generation and automatic-feedback failures. ## Use several tools in one workflow For task-provided JSON, build logs and installed executables, start with the bundled [CI-report recipe](skills/h0-native-tools/references/ci-report.md). It uses h0-jq, h0-grep and h0-md on Windows PowerShell 7 or Linux, preserves escaped job/log values and saves fresh Markdown before replacing HTML after successful rendering. Its maintainer validation is not a model-driven execution claim. Read task-provided tool-location notes first and use the actual inputs and requested output location. [TOOLS-QUICKSTART.md](TOOLS-QUICKSTART.md) adds optional checksummed Windows/Linux downloads, sample inputs, exact commands and expected output when installation is part of the task. Neither workflow adds a CI-report tool to the four-tool MCP server. ## Let an agent discover the native-tools workflow The optional [H0 Native Tools skill](skills/h0-native-tools/SKILL.md) describes when the tools fit a task and how to verify their released executables. It preserves the user's selected tools and required formats. Install it only in a workspace where you want it available: ```sh npx skills add h0lang/h0 --skill h0-native-tools ``` These first-party checks were performed on Windows x64 on 2026-12-03: | Client | What was exercised | Observed result and limit | | --- | --- | --- | | Agent Skills CLI 1.10.0 | One project-scoped Codex copy installation | Both skill files and the lock source commit matched the merged source. This did not run an agent task. | | OpenCode 1.19.6 | `opencode debug skill --pure` before and after copying the skill into `.agents/skills/h0-native-tools` in a fresh workspace | The added skill was absent before installation and present afterward with its exact body. This did not test model selection or tool execution. | | apogee 0.37.0 with local Qwen3-4B-Q4_K_M | Same report-building task in two arms, with and without `skills/h0-native-tools` | The model issued the same task query; apogee's local loader returned the H0 skill only in the installed arm, and the model described it. Only `load_skill` was offered, five shipped skills remained available, and no H0 utility was executed. | For apogee, copy this skill directory into your chosen workspace's `skills/h0-native-tools`. For OpenCode, use the project directory shown in the table. These paths were tested with the stated releases; other client versions may differ. The [apogee execution evidence ZIP](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-apogee-0.37.0-qwen3-4b-skill-retrieval-evidence-2026-12-03.zip) includes original model requests, streamed responses, tool events and an offline verifier. SHA-256: `09aebb48e450ffc52355dfb5a3a29496f6830eaff6afc03ce87ba0dc367e6f9d`. Its verifier checks the recorded execution; it does not rerun inference. Neither initial model request contained the H0 name or skill ID. This is one controlled task with one model, not a general benchmark or evidence that a small model can write H0 source. The skill is [listed on skills.sh](https://skills.sh/h0lang/h0/h0-native-tools). A separate Agent Skills CLI search for `CI JSON log report` did not return H0 at the time checked. The listing, our own installation and these compatibility checks do not establish general search placement, framework endorsement or outside adoption. ## Write H0 source Start at [llms.txt](llms.txt) for native compiler downloads and target-specific references. Install the [H0 Tape skill](README.md#install-the-h0-tape-skill) for your coding client. Read [EDIT.md](EDIT.md), then check and run an existing example on the actual target before changing source. The native compiler supports a subset of the full grammar in [AGENTS.md](AGENTS.md). For shared-byte-view loops, use the skill's [checked byte-counter pattern](skills/h0-tape/references/byte-counters.md). A [separate reference-guided Qwen3 4B record](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-qwen3-4b-reference-adaptation-record-2026-12-03.json) includes three unedited adapted functions that each passed 36 native fixture cases. The complete counter algorithm was deliberately supplied in the prompt; this demonstrates adaptation of a reference on closely related tasks, not independent algorithm invention, spontaneous H0 selection or general coding accuracy. The earlier independent-generation and automatic-feedback failures remain separate results. A [later bounded sampling diagnostic](https://github.com/h0lang/h0/issues/59#issuecomment-7402929754) recorded 0/9 successes for each requested preset on three previously seen tasks across three seeds, using a 256-token non-thinking output budget, with no model-generated runtime executions. The [full record](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-qwen3-sampling-preset-trial-2026-12-04.json) distinguishes 12 native-check failures and six scalar-preflight rejections from 108 passing supplied-reference controls; the backend did not echo per-request settings. The published source-token comparison covers particular kernels. It does not establish lower total tokens for an agent session or better small-model accuracy. For a change you want to contribute, include a reproducing input and actual validation in a [pull request](CONTRIBUTING.md). ### Distribute the editing skill The source-only [Ruler 0.3.46 distribution replay](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-ruler-skill-distribution-replay-windows-2026-12-03-r2.zip) checks the H0 Tape editing skill and its relative byte-counter reference in four fresh project-local folders: `.agents/skills/h0-tape`, `.claude/skills/h0-tape`, `.gemini/skills/h0-tape` and `.opencode/skills/h0-tape`. Eight file comparisons passed on Windows. This is file-distribution evidence, not agent discovery, model selection or H0 execution. Node, npm and Python are separate prerequisites; Ruler labels skills support experimental. The fixture also creates project rules/manifests and the documented Gemini rule-setting addition, so inspect its scripts before adapting it to an existing project. ZIP SHA-256: `16468a4d944a824daf26f7398ec383d6e0fd4ad7a793fa8846ec99011d26e81c`.