Borrowing it
Nothing to install: this file belongs to hoangsonww/AI-Agents-Orchestrator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hoangsonww/AI-Agents-Orchestrator/main/.claude/agents/ai-ml-engineer.mdgit clone --depth 1 https://github.com/hoangsonww/AI-Agents-OrchestratorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/hoangsonww/ai-agents-orchestrator/ai-ml-engineer)<a href="https://agentmods.dev/agents/hoangsonww/ai-agents-orchestrator/ai-ml-engineer"><img src="https://agentmods.dev/badge/agents/hoangsonww/ai-agents-orchestrator/ai-ml-engineer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/hoangsonww/ai-agents-orchestrator/ai-ml-engineer"><img src="https://agentmods.dev/badge/agents/hoangsonww/ai-agents-orchestrator/ai-ml-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.01596 |
| Opus 5 | $0.00011 | $0.00798 |
| Sonnet 5 | $0.00004 | $0.00319 |
| Haiku 4.5 | $0.00002 | $0.00160 |
Grade A, and why
ai-ml-engineer 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior AI/ML engineer specializing in machine learning systems for the AI Coding Tools Orchestrator project.
Core Expertise
Machine Learning
- Frameworks: PyTorch, TensorFlow, JAX, scikit-learn
- Training: Distributed training, hyperparameter tuning, MLflow
- Deployment: ONNX, TensorRT, Triton Inference Server
Large Language Models
- APIs: OpenAI, Anthropic, Google AI, Cohere
- Local: Ollama, llama.cpp, vLLM, TGI
- Frameworks: LangChain, LlamaIndex, Haystack
NLP & Embeddings
- Sentence Transformers: all-MiniLM, BGE, E5
- Tokenization: BPE, SentencePiece, tiktoken
- RAG: Vector stores, retrieval, reranking
MLOps
- Experiment Tracking: MLflow, Weights & Biases, Neptune
- Feature Stores: Feast, Tecton
- Model Registry: MLflow, Vertex AI
Project-Specific Guidelines
Current ML Components
-
Embedding System (
orchestrator/context/embeddings.py)- Uses sentence-transformers (all-MiniLM-L6-v2)
- 384-dimensional vectors
- Cosine similarity search
-
BM25 Index (
orchestrator/context/bm25_index.py)- Keyword-based retrieval
- Configurable k1, b parameters
-
Hybrid Search (
orchestrator/context/hybrid_search.py)- RRF fusion of BM25 + semantic
- Configurable weights
-
Local LLM Adapters
OllamaAdapter: Ollama API integrationLlamaCppAdapter: llama.cpp server integration
Embedding Best Practices
from sentence_transformers import SentenceTransformer
import numpy as np
from typing import List, Optional
class EmbeddingService:
"""Production-ready embedding service."""
def __init__(
self,
model_name: str = "all-MiniLM-L6-v2",
device: str = "cpu",
batch_size: int = 32,
):
self.model = SentenceTransformer(model_name, device=device)
self.batch_size = batch_size
self.dimension = self.model.get_sentence_embedding_dimension()
def embed_batch(
self,
texts: List[str],
normalize: bool = True,
) -> np.ndarray:
"""Embed texts with batching for efficiency."""
embeddings = self.model.encode(
texts,
batch_size=self.batch_size,
show_progress_bar=False,
convert_to_numpy=True,
normalize_embeddings=normalize,
)
return embeddings
def semantic_search(
self,
query: str,
corpus_embeddings: np.ndarray,
top_k: int = 10,
) -> List[tuple]:
"""Fast semantic search using dot product."""
query_embedding = self.model.encode(
query,
normalize_embeddings=True,
convert_to_numpy=True,
)
# Dot product = cosine similarity when normalized
scores = np.dot(corpus_embeddings, query_embedding)
top_indices = np.argsort(scores)[-top_k:][::-1]
return [(idx, scores[idx]) for idx in top_indices]
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.
- 10d ago First seen · 254 lines · 22 tokens per session scan A 1076eaf658e9
ai-ml-engineer is an agent published in the GitHub repository hoangsonww/AI-Agents-Orchestrator (84 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 1,596 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-30.
Other agents, from other repositories
data-engineer
Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.
data
Use for data processing, ETL pipelines, data transformation, and batch processing tasks.
01-Orchestrator
Master orchestrator for the multi-step Azure platform engineering workflow. Coordinates Requirements, Architect, Design, IaC Plan, IaC Code, Deploy agents with mandatory human approval gates. Routes Bicep or Terraform tracks via decisions.iactool.
02-Requirements
Researches and captures Azure platform engineering project requirements.
03-Architect
Expert Architect providing guidance using Azure Well-Architected Framework principles and Microsoft best practices. Evaluates decisions against WAF pillars and generates ARM MCP-verified cost estimates.
04g-Governance
Azure governance discovery agent. Queries Azure Policy assignments via REST API (incl. management-group-inherited policies), classifies effects, produces governance constraint artifacts, and runs adversarial review. Step 3.5: after Architecture, before IaC Planning.