iroha AGENTS.md

iroha AGENTS.md is an instructions file for Codex, OpenCode from hyperledger-iroha/iroha. It costs 4,449 tokens per session, scanned A, original, Apache-2.0.

AGENTS.md instructions for hyperledger-iroha/iroha, covering agents instructions, quickstart, repository structure, development workflow and documentation.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/hyperledger-iroha/iroha/agents-md
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for iroha AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hyperledger-iroha/iroha/agents-md.svg)](https://agentmods.dev/instructions/hyperledger-iroha/iroha/agents-md)
Your own site
<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>
Per session 4,449 This file is loaded in full into every session.
When invoked 4,449 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash c12a2ee2a4e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

AGENTS.md · 199 lines

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 test or cargo 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 IrohaSwift directory run swift test to execute the Swift package tests.
  • Kotlin SDK: from the kotlin directory 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_android run JAVA_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.
  • 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:
    • AccountId is 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 like merchant@paynet bind to the same canonical AccountId.
    • In tests and fixtures, seed the universal AccountId first, then add alias leases, alias permissions, and any domain-owned state separately. Use Account::new(...) for account registration and bind aliases separately only when the behavior under test depends on them.

Read the full file on GitHub · 199 lines

Changes

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.

  1. 2d ago First seen · 199 lines · 4,449 tokens per session scan A c12a2ee2a4e9

Subscribe to this mod's changes

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.