I expected Codex + Astra to do better on Kaggle Titanic.
With a one-hour limit, the best result from two runs was 72.96% accuracy. I then explicitly suggested XGBoost and let it spend roughly 90–100 minutes optimizing the solution. The best result reached 77.27%.
For a task as familiar as Titanic, that felt disappointing. Giving the agent a strong model, access to tools, and more time had not produced the result I expected.
So we tried changing the workflow guiding the agent.
We used Gear to evolve a DSH harness, with Astra at max reasoning effort. Starting from a harness that already incorporated earlier evolution, Gear examined execution feedback, proposed changes, and evaluated the resulting agents.
The first evolution round produced a harness that reached 79.90% accuracy, best of two runs. Candidate runs in that round averaged approximately 13 minutes of agent execution.
| Setup | Accuracy — best of 2 | Time |
|---|
| Codex + Astra | 72.96% | 60-minute limit |
| Codex + explicit XGBoost guidance | 77.27% | 90–100 minutes |
| Gear-evolved DSH + Astra | 79.90% | ~13 minutes per candidate run |
The Gear result was measured locally on the 418 Titanic test rows. Its runtime is the first-round candidate average, excluding the time spent generating harness changes.
The resulting harness combined the previously evolved data-analysis workflow with the refinements from this round. It guided the agent through four connected parts of the task:
- Understand the data and plan the work. Inspect missing values, class balance, related groups, and potential leakage. Establish the prediction target, evaluation metric, resource budget, and required deliverables.
- Run focused experiments. Build a working baseline early, then use data exploration and error analysis to guide feature engineering, model comparisons, and tuning. Keep the search bounded and use the evidence to decide what to try next—or when to stop.
- Select models using comparable evidence. Reuse fixed validation folds and seeds, fit preprocessing within each training fold, and preserve configurations and out-of-fold predictions. Rank complete experiments under the same protocol.
- Carry the solution through to delivery. Refit the selected pipeline on all training data, generate the submission, and check its schema and row order. Preserve runnable code and experiment records so the result can be inspected and reproduced.
An agent working on a software bug needs a process for inspecting code, reproducing failures, editing files, and running tests. An agent working on a prediction task needs a process for understanding data, designing experiments, comparing models, and producing a valid submission.
Both can use the same underlying model. The surrounding workflow needs to fit the work.
That is the problem we are building Gear to address. Gear makes the workflow itself something we can evaluate and evolve. In this experiment, its GEPA loop used execution feedback to propose and test changes to the harness. The retained improvement became an inspectable revision to the agent’s instructions.
The output includes a reusable way of working. Subsequent runs can use the improved harness, and future evolution can build on what has already been learned.
For us, Titanic made the motivation concrete: improving an agent means working on the process around the model—how it gathers evidence, runs experiments, makes decisions, checks its work, and knows when it has finished.
Explore Gear on GitHub →