DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to optimize a retrieval workflow's pipeline.json and node code with Ant Omni Evo

Have agents edit pipeline config and node scripts until a workflow scores better on your data.

Short answer: Define the System as the function that runs the pipeline on one instance and returns its result; then write an Evaluator that scores each pipeline result from 0 to 1; Gather train and validation queries that reflect the real workload. All steps.

Who it is forA developer running a multi-step pipeline, such as a retrieval DAG, whose result quality varies and who has a repeatable way to score outputs.

The problemTuning a pipeline means editing a config file and several node scripts together, and it is hard to tell which change caused a gain or loss.

The outcomeAn optimized pipeline.json and set of node scripts, with the lineage showing which edits came from which failures.

What you need first

  • A Python environment (the repo language is Python)
  • A system that can run on one eval instance and produce output
  • An Evaluator that scores each output from 0 to 1
  • Train and validation data that define what good looks like
  • Starting tunable artifacts as a directory of files
  • A coding-agent Proposer to make the edits (the README says the proposer must be agents)

Steps

  1. Define the System as the function that runs the pipeline on one instance and returns its result.
  2. Write an Evaluator that scores each pipeline result from 0 to 1.
  3. Gather train and validation queries that reflect the real workload.
  4. Map pipeline.json and the nodes/*.py files into a TunableArtifactSchema so the Proposer knows which file does what.
  5. Start the evolution loop from the current pipeline files and let the framework keep the strongest candidates.
  6. Compare the best candidate's files with the originals and deploy only the changes you accept.

Prompt for your agent

Using the AntOmniEvo repo (ant-research/AntOmniEvo), evolve the workflow at <pipeline-dir> where pipeline.json and nodes/*.py are the tunable artifacts, scored by an Evaluator returning 0 to 1. Expected output: the best candidate's pipeline directory and changelog. Verify that each changed file in the best candidate traces back to a recorded failure.

Caveat. The README gives the pipeline.json and nodes/*.py example, but it does not show how a retrieval DAG is wired in, so confirm the integration details in the docs before relying on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ant-research/AntOmniEvo and "Optimize a retrieval workflow's pipeline.json and node code"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer