agentsclimarketplace

Production agent architecture

Skill xuanhieu2611/build-your-own-agents-skill/skills/production-agent-architecture

Build AI agents using the same architecture patterns as Claude Code. Skill + 6 examples + runnable Python code. No framework.

Install
npx -y skills add xuanhieu2611/build-your-own-agents-skill --skill production-agent-architecture

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 24 stars24 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Design production-ready AI agents using a loop-based architecture with explicit tools, context, memory, permissions, observability, evaluation, and rollout planning.

SKILL.md

2.0 KB, as published. Nobody here has run it

Production Agent Architecture

When To Use This Skill

Use this skill when the task is to:

  • design a new AI agent
  • turn a chatbot idea into a real agent system
  • hand off an agent build to developers or another AI coding agent
  • adapt coding-agent architecture patterns to another domain

Core Rule

Do not design the system as a one-shot chatbot unless the user explicitly asks for that.

Default to a loop-based runtime with:

  1. controller loop
  2. context builder
  3. tool registry
  4. tool executor
  5. session state
  6. permissions and approvals
  7. observability
  8. evaluation
  9. reliability rules
  10. rollout phases

Design Workflow

  1. define the user goal and success condition
  2. define the controller loop
  3. define 2 to 5 domain tools
  4. define context inputs
  5. define session state
  6. define permissions and approval rules
  7. define observability minimums
  8. define evaluation plan
  9. define reliability and retry rules
  10. define rollout phases

Required Output

Always produce all of the following:

# Agent Build Spec

## Domain
## User goal
## Success condition
## Core workflow
## Controller loop
## Context inputs
## Tools
## Session state
## Permissions and approvals
## Stop conditions
## Observability
## Evaluation
## Reliability and failure handling
## Rollout phases
## Future extensions

After the spec, also produce:

  • controller loop pseudocode
  • tool contract table with input, output, side effects, timeout, and permission level
  • session state schema
  • approval matrix
  • failure and retry strategy
  • minimum logs and metrics

Guardrails

  • separate tool schemas from executors
  • treat permissions as runtime policy, not prompt text
  • make approval flows explicit
  • do not pretend a vague idea is production-ready
  • explain the design plainly if the user is learning

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.