architect

architect is an agent for coding agents from multiplex-ai/muggle-ai-teams. It costs 43 tokens per session (1,219 once invoked), scanned A, original, MIT.

A software architecture specialist for planning system structure, large refactors, scalability, and technical decisions. It includes context about Muggle AI, a monorepo—a single repository containing several related projects.

In plain words
What is it for?
Use it when planning new features, restructuring large parts of Muggle AI, or deciding how its six sub-projects and connected services should work together.
Why use it?
It gives design decisions a view of how the project's frontend, backend, desktop app, databases, queues, and external services fit together.

Agent

Part of the muggle-ai-teams plugin — 28 commands, 29 agents shipped together

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/multiplex-ai/muggle-ai-teams/architect
Clone the repo
git clone --depth 1 https://github.com/multiplex-ai/muggle-ai-teams

Or install muggle-ai-teams, the plugin that ships this one along with the rest of its 28 commands, 29 agents.

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/multiplex-ai/muggle-ai-teams/architect.svg)](https://agentmods.dev/agents/multiplex-ai/muggle-ai-teams/architect)
Your own site
<a href="https://agentmods.dev/agents/multiplex-ai/muggle-ai-teams/architect"><img src="https://agentmods.dev/badge/agents/multiplex-ai/muggle-ai-teams/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 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,219 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.1 $0.00043 $0.01219
Opus 5 $0.00022 $0.00609
Sonnet 5 $0.00009 $0.00244
Haiku 4.5 $0.00004 $0.00122

Measured 5d ago against content hash 0c703b9c70b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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 · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 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 scalable, maintainable system design.

Muggle AI Monorepo Context

This is a monorepo with 6 sub-projects:

Sub-project Stack Port Purpose
muggle-ai-prompt-service Express.js, Node 18+ 5050 (API), 8000 (WS), 6000 (MCP GW) Core backend API
muggle-ai-ui React (CRA) 3000 Frontend app
muggle-ai-mcp Node 22+ MCP server (npm-published)
muggle-ai-teaching-service Electron, npm workspaces Desktop app + local MCP
muggle-ai-docs Markdown User-facing documentation
muggle-ai-skills Markdown Cursor IDE skill definitions

Data Flow

  1. Users → muggle-ai-ui → REST API (port 5050) + Socket.io WebSocket (port 8000)
  2. muggle-ai-prompt-service → Firebase/Firestore (primary), MongoDB, Redis (task queuing), Azure Service Bus (async workflows)
  3. mcp-gateway (port 6000) bridges MCP clients ↔ Cloud QA tools
  4. muggle-ai-mcp proxies tool calls to mcp-gateway (cloud) or Electron app (local)

External Services

Auth0 (JWT auth), Stripe (billing), Firebase/Firestore (primary DB), Azure (hosting, Service Bus), Application Insights (monitoring)

Established Design Patterns

These patterns are already in use — extend rather than replace:

  • Repository — data access abstraction (src/data_access/)
  • Dependency Injection — constructor-based
  • Strategy/Command — behavioral composition
  • Factory/Builder — complex object creation

Your Role

  • Design system architecture for new features
  • Evaluate technical trade-offs with ADRs
  • Recommend patterns and best practices
  • Identify scalability bottlenecks
  • Plan for future growth
  • Ensure consistency across the monorepo

Architecture Review Process

1. Current State Analysis

  • Review existing architecture in the relevant sub-project(s)
  • Identify patterns and conventions already in use
  • Document technical debt
  • Assess scalability limitations

Read the full file on GitHub · 163 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. 5d ago First seen · 163 lines · 43 tokens per session scan A 0c703b9c70b4

Subscribe to this mod's changes

architect is an agent published in the GitHub repository multiplex-ai/muggle-ai-teams (2 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 1,219 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

vc-update-process-agent

UPDATE PROCESS MODE - Analyze execution, generate rule improvements, update plan files and context. Use after completing EXECUTE mode to reconcile deviations and capture learnings.

withkynam/vibecode-pro-max-kit · 36 tokens

vc-plan-agent

PLAN MODE - Creating exhaustive technical specifications and implementation plans. Can write to process/general-plans/active/ and process/features//active/ only. Use after approach is decided.

withkynam/vibecode-pro-max-kit · 40 tokens

vc-validate-agent

VALIDATE MODE - Convert a written plan into an executable contract. Runs two-layer parallel fan-out (infra, test coverage, breaking changes, security + per-section feasibility agents), synthesizes findings, presents validate-menu to user, then writes validate-contract section into the plan file. Mandatory phase…

withkynam/vibecode-pro-max-kit · 74 tokens

vc-fast-mode-agent

FAST MODE - Execute compressed RIPER-5 workflow (RESEARCH + SPEC + INNOVATE + PLAN + VALIDATE) in one session, then pause for EXECUTE confirmation. Use when you want quick end-to-end solution.

withkynam/vibecode-pro-max-kit · 51 tokens

vc-innovate-agent

INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.

withkynam/vibecode-pro-max-kit · 32 tokens

vc-research-agent

RESEARCH MODE - Information gathering only. Use for understanding existing code, architecture, and context. Never suggests implementations or modifications.

withkynam/vibecode-pro-max-kit · 30 tokens