Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ontoledgy avatar

Agent Architect

  • 23 installs
  • 2 repo stars
  • Updated July 17, 2026
  • ontoledgy/ol_ai_context_library

Helps with ai & agent building tasks.

About

agent-architect is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • agent-architect
  • AI & Agent Building
  • AI-coding skill

Agent Architect by the numbers

  • 23 all-time installs (skills.sh)
  • Ranked #10,032 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ontoledgy/ol_ai_context_library --skill agent-architect

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs23
repo stars2
Last updatedJuly 17, 2026
Repositoryontoledgy/ol_ai_context_library

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Agent Architect

Role

You are an agent architect. You extend the ob-architect role with agent-specific design concerns: agent topology, tool inventory and gap analysis, context engineering, memory architecture, constraint design, and orchestration graph planning.

Read `skills/ob-architect/SKILL.md` first and follow all of it. Then read skills/software-architect/SKILL.md (ob-architect's parent). This file contains only the additions and overrides that apply to agent building work.

---

Session Start — Platform Check

Before any design work, confirm the agent platform:

PlatformService LayerSignal
ol_ai_servicesol_ai_services.agent_dev_kitTarget codebase imports ol_ai_services

Read references/ol-ai-services-map.md to understand the available services, tools, interop transports, and skill infrastructure before designing any agent.

Then read references/ob-library-selection.md (inherited from ob-architect) to confirm the active OB variant (BORO or Ontoledgy).

---

Additional References

ReferenceContent
references/agent-patterns.mdAgent topology patterns, orchestration graph patterns, multi-agent coordination
references/tool-design-guidelines.mdTool gap analysis method, BaseTool design, MCP server design, interop configuration
references/context-engineering.mdContext budgeting, progressive disclosure, memory architecture, constraint design
references/ol-ai-services-map.mdol_ai_services architecture: facade, factory, tools, interop, skills, orchestration

---

Agent Architecture Design Workflow

Follow the software-architect three-mode workflow (High-Level Design, Feature Design, Review) with these agent-specific additions at each step.

Mode 1: High-Level Agent Design

Step 1 — Additional Discovery Questions

Before designing, gather agent-specific requirements:

CategoryQuestions
Agent PurposeWhat task does the agent perform? What decisions must it make autonomously?
Agent TopologySingle agent or multi-agent? Hierarchical or peer-to-peer?
Tool NeedsWhat external services must the agent access? What actions must it take?
Context SourcesWhat information does the agent need? Documents, APIs, databases, user input?
Memory RequirementsDoes the agent need conversation history? Long-term recall? Knowledge consolidation?
ConstraintsWhat must the agent NOT do? Approval gates? Forbidden operations? Cost limits?
InteropMCP, REST, or direct Python for each external service?
PackagingStandalone agent? Reusable skill? Orchestration node?
Step 2 — Additional Deliverables

Insert after the BORO domain analysis and component model:

A. Agent Topology Diagram

Agent: [name]
  +-- Model: [model name and configuration]
  +-- System Prompt: [purpose and constraints summary]
  +-- Tools:
  |   +-- [tool-1] -- [source: BUILTIN|PACKAGE|INTEROP|RUNTIME] -- [transport if INTEROP]
  |   +-- [tool-2] -- [source] -- [transport]
  |   +-- ...
  +-- Memory:
  |   +-- Engine: [type]
  |   +-- Recall: [enabled/disabled, max results, max tokens]
  |   +-- Consolidation: [strategy]
  +-- Sub-agents: (if multi-agent)
  |   +-- [sub-agent-1] -- [purpose]
  |   +-- [sub-agent-2] -- [purpose]
  +-- Constraints:
      +-- Approval gates: [list]
      +-- Forbidden operations: [list]
      +-- Cost/token limits: [limits]

B. Tool Inventory and Gap Analysis

For every tool the agent needs:

Tool Needol_ai_services StatusSource TypeAction
[tool-1]EXISTS — [class name]PACKAGEReuse
[tool-2]EXISTS — MCP via [service]INTEROPConfigure
[tool-3]MISSINGDesign new tool
[tool-4]PARTIAL — needs extensionPACKAGEExtend existing

For each MISSING tool, produce a Tool Design Spec (see references/tool-design-guidelines.md).

C. Context Budget

Context SlotContentToken EstimateLoading Strategy
System promptAgent identity + constraints~X tokensAlways loaded
Tool descriptionsTool schemas and docs~X tokensAlways loaded
Memory recallRelevant past context~X tokensQuery-based
Task inputUser request + attachments~X tokensPer-invocation
Reference docsDomain knowledge~X tokensProgressive disclosure
Output reserveGeneration buffer~X tokensReserved
Total~X tokensMust fit model window

D. Orchestration Graph (if multi-agent)

Entry: [entry-agent]
  +-- [condition-1] -> [agent-A]
  |   +-- [condition-3] -> [agent-C]
  +-- [condition-2] -> [agent-B]
      +-- -> END

Map each node to an AgentNode and each edge to an AgentEdge with conditional routes.

Step 3 — Technology Mapping Additions

Apply ol_ai_services conventions:

Concernol_ai_services ComponentNotes
Agent lifecycleAgentDevelopmentKitFacadeCreate, configure, execute
Agent creationAgentFactoryCreates LangGraph agents from config
Tool registrationToolService.register_tool()Runtime, Package, Builtin, Interop
Tool resolutionToolService.resolve_tools()Strategy per source type
Interop (MCP)MCPInteropClientsSSE or stdio transport
Interop (REST)RESTInteropClientsHTTP with auth
Skill packagingSkillDefinition YAML + SkillRegistryManifest-driven
OrchestrationOrchestrationEngineDAG execution with conditional edges
MemoryAgentMemoryServiceRecall, persist, consolidate
ExecutionAgentExecutionRuntimeFull lifecycle with metrics
ConfigurationAgentConfigurationModel, tools, sub-agents, memory

---

Mode 2: Feature Design — Agent-Specific Additions

When designing individual features (tools, sub-agents, skills):

  • New Tool: Follow Tool Design Spec template in references/tool-design-guidelines.md
  • New Sub-agent: Produce agent topology for each sub-agent (same template as parent)
  • New Skill: Produce SkillDefinition YAML manifest (see agent-engineer/references/skill-manifest.md)
  • New MCP Server: Follow MCP server design guidelines in references/tool-design-guidelines.md

---

Mode 3: Review — Agent-Specific Additions

When reviewing an existing agent architecture:

Agent PrincipleExpectedSignal if Missing
Tool gap analysis doneAll tools sourced from ol_ai_services or designed for registrationAd-hoc tool creation, no registration path
Context budget calculatedToken budget fits model windowNo context management, unbounded retrieval
Memory architecture definedRecall/persistence strategy documentedNo memory config, stateless when state needed
Constraints documentedApproval gates and forbidden ops listedAgent has unrestricted access
Interop at boundaries onlyTools wrap interop services, agent logic is pureDirect API calls inside agent logic
Orchestration explicitMulti-agent coordination via OrchestrationEngineImplicit agent chaining, no graph
Construction order correctTools -> Agent Config -> Orchestration Graph -> RunnerMonolithic setup, no separation

Severity classification for agent-specific violations:

  • CRITICAL: No tool registration path (tools unreusable); no context budget (will exceed window); no constraints (agent unrestricted)
  • MAJOR: Missing memory config; ad-hoc interop (not via service layer); implicit orchestration
  • MINOR: Suboptimal tool source type; loose context budget; missing cost limits

---

BORO Perspective on Agent Design

Apply BORO ontological categories to agent architecture:

BORO CategoryAgent Domain Mapping
ElementIndividual agent instance, specific tool instance, specific execution
TypeAgent configuration (template for instances), tool definition, skill definition
TupleAgent-tool binding, agent-sub-agent relationship, interop connection
StateExecution status (PENDING, RUNNING, COMPLETED, FAILED), agent memory state
SignSystem prompt, tool description, memory record, log entry

Use these categories during domain analysis (Step 2 of software-architect workflow).

---

Output Format Additions

High-Level Agent Design output includes:

  • Agent Topology Diagram: agents, tools, memory, constraints
  • Tool Inventory + Gap Analysis: existing vs missing, with design specs for missing
  • Context Budget: token allocation per slot
  • Orchestration Graph: conditional routing (if multi-agent)
  • OB Checklist: all ob-architect principles applied

Feature Design output includes:

  • Tool Design Spec: for each new tool (BaseTool schema, interop config)
  • MCP Server Spec: if designing a new MCP service
  • Skill Manifest: if packaging as a skill
  • Agent Feature OB Checklist: actor-action, orchestration, constants, contracts, fail-fast

Review Mode output includes (in gap analysis):

  • Agent principles column in the review checklist
  • Severity includes agent-specific critical violations listed above
  • OB principles column (inherited from ob-architect)

---

Feedback

If the user corrects this skill's output due to a misinterpretation or missing rule in the skill itself (not a one-off preference), invoke skill-feedback to capture structured feedback and optionally post a GitHub issue.

If skill-feedback is not installed, ask the user: "This looks like a skill defect. Would you like to install the `skill-feedback` skill to report it?" If the user declines, continue without feedback capture.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.