tachyon AGENTS.md

tachyon AGENTS.md is an instructions file for Codex, OpenCode from kpavlov/tachyon. It costs 799 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Tachyon, a Java and Kotlin Model Context Protocol (MCP) server. They define its modules, coding style, commands, testing approach, and contribution rules; TDD means writing tests before or alongside implementation.

In plain words
What is it for?
Use them when changing Tachyon’s core server, Maven modules, end-to-end tests, conformance tests, or release-related code.
Why use it?
They give coding agents short, project-specific rules for making and checking changes, including how to handle tests, formatting, evidence, and Git actions.

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/kpavlov/tachyon/agents-md
Clone the repo
git clone --depth 1 https://github.com/kpavlov/tachyon

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 tachyon AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kpavlov/tachyon/agents-md.svg)](https://agentmods.dev/instructions/kpavlov/tachyon/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kpavlov/tachyon/agents-md"><img src="https://agentmods.dev/badge/instructions/kpavlov/tachyon/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 799 This file is loaded in full into every session.
When invoked 799 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.00799 $0.00799
Opus 5 $0.00400 $0.00400
Sonnet 5 $0.00160 $0.00160
Haiku 4.5 $0.00080 $0.00080

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

Security

Grade A, and why

tachyon 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 3d 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 · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tachyon MCP — Agent Guide

Style

  • Me Caveman. Talk short. Use emoji.
  • Verdict first, then evidence. No preamble.
  • Claims about code carry file:line proof. Verify in code, never answer from memory.
  • Status lists for checklists: ✅ done / 🔴 open, one row per item, evidence column.
  • Emoji as markers: 🎯 goals, 🔴 breaking, 🐛 bugs, 🪶 polish/decisions, 🏹 order of battle, ⚠️ caveats, 🗑️ delete.
  • Short sentences. No filler words. Dead docs go fire 🔥.

Project

Java 21+/Kotlin 2.2 MCP server. Java first, Kotlin adapts.

Fast Commands

Use IDE MCP for building/running tests if available. Otherwise see CONTRIBUTING.md for make targets (build, test, lint, format, ci, all).

  • Use mvn -q when only pass/fail matters

Parts

  • tachyon-bom — Maven BOM: pins consumer-facing module versions via dependencyManagement
  • tachyon-core — Core: Netty HTTP/SSE, JSON-RPC, event log, MCP registries
  • e2e — E2E tests via io.modelcontextprotocol.sdk:mcp-core v2.0+
  • conformance — Conformance via @modelcontextprotocol/conformance

Rules

  • No cheating!
  • Unattended git commit/push is prohibited. Always confirm with user.
  • TDD + SOLID. TachyonServer is SUT in unit tests.
  • Tests: JUnit 6 + Kotest (Kotlin) / AssertJ (Java) + Awaitility. @TempDir for unit, port 0 for E2E. Prefer E2E, esp. long scenarios; unit only when E2E can't cover, drop unit if E2E already does. No tautologies. Many asserts per test.
  • Nullability: JSpecify @Nullable/@NonNull. @NullMarked at package level.
  • No comments in code unless needs to explain.
  • Javadocs for public API required - this OSS library for users
  • git mv for files.
  • Use MCP tools.
  • Format: Check on make lint, fix with make format.
  • API/Registry design: see docs/architecture/guidance.md before adding/changing a handler SAM (sync/async shape, checked exceptions, descriptor bundling, _meta) or naming registry APIs (ServerBuilder nouns, register/registerAsync/unregister, find, descriptors()).
  • Kotlin DSL (tachyon-kotlin):
    • Each scope class gets its own *Scope.kt file.
    • TachyonServerBuilder wraps ServerBuilder as the DSL receiver. Scope methods on TachyonServerBuilder use clean names (info, capabilities, network, session) with zero Java member conflicts.
    • Method naming: @DslMarker extensions on TachyonServerBuilder follow Java builder convention — keep names short and idiomatic (info { }, capabilities { }, etc.).
    • Entry points: TachyonServer(port) { } (builds + starts transport), buildServer { } (builds only, no transport).
    • Run Kotlin tests: mvn test -pl tachyon-kotlin -am.

Read the full file on GitHub · 49 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. 3d ago First seen · 49 lines · 799 tokens per session scan A 4da4c4ada9fc

Subscribe to this mod's changes

tachyon AGENTS.md is an instructions file published in the GitHub repository kpavlov/tachyon (30 stars, last pushed 3d ago), licensed Apache-2.0. It adds 799 tokens to every session, about $0.0040 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-08-30.