tachyon: Instructions file for Codex

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

Written for Codex and OpenCode: the file is AGENTS.md.

This is kpavlov/tachyon's own configuration. It tells Codex and OpenCode how to work on tachyon itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tachyon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kpavlov/tachyon. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kpavlov/tachyon/main/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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tachyon AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kpavlov/tachyon/agents-md"><img src="https://agentmods.dev/badge/instructions/kpavlov/tachyon/agents-md.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00799 $0.00799
Opus 5.5 $0.00320 $0.00320
Sonnet 5.5 $0.00160 $0.00160
Haiku 4.5 $0.00080 $0.00080

Measured 1mo ago against content hash 4da4c4ada9fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 1mo ago), licensed Apache-2.0. It adds 799 tokens to every session, about $0.0032 per session on Opus 5.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.