Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/hyperledger-iroha/iroha/agents-mdgit clone --depth 1 https://github.com/hyperledger-iroha/irohaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/hyperledger-iroha/iroha/agents-md)<a href="https://agentmods.dev/instructions/hyperledger-iroha/iroha/agents-md"><img src="https://agentmods.dev/badge/instructions/hyperledger-iroha/iroha/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.04449 | $0.04449 |
| Opus 5 | $0.02225 | $0.02225 |
| Sonnet 5 | $0.00890 | $0.00890 |
| Haiku 4.5 | $0.00445 | $0.00445 |
Grade A, and why
iroha AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS Instructions
These guidelines apply to the entire repository, which is organised as a Cargo workspace.
Quickstart
- Build workspace:
cargo build --workspace - Builds can take about 20 minutes; use a 20-minute timeout for build steps.
- Test everything:
cargo testorcargo test --workspace(note that this run typically takes several hours; plan accordingly) - Lint strictly:
cargo clippy --workspace --all-targets -- -D warnings - Format code:
cargo fmt --all(edition 2024) - Test one crate:
cargo test -p <crate> - Run one test:
cargo test -p <crate> <test_name> -- --nocapture - Swift SDK: from the
IrohaSwiftdirectory runswift testto execute the Swift package tests. - Kotlin SDK: from the
kotlindirectory run./gradlew :core-jvm:test --console=plain; build Android artifacts with./gradlew :client-android:assembleRelease :offline-wallet-android:assembleRelease --quiet. - Android SDK: from
java/iroha_androidrunJAVA_HOME=$(/usr/libexec/java_home -v 21) ANDROID_HOME=~/Library/Android/sdk ANDROID_SDK_ROOT=~/Library/Android/sdk ./gradlew test. - Scripts dependencies:
python3 -m pip install -r scripts/requirements.txt. - Script tests:
pytest pytests/scripts.
Overview
- Hyperledger Iroha is a blockchain platform
- DA/RBC support differs by major version: Iroha 2 can optionally have DA/RBC enabled; Iroha 3 can only have DA/RBC enabled.
- IVM is the Iroha Virtual Machine (IVM), a virtual machine for the Hyperledger Iroha v2 blockchain
- Kotodama is a high level smart contract language for the IVM that uses .ko file extension for raw contract code and it compiles to bytecode which uses .to file extension, when saved as a file or on-chain. Typically, .to bytecode is deployed onchain.
- Clarification: Kotodama targets the Iroha Virtual Machine (IVM) and produces IVM bytecode (
.to). It does not target “risc5”/RISC‑V as a standalone architecture. Where RISC‑V–like encodings appear in the repository, they are implementation details of IVM’s instruction formats and must not change observable behavior across hardware.
- Clarification: Kotodama targets the Iroha Virtual Machine (IVM) and produces IVM bytecode (
- Norito is the data serialization codec for Iroha
- The entire workspace targets the Rust standard library (
std). WASM/no-std builds are no longer supported and should not be considered when making changes. - Universal-account model:
AccountIdis the canonical account identity and is always domainless.- Domain context for routing, aliasing, and ownership lives outside the canonical account identity in alias bindings and domain-owned entities.
- Account aliases are a separate SNS/account-label layer. Both domain-qualified aliases like
[email protected]and dataspace-root aliases likemerchant@paynetbind to the same canonicalAccountId. - In tests and fixtures, seed the universal
AccountIdfirst, then add alias leases, alias permissions, and any domain-owned state separately. UseAccount::new(...)for account registration and bind aliases separately only when the behavior under test depends on them.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 199 lines · 4,449 tokens per session scan A c12a2ee2a4e9
iroha AGENTS.md is an instructions file published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,449 tokens to every session, about $0.0222 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other instructions, from other repositories
appwrite AGENTS.md
AGENTS.md instructions for appwrite/appwrite, covering appwrite, commands, stack, layout and libraries.
netdata AGENTS.md
AGENTS.md instructions for netdata/netdata, covering agents.md, goals, requirement language, working with the user and development principles.
Get-Started-with-Web3 AGENTS.md
AGENTS.md instructions for beihaili/Get-Started-with-Web3, covering get started with web3 agent notes, 项目定位, ceo 运营目标, 常用命令 and ai-native 内容层.
selfhost-ai CLAUDE.md
Claude Code instructions for kossakovsky/selfhost-ai, covering claude.md, project overview, core architecture, key files and installation flow.
homelab-monitor CLAUDE.md
Claude Code instructions for SikamikanikoBG/homelab-monitor, covering claude.md and conventions.
yoloai CLAUDE.md
Instructions for kstenerud/yoloai, covering claude code specifics and the quality gate runs itself here.