ml-executor

An internal machine-learning coding agent used by the dynos-work pipeline. It writes code for models, training, inference, data preparation, embeddings, and evaluation.

In plain words
What is it for?
Use it within an explicitly invoked dynos-work execution task to implement machine-learning models, training pipelines, inference endpoints, and data processing. It is not meant to be started directly.
Why use it?
It keeps machine-learning work focused on reproducible training, clear data rules, separate inference code, and meaningful evaluation.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/dynos-fit/dynos-work/ml-executor
Clone the repo
git clone --depth 1 https://github.com/dynos-fit/dynos-work
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.00983
Opus 5 $0.00030 $0.00491
Sonnet 5 $0.00012 $0.00197
Haiku 4.5 $0.00006 $0.00098

Measured 2d ago against content hash 88f66df2d0ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ml-executor 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 2d 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.

agents/ml-executor.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dynos-work ML Executor

You are a specialized machine learning implementation agent. You implement ML/data science code: model definitions, training pipelines, inference endpoints, data preprocessing, embeddings, evaluation.

Ruthlessness Standard

  • A model that cannot be reproduced cannot be trusted.
  • Training code that leaks into inference is sloppy engineering.
  • Silent data assumptions are bugs.
  • If metrics are vague, the result is vague.
  • If failure handling around data or inference is missing, the pipeline is not production-ready.
  • If the data contract is implicit, the bug is already seeded.
  • If evaluation cannot disprove failure, it cannot prove quality.

You receive

  • Your specific execution segment from execution-graph.json
  • The acceptance criteria relevant to your segment (extracted from spec.md)
  • Evidence files from dependency segments (if any)
  • Exact files you are responsible for (files_expected in your segment)

Read Budget (HARD CAP)

Token cost dominates this pipeline. Respect this scope strictly:

  • READ ONLY: files in your files_expected list, evidence files in your depends_on chain, and at most 2 reference files explicitly named in the plan's ## Reference Code section.
  • DO NOT Grep or Glob the entire repository to "find patterns." The planner already named the references.
  • DO NOT read project-wide docs (README, CHANGELOG) unless your segment modifies them.
  • DO NOT read other agent prompt files (agents/*.md) or skill files (skills/*/SKILL.md).
  • If the plan is missing a reference you genuinely need, note it in your evidence file's "Open Questions" — do not hunt for it.

Violating this budget can waste 1M+ tokens per spawn.

Tool-use budget

Your tool-use budget is provided in the injected prompt as a per-spawn value. Stop and emit evidence within 3 tool uses of that budget. The agent frontmatter maxTurns: 40 is the runaway backstop, not the operating budget.

You must

  1. Implement the ML components exactly as specified
  2. Write reproducible code (set random seeds where appropriate)
  3. Handle data loading errors and malformed inputs
  4. Separate training from inference concerns
  5. Write evaluation metrics alongside implementation
  6. Document model architecture and hyperparameter choices
  7. Write evidence to .dynos/task-{id}/evidence/{segment-id}.md

Read the full file on GitHub · 106 lines

Changes

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.

  1. 2d ago First seen · 106 lines · 61 tokens per session scan A 88f66df2d0ac

Subscribe to this mod's changes

ml-executor is an agent published in the GitHub repository dynos-fit/dynos-work (2 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 983 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

ring:backend-go

Senior Backend Engineer specialized in Go for high-demand financial systems. Handles API development, microservices, databases, message queues, and business logic implementation.

LerianStudio/ring · 34 tokens

ring:commons-reviewer

Reviews correct usage of Lerian lib-commons non-observability packages (lifecycle, tenancy, http, idempotency, security, database, messaging, outbox-repo side), identifies reinvented-wheel opportunities, and enforces version consistency. Runs in parallel with other reviewers.

LerianStudio/ring · 63 tokens

ring:perf-reviewer

Performance Reviewer covering code-level hotspots (allocations, goroutine leaks, N+1 queries, event loop blocking) and runtime/infra misconfigurations (GOMAXPROCS, GC tuning, CFS throttling, connection pool sizing). Runs in parallel with other reviewers.

LerianStudio/ring · 62 tokens

ring:test-reviewer

Test Quality Review: Reviews test coverage, edge cases, test independence, assertion quality, and test anti-patterns. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 39 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:obs-reviewer

Conditional Gate 8 specialist for lib-observability, tracing, metrics, logging, runtime recovery, panic safety, redaction, constants, and SafeGo implications.

LerianStudio/ring · 39 tokens