Thanks for your interest in improving Context Engine Simulator.
npm installThere's no build step — the tool runs directly via tsx.
Please make sure both of these pass:
npm run typecheck # tsc --noEmit, strict mode
npm run lint # eslint src/Each agent lives in its own src/<agent>.ts and exports an invoke<Agent>(opts: AgentInvokeOptions): Promise<AgentResult> function. To add one:
- Create
src/<agent>.tsimplementing theinvokecontract (spawn the CLI, parse its output into anAgentResult). - Add the agent name to the
AgentNameunion insrc/types.ts. - Wire it into
getInvoker()insrc/runner.ts. - If the agent manages its own git worktrees, update
agentManagesWorktrees()/resolveAgentWorktreePath()insrc/runner.ts. - If the agent supports MCP, honor
opts.bannedMcpServersso contamination control works.
- Keep new code consistent with the surrounding style; match the existing patterns.
- Agent wrappers should never throw on a failed run — return a failed
AgentResult(the contamination case is the one intentional exception, which rejects). - Don't commit experiment output (
results/) or local fixtures (fixtures/) — both are gitignored.
Open an issue with the agent, model, and a minimal fixture that reproduces the problem. Include relevant output from a --verbose run.