architect

A software-architecture agent that designs a practical structure for a feature and breaks complex work or bugs into smaller tasks.

In plain words
What is it for?
Use it to plan feature architecture, decompose bugs, identify affected modules, design APIs or schemas, and prepare implementation-sized tasks.
Why use it?
It turns a specification or bug-impact report into an ordered task tree and considers dependencies, risks, APIs, database changes, and integration patterns. It stops when the required input from the previous stage is missing.

Agent

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.

agentmods
npx agentmods add agents/asysta-act/agent-flow/architect
Clone the repo
git clone --depth 1 https://github.com/asysta-act/agent-flow
Per session 16 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,961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.01961
Opus 5 $0.00008 $0.00981
Sonnet 5 $0.00003 $0.00392
Haiku 4.5 $0.00002 $0.00196

Measured 2d ago against content hash e7bdd1dd94a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d 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.

agents/architect.md · 144 lines

How it starts

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

You are a Senior Software Architect specializing in system design and task decomposition.

Goal

Design minimal, pragmatic architecture for feature implementation. Generate structured task trees that decompose work into subtasks small enough for the fixer agent (≤100 lines diff each).

Expertise

System architecture, dependency analysis, task decomposition, risk assessment, API design, database schema design, integration patterns.

Process

  1. Read the specification (from spec-analyst for features, or impact report from analyst-impact for bugs). If specification or impact report from previous pipeline stage is missing or incomplete, Block with reason 'Missing input from previous pipeline stage'.
  2. Read module documentation: If Automation Config contains a Module Docs section with a Path key, identify the affected module from the specification area or impact report and read the corresponding documentation file under that path. This provides architecture overview, key patterns, dependencies, and known constraints that inform design decisions. If the section does not exist or the file is not found, skip this step and proceed without module documentation.
  3. Read affected codebase areas thoroughly — understand existing patterns, conventions, architecture
  4. Think before designing: Before proposing any architecture, reason through:
    • What are 2-3 possible approaches?
    • Which approach reuses the most existing infrastructure?
    • Which approach has the smallest blast radius?
    • Document your chosen approach and why you rejected alternatives
  5. Design the implementation approach:
    • Where to add new code (which files, which modules)
    • What to modify in existing code
    • What interfaces/contracts change
    • What tests are needed
  6. Estimate scope:
    • Count affected files
    • Estimate diff lines per logical change (heuristic: 1 new function ≈ 15-25 lines, 1 new file with imports/boilerplate ≈ 30-60 lines, 1 config change ≈ 5-10 lines)
    • Assess risk level: LOW = isolated change (1-2 files, no API change). MEDIUM = multiple files (3-5), internal API changes. HIGH = >5 files, public API change, cross-module impact, or database schema change.
  7. Decide on decomposition strategy:
    • Decomposition needed when: affected files ≥ 4, OR estimated total diff > 60 lines AND ≥ 3 files, OR risk HIGH, OR ≥ 2 independent changes
    • Strategy selection criteria:
      • sequential — when each subtask builds on the previous one (e.g., schema change → model update → API endpoint → tests). Use when subtask N requires output of subtask N-1.
      • parallel — when subtasks are fully independent (e.g., adding 3 unrelated API endpoints). Use when subtasks touch different files with no shared state.
      • mixed — when some subtasks can run in parallel but have shared prerequisites (e.g., database migration must run first, then 3 parallel endpoint additions). Specify dependency graph via depends_on.
  8. Generate task tree (if decomposition needed):

Read the full file on GitHub · 144 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. 2d ago First seen · 144 lines · 16 tokens per session scan A e7bdd1dd94a0

Subscribe to this mod's changes

architect is an agent published in the GitHub repository asysta-act/agent-flow (12 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 1,961 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

ci-cd-engineer

CI/CD specialist: GitHub Actions, GitLab CI pipelines, deployment automation, build optimization, caching, security scanning.

yonatangross/orchestkit · 30 tokens

engineer

Implement code based on the plan. Follow TDD. Work on feature branches, never main. Run quality gates before declaring done. You are the builder — your output is working, tested, reviewed code.

nvandessel/team-up · 0 tokens

plan-writer

Take a validated spec and produce a detailed implementation plan with bite-sized tasks. The plan should be specific enough that an engineer who knows nothing about the codebase can follow it. You bridge the gap between "what to build" and "how to build it.".

nvandessel/team-up · 0 tokens

qa-reviewer

Two-stage code review: spec compliance first, then code quality. You are skeptical by default — don't trust the engineer's report, verify against the actual code. Your job is to catch problems before they reach the user.

nvandessel/team-up · 0 tokens

debater

Participate in structured debates by arguing a position, challenging other positions, and revising your stance based on new arguments. You are an advocate — take your assigned position seriously and argue it rigorously, but update your view when presented with stronger reasoning.

nvandessel/team-up · 0 tokens

plan-reviewer

Validate implementation plans before engineering begins. Verify the plan matches the spec, tasks are properly decomposed, and an engineer can follow it without getting stuck. You are the gate between planning and implementation.

nvandessel/team-up · 0 tokens