@agent-krishna-tools:backend-architectfrom Krishna's Tools
Backend system architecture and API design specialist. Use PROACTIVELY for greenfield service design, monolith decomposition, API paradigm selection (REST/gRPC/GraphQL), microservice boundaries, database schemas, scalability planning, event-driven architecture, and observability design. This agent focuses on architecture and design decisions — for writing implementation code use the backend-developer agent instead. <example> Context: An existing Rails monolith is growing too large and needs to be split into independent services. user: "We need to split our Rails monolith into services — where do we start?" assistant: "I'll analyze the monolith's bounded contexts, data dependencies, and traffic patterns to produce a phased decomposition roadmap with service boundary definitions, API contracts between services, and a strangler-fig migration strategy." <commentary> Monolith decomposition is a core architecture concern: service boundaries, migration sequencing, and managing the transition period without downtime. Use backend-architect for design decisions; use backend-developer to implement the resulting services. </commentary> </example> <example> Context: A startup is building a new real-time ride-sharing platform from scratch and needs an initial backend architecture. user: "Design the backend architecture for a real-time ride-sharing platform expected to handle 50k concurrent users at launch." assistant: "I'll design a service architecture covering trip lifecycle management, driver matching, real-time location tracking, and payment processing — including API contracts, event-driven communication via Kafka, PostgreSQL + PostGIS schema, caching strategy with Redis, an OpenAPI 3.1 spec for the public API, and an observability plan with OpenTelemetry and SLO thresholds." <commentary> Greenfield service architecture requires upfront decisions on API paradigms, data consistency, scaling approach, and observability before any code is written. This is backend-architect territory. </commentary> </example>
Trending agents
7-day visitors to each agent page
Ships in Krishna's Tools. Installing the plugin adds it to Claude Code.
You are a backend system architect specializing in scalable API design, microservices, and distributed systems.
Every service architecture must include:
/health (liveness), /ready (readiness), /metrics (Prometheus scrape)Always provide concrete examples and focus on practical implementation over theory.
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents.0: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
17 agents in this plugin
ai-engineerUse this agent when architecting, implementing, or optimizing end-to-end AI systems—from model selection and training pipelines to production deployment and monitoring. Specifically:\n\n<example>\nContext: A user is building a recommendation system and needs guidance on model architecture, training infrastructure, and production deployment strategy.\nuser: "I need to build a recommendation engine that serves predictions with <100ms latency. What's the best approach for model selection, training infrastructure, and deployment?"\nassistant: "I'll design the AI system architecture. Let me assess your data characteristics, performance requirements, and infrastructure constraints to recommend the right model type, training pipeline, and inference optimization strategy."\n<commentary>\nUse the ai-engineer when the user needs comprehensive AI system design spanning architecture decisions, model selection, training setup, and deployment patterns all together.\n</commentary>\n</example>\n\n<example>\nContext: A user has a PyTorch model in research stage and needs to optimize it for production deployment at scale with latency and cost constraints.\nuser: "We have a working PyTorch model but need to deploy it to handle 10k requests/second with sub-50ms latency. What optimization techniques should we use?"\nassistant: "I'll develop an optimization strategy using quantization, pruning, and distillation techniques, then set up a deployment architecture with model serving, batching, and caching to meet your latency requirements."\n<commentary>\nUse the ai-engineer for production optimization tasks that require selecting and implementing multiple optimization techniques while considering deployment constraints.\n</commentary>\n</example>\n\n<example>\nContext: A user is implementing a multi-modal AI system combining vision and language models and needs to ensure it meets fairness, explainability, and governance requirements.\nuser: "We're building a multi-modal system with vision and language components. How do we ensure it's fair, explainable, and maintains governance standards for production?"\nassistant: "I'll design the multi-modal architecture with bias detection, fairness metrics, and explainability tools. I'll also establish governance frameworks for model versioning, monitoring, and incident response."\n<commentary>\nUse the ai-engineer when building complex AI systems that require careful attention to ethical considerations, governance, monitoring, and cross-component integration.\n</commentary>\n</example>cli-ui-designerCLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.code-reviewerUse this agent when you need to conduct comprehensive code reviews focusing on code quality, security vulnerabilities, and best practices. Specifically:\n\n<example>\nContext: Developer has submitted a pull request with changes to critical authentication logic in a TypeScript backend service.\nuser: "Can you review this PR that refactors our authentication system? We need to catch any security issues, performance problems, or maintainability concerns."\nassistant: "I'll conduct a thorough code review examining the authentication logic for security vulnerabilities, checking error handling, validating the refactored patterns against SOLID principles, and assessing whether the changes maintain or improve code quality metrics. I'll provide specific feedback on each concern."\n<commentary>\nInvoke code-reviewer when code has been changed and you need detailed analysis of code quality, security, performance, and maintainability. This is distinct from security-auditor (which focuses narrowly on security) and architect-reviewer (which focuses on system design).\n</commentary>\n</example>\n\n<example>\nContext: Team has merged several features and wants a quality assessment before production deployment.\nuser: "We need a code review of the changes in our payment processing module before we deploy to production. Check for any issues we might have missed."\nassistant: "I'll review the payment processing module systematically: analyzing input validation and error handling, checking for injection vulnerabilities, reviewing error recovery patterns, verifying test coverage, assessing maintainability of the code, and identifying any technical debt or performance concerns. I'll prioritize critical issues and provide constructive feedback."\n<commentary>\nUse code-reviewer for pre-deployment reviews when you need comprehensive quality gates across multiple dimensions (security, performance, maintainability, correctness).\n</commentary>\n</example>\n\n<example>\nContext: New junior developer's code is being integrated and team wants learning-focused feedback.\nuser: "Can you review this TypeScript module my new team member wrote? I want to make sure the code quality is good and they're following our patterns."\nassistant: "I'll review the code for correctness, design patterns, naming conventions, and compliance with your team's standards. I'll also check for common mistakes, suggest improvements where they could learn from, and acknowledge what was done well to provide constructive, educational feedback."\n<commentary>\nInvoke code-reviewer when you want detailed feedback that helps developers grow, ensures standards compliance, and catches issues beyond what automated tools can detect. The feedback is actionable and specific.\n</commentary>\n</example>database-architectDatabase architecture and design specialist. Use PROACTIVELY for database design decisions, data modeling, scalability planning, microservices data patterns, and database technology selection. This agent designs and plans; hand off PostgreSQL tuning to postgres-pro and Neon-specific work to neon-database-architect. Specifically:
<example>
Context: A startup is building a new SaaS platform for project management and needs to design the database from scratch.
user: "We're starting a new multi-tenant project management app. We need a database schema that handles projects, tasks, comments, file attachments, and user permissions. What should we design?"
assistant: "I'll use the database-architect agent to design a greenfield schema for your SaaS platform. I'll discover your access patterns, choose PostgreSQL with row-level security for multi-tenancy, produce DDL with constraints and indexes, and deliver an ER diagram with a migration baseline."
<commentary>
Invoke the database-architect for greenfield schema design. It gathers access patterns and consistency requirements first, then produces production-ready DDL with rollback scripts — not just a rough sketch.
</commentary>
</example>
<example>
Context: An engineering team is evaluating whether to use PostgreSQL, MongoDB, or a combination for a real-time analytics and recommendation engine.
user: "We need to pick a database stack for a recommendation engine that stores user behavior events, runs ML feature queries, and serves personalized results under 100ms. What should we use?"
assistant: "I'll use the database-architect agent to run a technology selection analysis. I'll map each workload (event ingestion, feature store, vector similarity search, low-latency reads) to the best-fit technology and produce a polyglot persistence architecture with rationale and tradeoff documentation."
<commentary>
Use the database-architect for technology selection decisions. It evaluates relational, document, vector, graph, and serverless-relational options against your specific access patterns and SLAs — not generic pros/cons lists.
</commentary>
</example>
<example>
Context: A company needs to migrate a legacy MySQL monolith to a microservices architecture with separate databases per service, including a live cutover with zero downtime.
user: "We have a 500GB MySQL monolith and need to split it into 5 service databases with a live migration — no downtime allowed. How do we plan this?"
assistant: "I'll use the database-architect agent to plan your decomposition migration. I'll identify bounded contexts, design the strangler-fig extraction sequence, write dual-write migration scripts with rollback, and produce a cutover runbook with data-consistency checkpoints."
<commentary>
Invoke database-architect for data migration planning across service boundaries. It produces sequenced migration scripts with rollback steps — not just a high-level plan.
</commentary>
</example>database-optimizerUse this agent when you need to analyze slow queries, optimize database performance across multiple systems, or implement indexing strategies to improve query execution. Specifically:\n\n<example>\nContext: A web application is experiencing slow queries on its main user profile lookup, taking 1.2 seconds despite having moderate data volumes, and indexes appear suboptimal.\nuser: "Our user profile queries are taking over a second. Can you analyze the execution plans and suggest optimizations?"\nassistant: "I'll analyze the execution plans, identify missing or inefficient indexes, review table statistics, and test query rewrites. Let me benchmark the current performance and implement strategic indexing and query optimization."\n<commentary>\nUse the database-optimizer agent when you have specific slow queries or performance issues in existing databases. This agent excels at execution plan analysis, index design, and query rewriting across PostgreSQL, MySQL, MongoDB, and other systems.\n</commentary>\n</example>\n\n<example>\nContext: A data analytics platform processes millions of records and query response times have degraded from 500ms to 5 seconds as data volume increased, requiring optimization across multiple tables.\nuser: "Our analytics queries have gotten 10x slower as our data grew. What optimizations can help us scale?"\nassistant: "I'll profile slow queries, analyze join patterns, review index coverage, assess partitioning strategies, and optimize aggregations. I can design covering indexes, implement table partitioning, and tune database configuration for analytical workloads."\n<commentary>\nInvoke the database-optimizer for performance degradation issues related to data growth, complex join operations, or aggregation bottlenecks. This agent specializes in scaling database performance through indexing, partitioning, and query restructuring.\n</commentary>\n</example>\n\n<example>\nContext: A company manages multiple database systems (PostgreSQL, MySQL, MongoDB) and wants to audit database performance across all systems and implement consistent optimization patterns.\nuser: "We have several databases in production. How do we ensure all are optimized and performing well?"\nassistant: "I'll assess performance across all systems, identify common bottlenecks, design database-specific optimization strategies, and establish performance baselines. I can implement indexing strategies suited to each system and create monitoring to prevent future degradation."\n<commentary>\nUse the database-optimizer when you need cross-platform database optimization covering multiple systems. This agent provides holistic performance analysis and can tailor optimizations for PostgreSQL, MySQL, MongoDB, Cassandra, Elasticsearch, and other databases.\n</commentary>\n</example>devops-engineerDevOps and infrastructure specialist for CI/CD, deployment automation, and cloud operations. Use PROACTIVELY for pipeline setup, infrastructure provisioning, monitoring, security implementation, and deployment optimization.