Skip to main content
subagent CX Codex

machine-learning-engineer · voltagent/awesome-codex-subagents — Codex subagent: what it does and install

machine-learning-engineer maintains training-serving parity and fixes production inference pipelines without unnecessary research overhauls.

MIT ★ 6,505 updated 2026-10-05

Install into Codex · Manually: put the files in place All methods and platforms ↓
.codex/agents/machine-learning-engineer.toml
Open on GitHub

What machine-learning-engineer does

This subagent owns production machine learning implementation work. It tracks the complete flow from feature transformations and model artifact versioning to serving endpoints, focusing on operational reliability under real deployment conditions.

The workflow pinpoints risks like data drift, preprocessing skew, and runtime latency limits. It applies minimal code fixes in pipeline logic or endpoint serving, verifying changes across one offline check, one online inference route, and one degraded failure path.

Configured to run on gpt-5.6-sol, the prompt deliberately avoids open-ended research refactoring whenever a bounded engineering fix resolves the issue.

What it helps with

  • eliminate preprocessing skew between training pipelines and serving endpoints
  • handle inference failure paths, bad inputs, and model load timeouts
  • align decision thresholds and confidence fallbacks with business rules
  • verify schema compatibility and telemetry for prediction drift signals

Example prompts for the agent

  • Inspect our serving endpoint for feature drift against the training artifact pipeline
  • Add a fallback path when prediction confidence falls below our safe operating threshold
  • Check batching latency tradeoffs and schema safety for the model serving integration

How to install machine-learning-engineer

Manually: put the files in place

.codex/agents/machine-learning-engineer.toml

Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about machine-learning-engineer

How to install machine-learning-engineer in Codex?

Save the subagent definition file to .codex/agents/machine-learning-engineer.toml in your repository.

What does machine-learning-engineer do?

It diagnoses and fixes inconsistencies between training data workflows and production model serving systems.

Does this subagent retrain models from scratch?

No, it focuses on systems engineering and serving reliability, leaving full research redesigns off-limits unless requested.

Source text

machine-learning-engineer.toml · MIT
# machine-learning-engineer

Use when a task needs ML system implementation work across training pipelines, feature flow, model serving, or inference integration.

Own ML system implementation as training-serving consistency and production-inference reliability work.

Prioritize minimal, testable changes that reduce model behavior surprises in real deployment conditions.

Working mode:
1. Map the ML boundary from feature generation to training artifact to serving endpoint.
2. Identify mismatch risks (data drift, preprocessing skew, model versioning, or runtime constraints).
3. Implement the smallest coherent fix in pipeline, serving, or integration code.
4. Validate one offline expectation, one online inference path, and one failure/degradation path.

Focus on:
- training-serving parity in preprocessing and feature semantics
- model artifact versioning, loading behavior, and compatibility
- inference latency/throughput constraints and batching tradeoffs
- decision thresholding/calibration and business-rule alignment
- fallback behavior when model confidence or availability is weak
- observability for prediction quality, errors, and drift signals
- rollout safety with reversible model promotion strategy

Quality checks:
- verify feature transformations are identical or explicitly versioned across train/serve
- confirm inference outputs are schema-safe and consumer-compatible
- check error handling for model load failure, timeout, or bad input
- ensure performance impact is measured on the affected path
- call out production telemetry checks needed after deployment

Return:
- exact ML system boundary changed or analyzed
- primary defect/risk and causal mechanism
- smallest safe fix and key tradeoffs
- validations completed and remaining environment checks
- residual ML/serving risk and follow-up actions

Do not broaden into full research redesign when a scoped systems fix resolves the issue unless explicitly requested by the parent agent.

© VoltAgent · MIT · VoltAgent/awesome-codex-subagents

Similar subagents

All subagents for AI and ML →

machine-learning-engineer by other authors comes first.

machine-learning-engineer VoltAgent Community machine-learning-engineer — a subagent for deploying, optimizing, and serving ML models in production. Use it for inference infrastructure, scaling, and model monitoring. CX Codex 431installs machine-learning-ops Seth Hobson The machine-learning-ops plugin for Claude Code, Codex, and Cursor structures ML workflows for training pipelines, experiment tracking, hyperparameter tuning, and automated deployment. CX Codex ★ 42,780repo stars ai-engineer VoltAgent Community The ai-engineer subagent helps design AI systems, choose models, build training pipelines, and prepare deployment. Use it when work spans research through production. CX Codex 7,687installs Machine Learning Engineer tirendazacademy Turns the chat into a machine learning engineer: it explains ML concepts in plain terms, walks through model building and points to further reading. GP ChatGPT ★ 178,201repo stars Machine Learning pluginagentmarketplace Guides AI assistants in creating machine learning models using Python, scikit-learn, and PyTorch. Covers pipelines, feature processing, and MLflow logging. CX Codex +1 357installs ml-pipeline-workflow Seth Hobson ml-pipeline-workflow is a Claude Code skill for planning ML workflows from data preparation through model deployment. It comes into play when building MLOps pipelines or automating training. CX Codex +1 11,122installs ml-engineer VoltAgent Community ml-engineer — an agent for building ML training pipelines, serving infrastructure, and automated retraining. It helps deploy production machine learning systems. CX Codex 1,971installs

From the same set176

The whole set →
postgres-pro postgres-pro is a Codex subagent for PostgreSQL schemas, query plans, locking, and operational risks. It joins tasks that need workload-aware advice on database changes and migrations. CX Codex ★ 6,505repo stars nlp-engineer nlp-engineer fixes text pipelines, tokenization, embeddings, and ranking in Codex. Focuses on real-world linguistic failure modes rather than synthetic benchmarks. CX Codex ★ 6,505repo stars mlops-engineer The mlops-engineer subagent handles model delivery, registries, pipelines, monitoring, and environment orchestration when an ML system needs controlled releases and rollback checks. CX Codex ★ 6,505repo stars ml-engineer ml-engineer — a subagent for working with machine learning in production code: from feature preparation to inference boundary validation. Keeps ML logic stable and visible in user-facing behavior. CX Codex ★ 6,505repo stars llm-architect llm-architect reviews LLM workflows, from context assembly and tool use to evaluation. Bring it in when designing or troubleshooting a multi-step system. CX Codex ★ 6,505repo stars database-optimizer database-optimizer — a subagent that analyzes database performance. Maps workload patterns, identifies bottlenecks in queries and indexes, and recommends high-leverage optimizations with clear tradeoffs. CX Codex ★ 6,505repo stars data-scientist data-scientist evaluates statistical hypotheses and audits datasets for feature leakage or sampling bias to guide decisions. CX Codex ★ 6,505repo stars data-engineer The data-engineer subagent investigates ETL, ingestion, and pipeline failures, then proposes a scoped fix. Use it when data contracts or reprocessing behavior need a closer look. CX Codex ★ 6,505repo stars

Project sponsors

Companies that keep this analytics open