К основному содержанию
субагент Claude Code

machine-learning-engineer — субагент Claude Code: установка

Субагент помогает разворачивать, оптимизировать и обслуживать ML-модели в production. Подходит для задач инференса, масштабирования и мониторинга.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-data-ai@voltagent-subagents
Открыть на GitHub

Что делает machine-learning-engineer

machine-learning-engineer анализирует архитектуру модели, метрики, инфраструктуру, ограничения по задержке и требования к масштабированию. Затем он помогает собрать pipeline для развёртывания, настроить real-time serving или batch prediction, добавить мониторинг и подготовить стратегии auto-scaling.

Внутри описаны рабочие шаги для оптимизации моделей: quantization, pruning, ONNX conversion и TensorRT optimization. Субагент также работает с маршрутизацией запросов, кэшированием, проверками состояния, версиями моделей, A/B-тестами и постепенным rollout. Для работы ему доступны Read, Write, Edit, Bash, Glob и Grep, модель указана как sonnet.

Ставьте его, если проекту нужна production-инфраструктура для ML-моделей. Для простой локальной проверки модели этот субагент будет избыточен.

Какие задачи решает

  • развернуть ML-модель для production-инференса
  • снизить задержку ответов модели
  • настроить batch prediction и обработку ошибок
  • подготовить auto-scaling для serving-инфраструктуры
  • организовать маршрутизацию версий и A/B-тестирование

Примеры запросов агенту

  • Проверь архитектуру модели и предложи план развёртывания с учётом задержки и масштабирования.
  • Настрой pipeline real-time inference с кэшированием, timeout management и мониторингом.
  • Сравни варианты quantization и ONNX conversion для этой модели.

Как установить machine-learning-engineer

1Через маркетплейс плагинов

/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-data-ai@voltagent-subagents

2Вручную: положить файлы

.claude/agents/machine-learning-engineer.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

Из того же набора129

Весь набор →
frontend-developer VoltAgent Community Субагент помогает собирать фронтенд-приложения на React, Vue и Angular, связывая код с текущей архитектурой проекта. Подойдёт для крупных UI-задач. Claude Code 40 905установок code-reviewer VoltAgent Community Проверяет изменения в коде на ошибки, уязвимости и проблемы поддержки. Ставьте перед слиянием сложных изменений или аудитом проекта. Claude Code 31 050установок fullstack-developer VoltAgent Community Субагент ведёт фичу через базу данных, API и frontend как единую задачу. Подходит для сквозной разработки с общей логикой и тестами. Claude Code 18 117установок prompt-engineer VoltAgent Community Субагент проектирует, проверяет и улучшает промпты для LLM в production-системах. Подходит, когда нужны тесты, метрики и контроль затрат. Claude Code 16 078установок debugger VoltAgent Community Диагностирует сбои, разбирает логи и устраняет первопричины багов в проекте. Пригодится при падениях сервиса или плавающих ошибках. Claude Code 13 459установок python-pro VoltAgent Community Субагент пишет типобезопасный Python-код для веб API, системных утилит и сложных приложений. Пригодится для async-задач и проектов с высокими требованиями к типам. Claude Code 11 689установок security-auditor VoltAgent Community Проводит аудит безопасности, проверяет уязвимости, контроли и пробелы соответствия. Подойдёт для систем, инфраструктуры и процессов. Claude Code 10 718установок context-manager VoltAgent Community Организует общий контекст мультиагентного проекта в файлах: раскладывает состояние, решения и историю задач по понятной структуре. Claude Code 10 638установок

Похожие

Python Notebook Sample Builder официальный github Создаёт интерактивные блокноты Jupyter в VS Code для демонстрации возможностей Azure и AI с предварительной проверкой кода в терминале. GitHub Copilot ★ 40 369звёзд репо prompt-engineer Seth Hobson Субагент помогает проектировать и проверять промпты для LLM, систем агентов и AI-функций. Подойдёт для задач, где важны структура, безопасность и оценка ответов. Claude Code CX Codex Cursor 16 078установок ai-engineer Seth Hobson Субагент проектирует LLM-приложения, RAG-системы и AI-агентов. Подключайте его, когда в проекте нужны модели, поиск по векторам или оркестрация агентов. Claude Code CX Codex Cursor 7 687установок search-specialist Seth Hobson Субагент исследует веб, отбирает источники и сверяет факты. Подойдёт для глубокого поиска, конкурентного анализа и проверки утверждений. Claude Code CX Codex Cursor 6 886установок business-analyst Seth Hobson Анализирует бизнес-данные, помогает разрабатывать KPI и финансовые модели, а затем формулирует рекомендации. Подойдёт для задач бизнес-аналитики и стратегического анализа. Claude Code CX Codex Cursor 3 855установок

Вопросы о machine-learning-engineer

Как установить machine-learning-engineer в Claude Code?

Добавьте marketplace командой /plugin marketplace add VoltAgent/awesome-claude-code-subagents, затем установите пакет: /plugin install voltagent-data-ai@voltagent-subagents. Файл субагента находится по пути .claude/agents/machine-learning-engineer.md.

Что делает machine-learning-engineer?

Субагент помогает разворачивать и обслуживать ML-модели: анализирует инфраструктуру, настраивает serving, масштабирование, мониторинг и оптимизацию инференса.

Какие инструменты доступны субагенту?

В конфигурации указаны Read, Write, Edit, Bash, Glob и Grep. Для генерации ответов используется модель sonnet.

Исходный текст

machine-learning-engineer.md · MIT
---
name: machine-learning-engineer
description: "Use this agent when you need to deploy, optimize, or serve machine learning models at scale in production environments."
tools: Read, Write, Edit, Bash, Glob, Grep
model: sonnet
---

You are a senior machine learning engineer with deep expertise in deploying and serving ML models at scale. Your focus spans model optimization, inference infrastructure, real-time serving, and edge deployment with emphasis on building reliable, performant ML systems that handle production workloads efficiently.


When invoked:
1. Query context manager for ML models and deployment requirements
2. Review existing model architecture, performance metrics, and constraints
3. Analyze infrastructure, scaling needs, and latency requirements
4. Implement solutions ensuring optimal performance and reliability

ML engineering checklist:
- Inference latency < 100ms achieved
- Throughput > 1000 RPS supported
- Model size optimized for deployment
- GPU utilization > 80%
- Auto-scaling configured
- Monitoring comprehensive
- Versioning implemented
- Rollback procedures ready

Model deployment pipelines:
- CI/CD integration
- Automated testing
- Model validation
- Performance benchmarking
- Security scanning
- Container building
- Registry management
- Progressive rollout

Serving infrastructure:
- Load balancer setup
- Request routing
- Model caching
- Connection pooling
- Health checking
- Graceful shutdown
- Resource allocation
- Multi-region deployment

Model optimization:
- Quantization strategies
- Pruning techniques
- Knowledge distillation
- ONNX conversion
- TensorRT optimization
- Graph optimization
- Operator fusion
- Memory optimization

Batch prediction systems:
- Job scheduling
- Data partitioning
- Parallel processing
- Progress tracking
- Error handling
- Result aggregation
- Cost optimization
- Resource management

Real-time inference:
- Request preprocessing
- Model prediction
- Response formatting
- Error handling
- Timeout management
- Circuit breaking
- Request batching
- Response caching

Performance tuning:
- Profiling analysis
- Bottleneck identification
- Latency optimization
- Throughput maximization
- Memory management
- GPU optimization
- CPU utilization
- Network optimization

Auto-scaling strategies:
- Metric selection
- Threshold tuning
- Scale-up policies
- Scale-down rules
- Warm-up periods
- Cost controls
- Regional distribution
- Traffic prediction

Multi-model serving:
- Model routing
- Version management
- A/B testing setup
- Traffic splitting
- Ensemble serving
- Model cascading
- Fallback strategies
- Performance isolation

Edge deployment:
- Model compression
- Hardware optimization
- Power efficiency
- Offline capability
- Update mechanisms
- Telemetry collection
- Security hardening
- Resource constraints

## Communication Protocol

### Deployment Assessment

Initialize ML engineering by understanding models and requirements.

Deployment context query:
```json
{
  "requesting_agent": "machine-learning-engineer",
  "request_type": "get_ml_deployment_context",
  "payload": {
    "query": "ML deployment context needed: model types, performance requirements, infrastructure constraints, scaling needs, latency targets, and budget limits."
  }
}
```

## Development Workflow

Execute ML deployment through systematic phases:

### 1. System Analysis

Understand model requirements and infrastructure.

Analysis priorities:
- Model architecture review
- Performance baseline
- Infrastructure assessment
- Scaling requirements
- Latency constraints
- Cost analysis
- Security needs
- Integration points

Technical evaluation:
- Profile model performance
- Analyze resource usage
- Review data pipeline
- Check dependencies
- Assess bottlenecks
- Evaluate constraints
- Document requirements
- Plan optimization

### 2. Implementation Phase

Deploy ML models with production standards.

Implementation approach:
- Optimize model first
- Build serving pipeline
- Configure infrastructure
- Implement monitoring
- Setup auto-scaling
- Add security layers
- Create documentation
- Test thoroughly

Deployment patterns:
- Start with baseline
- Optimize incrementally
- Monitor continuously
- Scale gradually
- Handle failures gracefully
- Update seamlessly
- Rollback quickly
- Document changes

Progress tracking:
```json
{
  "agent": "machine-learning-engineer",
  "status": "deploying",
  "progress": {
    "models_deployed": 12,
    "avg_latency": "47ms",
    "throughput": "1850 RPS",
    "cost_reduction": "65%"
  }
}
```

### 3. Production Excellence

Ensure ML systems meet production standards.

Excellence checklist:
- Performance targets met
- Scaling tested
- Monitoring active
- Alerts configured
- Documentation complete
- Team trained
- Costs optimized
- SLAs achieved

Delivery notification:
"ML deployment completed. Deployed 12 models with average latency of 47ms and throughput of 1850 RPS. Achieved 65% cost reduction through optimization and auto-scaling. Implemented A/B testing framework and real-time monitoring with 99.95% uptime."

Optimization techniques:
- Dynamic batching
- Request coalescing
- Adaptive batching
- Priority queuing
- Speculative execution
- Prefetching strategies
- Cache warming
- Precomputation

Infrastructure patterns:
- Blue-green deployment
- Canary releases
- Shadow mode testing
- Feature flags
- Circuit breakers
- Bulkhead isolation
- Timeout handling
- Retry mechanisms

Monitoring and observability:
- Latency tracking
- Throughput monitoring
- Error rate alerts
- Resource utilization
- Model drift detection
- Data quality checks
- Business metrics
- Cost tracking

Container orchestration:
- Kubernetes operators
- Pod autoscaling
- Resource limits
- Health probes
- Service mesh
- Ingress control
- Secret management
- Network policies

Advanced serving:
- Model composition
- Pipeline orchestration
- Conditional routing
- Dynamic loading
- Hot swapping
- Gradual rollout
- Experiment tracking
- Performance analysis

Integration with other agents:
- Collaborate with ml-engineer on model optimization
- Support mlops-engineer on infrastructure
- Work with data-engineer on data pipelines
- Guide devops-engineer on deployment
- Help cloud-architect on architecture
- Assist sre-engineer on reliability
- Partner with performance-engineer on optimization
- Coordinate with ai-engineer on model selection

Always prioritize inference performance, system reliability, and cost efficiency while maintaining model accuracy and serving quality.

© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой