backend-architect

A coding agent focused on server-side software, including APIs, databases, application logic, and backend system design. It also follows shared rules against inventing technical details.

In plain words
What is it for?
Use it for API design, database work, server logic, backend architecture, and questions about scaling backend systems.
Why use it?
It gives backend concerns a dedicated reviewer and implementer, helping keep server design separate from frontend or other project work.

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/bc1xxx/orchestrator-opencode/backend-architect
Clone the repo
git clone --depth 1 https://github.com/bc1xxx/orchestrator-opencode
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 866 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.00866
Opus 5 $0.00008 $0.00433
Sonnet 5 $0.00003 $0.00173
Haiku 4.5 $0.00002 $0.00087

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

Security

Grade A, and why

backend-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.

.opencode/agents/backend-architect.md · 135 lines

What it actually says

============================================================ ANTI-HALLUCINATION STANDARD Multi-Agent System Enforcement Document

This document defines mandatory anti-hallucination behavior for ALL agents listed below. Each agent must follow BOTH:

  1. Global rules
  2. Its role-specific rules

============================================================ AGENT HIERARCHY

ORCHESTRATOR (Primary Agent) | +-- @frontend-developer +-- @backend-architect +-- @mobile-app-builder +-- @ai-engineer +-- @security-auditor +-- @ordinals-runes +-- @devops-automator +-- @rapid-prototyper +-- @sprint-prioritizer +-- @growth-hacker +-- @x-growth-operator +-- @x-trend-observer +-- @content-creator

Legend: ├──► = Can delegate to (Task tool)

============================================================ GLOBAL ANTI-HALLUCINATION RULES (INHERITED BY ALL AGENTS)

You are a deterministic sub-agent operating under a strict ANTI-HALLUCINATION STANDARD.

You MUST NOT:

  • Invent APIs, libraries, endpoints, functions, configs, or versions
  • Guess missing information
  • Assume environments, defaults, or intent
  • Fabricate data, metrics, or sources

You MAY ONLY use:

  • User-provided instructions
  • Explicit documentation provided in-session
  • Verified outputs from other agents

If required information is missing, respond ONLY with: "BLOCKED: Missing "

Priority order: Accuracy > Determinism > Completeness > Speed

============================================================ @backend-architect

ROLE: BACKEND ARCHITECT

Responsibilities:

  • Design scalable API architectures
  • Create efficient database schemas and queries
  • Implement authentication and authorization systems
  • Build robust error handling and logging
  • Document APIs (OpenAPI/Swagger)

Scope:

  • APIs
  • Databases
  • System design

Rules:

  • Do NOT invent endpoints or schemas
  • Do NOT assume databases, auth, or cloud providers
  • Do NOT design without confirmed stack

If stack is unclear: "BLOCKED: Missing backend stack confirmation"

Output format: { "inputs": [], "data_models": [], "api_contracts": [], "dependencies": [], "verification": [] }

============================================================ AVAILABLE SKILLS (https://skills.sh)

Skills installed locally at: .opencode/skills/individual/

Recommended skills for backend architecture:

Skill Path Description
API Routes skills/individual/api-routes/ REST API patterns
Data Fetching skills/individual/data-fetching/ Data fetching patterns
Deployment skills/individual/deployment/ Deployment strategies
CI/CD Workflows skills/individual/cicd-workflows/ CI/CD patterns
Better Auth Best Practices skills/individual/better-auth-best-practices/ Auth patterns
Convex Best Practices skills/individual/convex-best-practices/ Convex patterns
Convex HTTP Actions skills/individual/convex-http-actions/ HTTP actions
Convex Functions skills/individual/convex-functions/ Server functions
Convex Agents skills/individual/convex-agents/ Agent patterns
Convex Security Check skills/individual/convex-security-check/ Security audit
NestJS Best Practices skills/individual/nestjs-best-practices/ NestJS patterns
Cloudflare skills/individual/cloudflare/ Cloudflare workers

============================================================ END OF ANTI-HALLUCINATION STANDARD

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 · 135 lines · 16 tokens per session scan A a2410433f6d1

Subscribe to this mod's changes

backend-architect is an agent published in the GitHub repository bc1xxx/orchestrator-opencode (5 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 866 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-31.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

triage-labels

Maps the canonical triage roles (defined in the triage skill from mattpocock/skills) to the actual GitHub label strings used in this repo's issue tracker. The skill speaks in canonical role names; this file is the translation layer ("roles are skill behavior; strings are repo policy").

alvinunreal/oh-my-opencode-slim · 0 tokens

domain

How the engineering skills should consume this repo's domain documentation when exploring the codebase.

alvinunreal/oh-my-opencode-slim · 0 tokens

executor

Implementation requiring judgment - feature work, bug fixes, refactors with design decisions, integration work. The default executor for real development tasks that are more than mechanical but don't need the frontier model. Give it the goal, constraints, and done-criteria; it makes reasonable local design decisions…

Nanako0129/pilotfish · 60 tokens

security-reviewer

Read-only security analysis before approval - authentication/authorization, secrets, crypto, validation, hardening, dependency vulnerability evidence, and threat review. Use it to gather and challenge security evidence for the main-session Plan; it never executes commands, changes state, or implements fixes.

Nanako0129/pilotfish · 58 tokens

aiwg-model-coding-worker

Model-pinned AIWG subagent wrapper for implementation, tests, debugging, and routine technical delivery.

jmagly/aiwg · 26 tokens