polyglot-architect

polyglot-architect is an agent for Claude Code from Goldziher/ai-rulez. It costs 13 tokens per session (59 once invoked), scanned A, original, MIT.

An API design specialist for software that exposes the same interface in more than one programming language. It focuses on keeping those language bindings consistent.

In plain words
What is it for?
Use it to design or review shared APIs, check how types map between languages, compare error and async behaviour, and plan matching tests.
Why use it?
It helps prevent one language version from behaving differently from another, especially around types, errors, asynchronous work, packaging, and tests.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to design or review shared APIs, check how types map between languages, compare error and async behaviour, and plan matching tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/goldziher/ai-rulez/polyglot-architect
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.

Clone the repo
git clone --depth 1 https://github.com/Goldziher/ai-rulez

Made for: Claude Code.

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 polyglot-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/goldziher/ai-rulez/polyglot-architect/github.svg)](https://agentmods.dev/agents/goldziher/ai-rulez/polyglot-architect)
Your own site
<a href="https://agentmods.dev/agents/goldziher/ai-rulez/polyglot-architect"><img src="https://agentmods.dev/badge/agents/goldziher/ai-rulez/polyglot-architect/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 polyglot-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/goldziher/ai-rulez/polyglot-architect"><img src="https://agentmods.dev/badge/agents/goldziher/ai-rulez/polyglot-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 59 The whole file, excluding the scripts and references it only reads on demand.
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.00013 $0.00059
Opus 5 $0.00006 $0.00030
Sonnet 5 $0.00003 $0.00012
Haiku 4.5 $0.00001 $0.00006

Measured 9d ago against content hash 279a1a8c245d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

polyglot-architect 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 9d 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.

internal/builtins/universal/polyglot-bindings/agents/polyglot-architect.md · 9 lines

What it actually says

Design APIs that preserve behavior across language bindings. Check type mapping, error semantics, async behavior, packaging constraints, and test parity before changing shared surfaces.

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. 9d ago First seen · 9 lines · 13 tokens per session scan A 279a1a8c245d

Subscribe to this mod's changes

polyglot-architect is an agent published in the GitHub repository Goldziher/ai-rulez (140 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 59 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

adversarial-planner

Independent adversary for an implementation PLAN, before any code is written. Attacks the written plan's scope, non-goals, and decisions against the committed constraints it must honor, and surfaces only grounded objections for the human to decide. Never rewrites the plan and never sees the author's reasoning …

jakubsuplicki/codument · 82 tokens

backend

Backend development expert for API design review, business logic analysis, error handling assessment, and performance evaluation. Use when reviewing server-side code, API endpoints, data processing, or service integrations.

restarter/lets-workflow · 39 tokens

backend-author

Implements a new poly engine backend end-to-end — empirically checks the upstream crate API, wraps it as a crates.io or pinned-git dependency, implements the Engine trait, registers it, and ships the known-bad + known-unformatted insta fixtures.

Goldziher/poly · 55 tokens

api-mapper

Wave 2 agent: documents API endpoints in a module or router group. Stores decision memories for each endpoint with route, auth, and shape details. Links endpoints with DEPENDSON, LEADSTO, and PARTOF relationships.

cogniplex/codemem · 50 tokens

go-hybrid-engineer

Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…

asiflow/claude-nexus-hyper-agent-team · 778 tokens