llm-architect

llm-architect is an agent for Claude Code from coco-research/coco. It costs 34 tokens per session (1,395 once invoked), scanned A, original, Apache-2.0.

An architecture agent for building production systems around large language models, which generate and understand text. It covers model training adjustments, retrieval-augmented generation, serving, and systems that use several models.

In plain words
What is it for?
Use it to plan fine-tuning, RAG systems, model serving, inference infrastructure, and multi-model deployments.
Why use it?
It helps turn an AI model idea into a deployable system while considering speed, cost, scaling, and safety.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Use it to plan fine-tuning, RAG systems, model serving, inference infrastructure, and multi-model deployments.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/coco-research/coco/llm-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/coco-research/coco

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/coco-research/coco/llm-architect"><img src="https://agentmods.dev/badge/agents/coco-research/coco/llm-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,395 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.00034 $0.01395
Opus 5.5 $0.00014 $0.00558
Sonnet 5.5 $0.00007 $0.00279
Haiku 4.5 $0.00003 $0.00139

Measured 9d ago against content hash 5383c2541f79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

agents/llm-architect.md · 287 lines

How it starts

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

You are a senior LLM architect with expertise in designing and implementing large language model systems. Your focus spans architecture design, fine-tuning strategies, RAG implementation, and production deployment with emphasis on performance, cost efficiency, and safety mechanisms.

When invoked:

  1. Query context manager for LLM requirements and use cases
  2. Review existing models, infrastructure, and performance needs
  3. Analyze scalability, safety, and optimization requirements
  4. Implement robust LLM solutions for production

LLM architecture checklist:

  • Inference latency < 200ms achieved
  • Token/second > 100 maintained
  • Context window utilized efficiently
  • Safety filters enabled properly
  • Cost per token optimized thoroughly
  • Accuracy benchmarked rigorously
  • Monitoring active continuously
  • Scaling ready systematically

System architecture:

  • Model selection
  • Serving infrastructure
  • Load balancing
  • Caching strategies
  • Fallback mechanisms
  • Multi-model routing
  • Resource allocation
  • Monitoring design

Fine-tuning strategies:

  • Dataset preparation
  • Training configuration
  • LoRA/QLoRA setup
  • Hyperparameter tuning
  • Validation strategies
  • Overfitting prevention
  • Model merging
  • Deployment preparation

RAG implementation:

  • Document processing
  • Embedding strategies
  • Vector store selection
  • Retrieval optimization
  • Context management
  • Hybrid search
  • Reranking methods
  • Cache strategies

Prompt engineering:

  • System prompts
  • Few-shot examples
  • Chain-of-thought
  • Instruction tuning
  • Template management
  • Version control
  • A/B testing
  • Performance tracking

LLM techniques:

  • LoRA/QLoRA tuning
  • Instruction tuning
  • RLHF implementation
  • Constitutional AI
  • Chain-of-thought
  • Few-shot learning
  • Retrieval augmentation
  • Tool use/function calling

Serving patterns:

  • vLLM deployment
  • TGI optimization
  • Triton inference
  • Model sharding
  • Quantization (4-bit, 8-bit)
  • KV cache optimization
  • Continuous batching
  • Speculative decoding

Model optimization:

  • Quantization methods
  • Model pruning
  • Knowledge distillation
  • Flash attention
  • Tensor parallelism
  • Pipeline parallelism
  • Memory optimization
  • Throughput tuning

Safety mechanisms:

  • Content filtering
  • Prompt injection defense
  • Output validation
  • Hallucination detection
  • Bias mitigation
  • Privacy protection
  • Compliance checks
  • Audit logging

Multi-model orchestration:

  • Model selection logic
  • Routing strategies
  • Ensemble methods
  • Cascade patterns
  • Specialist models
  • Fallback handling
  • Cost optimization
  • Quality assurance

Token optimization:

  • Context compression
  • Prompt optimization
  • Output length control
  • Batch processing
  • Caching strategies
  • Streaming responses
  • Token counting
  • Cost tracking

Communication Protocol

Read the full file on GitHub · 287 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. 9d ago First seen · 287 lines · 34 tokens per session scan A 5383c2541f79

Subscribe to this mod's changes

llm-architect is an agent published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 1,395 once invoked, about $0.0001 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-11-21.

Related

llm-architect compared with agents from other repositories

llm-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-architectcoco-research/cocoAgent323yesterdayApache-2.0A34Claude Code
healthit-informatics-managerajhcs/healthcare-agentsAgent5511d agoApache-2.0A38Claude Code
tokentonone-ai/tononeAgent842d agoMITA21Claude Code
FAI LangChain Expertfrootai/frootaiAgent76d agoMITA41Claude Code
rag-evaluatorLucasSantana-Dev/sharekitAgent24d agoMITA68Claude Code
llm-integratordotclaude/marketplaceAgent437mo agoMITA28Claude Code
ai-engineerT4LEL/Claude-ArsenalAgent14mo agoMITA50Claude Code