惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
月光博客
月光博客
腾讯CDC
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Martin Fowler
Martin Fowler
A
About on SuperTechFans
博客园 - 叶小钗

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - Moai-Team-LLC/agentic-product-standard: The cano...
AlexDuch · 2026-05-31 · via Hacker News - Newest: "AI"

A canonical standard for building production-grade agentic products — plus a Claude Code skill set that operationalizes it.

Distilled from the production practices of Anthropic, OpenAI, Cognition, Sierra, LangChain, and leading practitioners — 2024–2026.

License: MIT PRs Welcome Claude Code Skills Standard v2.0 Self-assessment scorecard Stars

Product Standard → · Agent Standard → · Install the Skills → · Decision Checklist →


An agentic product is not "a product with AI." It is a product where part of the process is dynamically directed by an LLM within a deterministic architecture with explicit trust boundaries.

Most teams ship agent demos. Few ship agents that survive contact with production. The difference is almost never the model — it's the architecture, the harness, and the eval discipline around it. This repo is the field-tested standard for that work, plus a set of Claude Code skills that put it into your editor.

Table of contents

  • Why this exists
  • The six principles
  • What's in this repo
  • Install the skills
  • The reference implementation
  • The Autonomy Ladder
  • The five composition patterns
  • The 8-layer harness
  • The 10-question checklist
  • Score yourself
  • Production readiness — Definition of Done
  • Anti-patterns
  • Reading list
  • Contributing
  • License

Why this exists

Six principles converged independently across the production practices of the labs and the leading practitioners. They are the spine of every decision in this standard:

The six principles

# Principle What it means
1 Determinism by default, agency by necessity Every degree of autonomy must be earned, not granted upfront.
2 Architecture beats framework Patterns outlive libraries.
3 Harness > model 98% of reliability lives in the code around the LLM.
4 Context engineering is the core discipline What enters the context window determines everything.
5 Eval-driven development is non-negotiable No measurement → no improvement. No trace review → no understanding.
6 Security is a structural property, not a guardrail Safety comes from architecture — identity, least privilege, isolation, pinned tools — not filters bolted onto the edges.

The single most important rule: Architecture is what remains when the model improves. The model is the variable, the harness is the constant. Invest proportionally.

What's in this repo

agentic-product-standard/
├── STANDARD.md                          ← the canonical standard (product level)
├── AGENT_STANDARD.md                    ← the single-agent operational standard (mirrored in agent-builder)
├── SCORECARD.md                         ← M0–M3 self-assessment, mapped to the Autonomy Ladder
├── CONTEXT.md                           ← shared vocabulary every skill speaks
├── setup.sh                             ← quick setup: skills + (optional) AgenticMind, one run
├── templates/security/                  ← red-team kit: lethal-trifecta gate, injection suite, MCP pin
├── templates/ci/eval-gate.yml           ← CI workflow that blocks merges on eval regression
├── examples/agenticmind-case-study.md   ← reference implementation, audited against the canon
├── docs/adr/                            ← architecture decision records (why the repo is shaped this way)
└── skills/                              ← Claude Code skill set (operationalizes the standard)
    ├── agent-builder/                    ← single-agent track (bundles AGENT_STANDARD.md + templates/)
    └── agentic-product-architect/        ← multi-agent track: master router + sub-skills
        ├── SKILL.md                      ← master: router + philosophy
        ├── architecture-design/          ← autonomy ladder, 5 patterns, single vs multi
        ├── context-engineering/          ← write/select/compress/isolate, the 40% rule
        ├── harness-engineering/          ← the 8 layers around the LLM loop
        ├── tool-design-mcp/              ← MCP-first, <20 tools, RAG-MCP, sandboxing
        ├── memory-architecture/          ← Mem0 / Zep / Letta / LangMem / files
        ├── tenant-isolation/             ← multi-tenant: pooled/silo, leakage paths, leakage eval
        ├── durable-execution/            ← Temporal Workflow + Activity pattern
        ├── eval-driven-dev/              ← Husain/Shankar pyramid + judge calibration
        ├── framework-selection/          ← LangGraph / Claude SDK / OpenAI SDK / others
        ├── production-readiness/         ← 12-point Definition of Done audit
        └── antipatterns-review/          ← code review through 12 known failure modes

Two standards, one practice:

  • STANDARD.md is the product-level reference — read it once, return to it often.
  • AGENT_STANDARD.md is the single-agent operational standard — contract, schemas, permission tiers, durable state, evals (also bundled into the agent-builder skill so it ships self-contained).
  • skills/ is the practice — two Claude Code skills (agent-builder for one agent, agentic-product-architect for multi-agent products) that auto-load the right guidance while you design, build, and review.

🚀 Install the skills

The skill set works with Claude Code. Two tracks share the same sub-skills: agent-builder for building one production-grade agent (it bundles AGENT_STANDARD.md + copy-paste templates/), and agentic-product-architect — a master skill that routes to ten specialized sub-skills for multi-agent products. Each is independently triggerable.

Fastest: one command, no clone

If you have skills (the community skill installer), pull the skill straight from this repo — it scans skills/, lets you pick agent-builder and/or agentic-product-architect, and installs them into the agents you choose:

npx skills@latest add Moai-Team-LLC/agentic-product-standard

This installs the skills only. To also stand up the runnable memory layer (AgenticMind), run the setup.sh --with-agenticmind flow below — or, after adding the skills, point your agent's MCP client at a self-hosted AgenticMind (see its Quickstart).

Quick setup (one train)

setup.sh installs the skills and, in the same run, can stand up AgenticMind — the reference implementation — as a runnable knowledge & memory layer your agent calls over MCP. Design guidance and a working substrate, end to end:

git clone https://github.com/Moai-Team-LLC/agentic-product-standard.git
cd agentic-product-standard
./setup.sh --with-agenticmind        # skills → clone AgenticMind → its setup.sh (deps + Postgres + migrations)

Run bare (./setup.sh) and it installs the skills, then asks whether to set AgenticMind up next. AgenticMind's leg needs Bun ≥1.3 + Docker; the skills themselves need neither.

./setup.sh                  # install skills here, then prompt about AgenticMind
./setup.sh --user           # install skills into ~/.claude/skills (every project)
./setup.sh --skills-only    # skills only, no prompt

Manual install

User-level (available in every project):

cp -R agentic-product-standard/skills/* ~/.claude/skills/   # both tracks; they share sub-skills

Project-level (scoped to one repo):

mkdir -p .claude/skills
cp -R /path/to/agentic-product-standard/skills/* .claude/skills/   # both tracks

Claude Code discovers skills via each SKILL.md and its YAML frontmatter. Once installed, agent-builder triggers when you set out to build, implement, or review one agent, while agentic-product-architect triggers for multi-agent products, an agent loop, or any major agentic framework (LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK, Pydantic AI, AutoGen). Ask a focused question — "Mem0 or Zep?", "how should I structure context?", "review my agent code" — and the relevant sub-skill loads directly.

🌐 The reference implementation

The standard tells you how; AgenticMind is a repo you can run. It's the flagship reference implementation — an auditable, self-improving knowledge & memory layer that agentic products plug into over MCP (the OSS pick for the memory slot in memory-architecture). The ./setup.sh --with-agenticmind flow above stands it up in the same run.

Repo Use it when
📐 agentic-product-standard (this repo) You're designing or building an agent / agentic product — the standard + skills tell you how.
🧠 AgenticMind You need a knowledge & memory layer for your agent — a working implementation you can run.

See the AgenticMind case study for a layer-by-layer map of how that repo implements this canon.

The Autonomy Ladder

Never start with "build an agent." Start with "what is the minimum autonomy this task requires?" The cost of getting this wrong is asymmetric.

Level What it is Use when
L0 · Single LLM call One prompt → one response Classification, extraction, summarization
L1 · Augmented LLM + retrieval, + tools, + memory Q&A over docs, simple assistants
L2 · Workflow Deterministic code orchestrates LLM steps Path is known; predictability matters
L3 · Orchestrator-Worker LLM decomposes within a bounded graph Parallelizable, breadth-first work
L4 · Autonomous Agent Loop LLM chooses the next step until termination Path cannot be enumerated; cost is acceptable

Escalation rule: do not climb to L+1 until L delivers ≥90% pass rate on a curated eval set.

The five composition patterns

Compose agentic products from these primitives like Lego — before reaching for a framework.

  1. Prompt Chaining — sequential decomposition (outline → draft → polish)
  2. Routing — classifier + dispatcher to a specialist
  3. Parallelization — fan-out of independent subtasks + aggregation
  4. Orchestrator-Workers — central planner + dynamic workers
  5. Evaluator-Optimizer — generator + critic in a loop until acceptance

Meta-principle: first try to solve the task by composing these patterns in deterministic code. A full agent loop is the last resort.

The 8-layer harness

In a production agent, the harness — everything around the LLM loop — is 98% of the code.

╔═════════════════════════════════════════════╗
║  8. Security & Identity  (CROSS-CUTTING)    ║ ← threat model · injection defense · agent identity · least-privilege tokens · pinned tool defs
╠═════════════════════════════════════════════╣
║   7. Observability & Tracing                ║ ← log EVERYTHING
║   6. Evaluation Layer (CI gates)            ║ ← block regressions
║   5. Human-in-the-Loop (notify/ask/review)  ║ ← approval gates
║   4. Guardrails (input/output validation)   ║ ← defense in depth
║   3. Durable Execution (Workflow + Activity)║ ← pause/resume/retry
║   2. Context & Memory Management            ║ ← write/select/compress/isolate
║   1. Agent Loop (gather → act → verify)     ║ ← the "agent" proper
╚═════════════════════════════════════════════╝
              ↕ MCP / function calling

Permission boundaries are enforced by code, never by prompt. The Replit incident of 2025 — an agent wiped a production database for 1,200+ companies despite an explicit "code freeze" in its prompt — is the canonical proof. The model will ignore prompt-level restrictions under enough pressure. Code won't.

Layer 8 is cross-cutting (v2.0). Identity, least privilege, and isolation constrain every layer; injection defense spans input and output. Run the lethal-trifecta check (private data × untrusted content × external comms) on every deployment, and pin MCP tool definitions by hash so a server can't rug-pull you. A guardrail is one tactic, not the discipline — see STANDARD.md · Layer 8 and the red-team kit.

✅ The 10-question checklist

Run this before drafting any architecture. It unblocks 80% of design debates.

□ What is the minimum autonomy level (L0–L4) that solves this?
□ Can it be solved by composing the 5 patterns without a full agent loop?
□ Is the task breadth-first (parallelizable) or depth-first (coherent)?
□ What are the 3 failure modes that would lose user trust first?
□ Where are the permission boundaries? What MUST the agent NOT do?
□ Which constraint dominates framework choice?
□ Where does state live? (in-context = anti-pattern for long-running)
□ Who validates outputs at each stage? (assertion / LLM judge / human review)
□ Where do traces live, with what retention?
□ Eval set: how many examples, who labels, how does it grow?

If you can't answer half of these, slow down and answer them together — don't write code yet.

📊 Score yourself

Principles are easy to nod along to; SCORECARD.md makes you prove it. It turns the Definition of Done into a binary Yes/No maturity self-assessment with four bands mapped to the Autonomy Ladder:

Band Autonomy Means
M0 · Prototype L0–L1 Works on a demo. No production claim.
M1 · Shippable L2 Contracts, schemas, guardrails, an eval set, permissions in code.
M2 · Production L3 Durable, observable, tenant-isolated, security-checked, cost-bounded, CI-gated.
M3 · Autonomous-ready L4 Online evals, pass^k reliability, red-team kit run, full OTel trajectory traces.

Run it with the team against a real deployment each release — the first No you hit is your next piece of work.

Production readiness — Definition of Done

An agentic product is not production-ready until all 15 are satisfied. Full detail in STANDARD.md.

Context & state Tools & security Reliability Evals & observability
Context < 40% Destructive actions need approval Durable pause/resume/retry ≥50 evals per failure mode
State externalized Permissions in code, not prompt Schema-validated outputs Judges calibrated (TPR/TNR)
Compaction tested Sandboxed tool execution Input/output guardrails CI blocks regression; 100% traced
Lethal-trifecta check; MCP tool defs pinned Per-run cost ceiling in code Trajectory + online evals

Anti-patterns

The fastest way to recognize a doomed agent project — the skill set's antipatterns-review flags each with a diagnostic and a fix.

  1. Multi-agent before a single-agent baseline
  2. Framework abstractions before understanding the raw API
  3. LLM judges without calibration against human labels
  4. Permissions enforced through prompts
  5. Memory as an afterthought
  6. Generic evals ("helpfulness," "correctness")
  7. Likert scales in an LLM judge (binary only)
  8. 100 tools per agent

  9. One agent for both breadth and depth
  10. Deploying without trace monitoring
  11. Hardcoded prompts without version control
  12. Treating single-vendor benchmarks as ground truth
  13. Trusting community MCP servers without pinning or scanning (rug pulls)
  14. Deploying the lethal trifecta with no mitigation
  15. Token passthrough / over-scoped OAuth (confused deputy)
  16. No budget ceiling on autonomous sessions
  17. Peer-to-peer multi-agent buses instead of an orchestrator

Reading list

The operational base — not reference docs. Read in order:

  1. Anthropic — Building Effective Agents (Schluntz & Zhang)
  2. OpenAI — A Practical Guide to Building Agents
  3. HumanLayer — 12 Factor Agents (Dex Horthy)
  4. Anthropic — How we built our multi-agent research system
  5. Cognition — Don't Build Multi-Agents (Walden Yan)
  6. LangChain — Context Engineering for Agents (Lance Martin)
  7. Hamel Husain — A Field Guide to Rapidly Improving AI Products + Your AI Product Needs Evals
  8. Anthropic — Building agents with the Claude Agent SDK
  9. Anthropic — Effective Context Engineering for AI Agents (just-in-time retrieval)
  10. OWASP — Top 10 for Agentic Applications (2026) + Simon Willison — The lethal trifecta
  11. OpenTelemetry — GenAI semantic conventions (the observability standard)

Contributing

This standard is meant to evolve — the field moves fast. Corrections, new exemplars, framework updates, and translations are all welcome. See CONTRIBUTING.md and the Code of Conduct.

The architectural canons (the autonomy ladder, the 5 patterns, single-vs-multi, the harness) are stable. Specific vendors and framework rankings will shift — those are exactly the kind of PRs we want.

License

MIT — use it, fork it, ship with it.


If this saved you a week of architecture debates, star the repo ⭐ so others find it.

v2.0 · assembled from production practices as of June 2026