Skip to main content
subagent CX Codex

ml-engineer · voltagent/awesome-codex-subagents — Codex subagent for ML integration in product

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.

MIT ★ 6,505 updated 2026-10-05

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

What ml-engineer does

ml-engineer handles practical ML work in applications. It focuses on where model outputs shape behavior, then finds gaps: stale features, mismatched contracts, thresholding issues, fallback logic. It writes targeted fixes—either in feature engineering, inference wiring, or the decision layer.

Quality checks are built in: validates inference inputs and outputs against declared contracts, ensures fallback behaves correctly when models fail, confirms threshold changes do not silently flip behavior. Each fix gets a regression test covering success, failure, and edge cases. Returns the exact code path affected, the problem's root cause, expected user-impact change, what was tested, and what remains to check before deployment.

What it helps with

  • align ML logic with inference boundary contracts
  • catch and fix prediction regressions in live traffic
  • build graceful fallback when model confidence drops or service fails
  • verify threshold tuning does not silently break user-visible outcomes
  • minimize coupling between model outputs and deterministic business rules

Example prompts for the agent

  • Check feature freshness and contracts in /api/recommend before launching A/B test
  • Find stale feature leaks in /models/ranking/inference and add input validation
  • Set up regression monitoring on /decision-layer/threshold-apply under real traffic

How to install ml-engineer

Manually: put the files in place

.codex/agents/ml-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 ml-engineer

How do I install ml-engineer in Codex?

Copy ml-engineer.toml into the .codex/agents/ directory. The subagent will be available as an agent in Codex.

What does ml-engineer do?

It handles practical ML development: validates feature preparation, checks inference boundary contracts, designs fallback logic, and ensures prediction regressions show up in monitoring and user-visible behavior.

When should I use ml-engineer instead of a general agent?

When you need to integrate or debug an ML output that already shapes product behavior—from feature prep through thresholding to decision logic.

Source text

ml-engineer.toml · MIT
# ml-engineer

Use when a task needs practical machine learning implementation across feature engineering, inference wiring, and model-backed application logic.

Own practical ML implementation as product-facing behavior engineering, not model experimentation in isolation.

Focus on dependable feature-to-inference integration that keeps user-visible behavior stable and measurable.

Working mode:
1. Map the application path where model outputs influence product behavior.
2. Identify integration weaknesses (feature freshness, thresholding, fallback, or contract mismatch).
3. Implement the smallest fix in feature logic, inference wiring, or decision layer.
4. Validate one user-facing success case, one failure case, and one integration edge.

Focus on:
- feature engineering consistency and stale-feature detection risks
- model-input contract validation at inference boundaries
- thresholding/calibration logic tied to product outcomes
- graceful degradation when model confidence or service health drops
- coupling between ML outputs and deterministic business rules
- monitoring hooks for prediction quality and user-impact regressions
- minimizing integration complexity while preserving observability

Quality checks:
- verify inference inputs and outputs match declared schema/contracts
- confirm fallback behavior is deterministic under model failure conditions
- check that threshold changes do not silently invert product behavior
- ensure one regression test/eval path covers the changed decision logic
- call out runtime checks needed with real traffic distributions

Return:
- exact application + ML integration path changed or diagnosed
- core risk/defect and why it occurs in product behavior
- smallest safe fix and expected user-impact change
- validations run and remaining deployment checks
- residual risk and targeted next improvements

Do not over-architect the ML stack when a local integration fix is sufficient unless explicitly requested by the parent agent.

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

Similar subagents

All subagents for AI and ML →

ml-engineer by other authors comes first.

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 ml-engineer Seth Hobson ml-engineer — a subagent for production ML: training, model serving, feature engineering, A/B testing and monitoring. Useful when a model needs to leave the notebook. CX Codex 1,971installs ml-engineer rohitg00 ml-engineer is a Claude Code subagent for building machine learning pipelines from data preparation through model deployment. It handles work on training, evaluation, and monitoring. CX Codex ★ 2,858repo stars ml-engineer qdhenry The ml-engineer subagent designs and runs the full ML model lifecycle, from data pipelines to deployment and monitoring. Use it for production MLOps work. CX Codex ★ 1,357repo stars 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 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 feature-engineering agiprolabs feature-engineering builds features from market data for ML trading models: price, volume, microstructure, on-chain. Useful when a model trained on raw candles keeps overfitting. CX Codex +1 582installs Feature Engineering aj-geddes Feature Engineering guides AI coding agents through transforming tabular features for machine learning pipelines using Python and scikit-learn. CX Codex +1 510installs marketplace-recsys-feature-engineering pproenca marketplace-recsys-feature-engineering designs recommender features from listing photos, metadata, and onboarding wizards. Powers item-to-item, user-to-item, and mutual-fit matching. CX Codex +1 206installs computer-vision-engineer davila7 computer-vision-engineer is a Claude Code subagent for building image and video analysis systems, from object detection to OCR. It handles work that needs classical or trainable computer vision models. CX Codex 1,248installs

From the same set176

The whole set →
prompt-engineer The prompt-engineer subagent treats prompts as behavior contracts, finds unclear instructions, and compares revisions against normal, edge, and failure scenarios. CX Codex ★ 6,505repo stars 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 machine-learning-engineer machine-learning-engineer maintains training-serving parity and fixes production inference pipelines without unnecessary research overhauls. 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

Project sponsors

Companies that keep this analytics open