Skip to content

Testing without a model

Ombro has fakes for every outside dependency, so you can rehearse a spec, try a role or test a set-up without a network connection or a paid call. Its own test suite uses the same fakes.

In ~/.config/ombro/models.md, a model with api: fake replies from a JSON script of canned answers, with no network:

---
models:
rehearsal:
api: fake
script: replies.json # canned replies, relative to your Ombro home
---

Then give a role that model with ombro model <crew>/<role> rehearsal.

In tools.md, provider: fake gives invented search results and pages, and records every request in the job’s fake-calls.jsonl:

tools:
web.search: {provider: fake}
web.fetch: {provider: fake}

Ombro includes a fake MCP server with one tool of each class (read-only, internal and external). It reaches nothing, and writes what it would have done to fake-mcp-sent.jsonl in your Ombro home. Add it to tools.md:

servers:
fake:
command: ombro
args: [fake-mcp]

Use it to see how a spec’s approvals would play out before connecting a real service.

Worked examples are in the repository’s examples/ folder.