For teams using AI agents in development: how do you tell the agent what is safe to run in a repo?
by•
AI agents are becoming part of everyday development, but most repos still don’t have a clear way to tell an agent what is safe to run, what needs to be checked first, or which commands are actually trusted.
That gap is what we’re thinking about with Ota: making repo execution knowledge explicit enough for humans, CI, and AI agents to follow without guessing.
Curious how other teams are handling this today.
65 views


Replies
Ota
@achille82 Fotso, this is such a thoughtful breakdown, and the three-level framing (docs → tests → hard locks) is exactly the kind of mental model we wish more teams were working with. The real-world example with NEXIA really drives it home: the freeze held because it was explicit, not because the agent was smart enough to figure it out on its own.
You've named something important: docs are the starting point, but they're only as strong as the agent's willingness to read and respect them in the moment. Context windows get long, sessions get messy, and that's when implicit knowledge fails you.
On where Ota lands on that spectrum, we're building toward the enforcement end, not just the documentation end. The goal is that your execution rules aren't just described in a file somewhere, but actually structured in a way that's verifiable by CI, by the agent, and by your team. Think of it as giving the "what's safe" layer real teeth, not just good intentions.
Would love to stay in touch as you keep building NEXIA. The patterns you're discovering in daily use are exactly the kind of feedback that shapes where we take this. 🙏
Ota
@achille82 What you built from a totally different background is seriously impressive! I'll be sure to support on the 17th.
On Ota: it is a repo execution contract that lives in your repo as `ota.yaml`. You can use it on Replit like any other CLI tool. The point is to stop the agent guessing. Ota defines what the repo needs, what tasks exist, what is safe to run, and what should be verified after changes.
In practice:
`ota doctor` shows what is missing or risky
`ota up` prepares the repo correctly
`ota tasks` shows the approved runnable surface
`ota run ` runs named tasks through the contract instead of freehand shell guesses
We do not have a native Replit integration today, but because Ota is repo- and CLI-based, it can still work there if Replit Agent can read repo files and run shell commands.
Best way to start:
install Ota: ota.run/docs/install
run `ota detect --contract` or `ota init --dry-run`
keep only the real setup/run/verify paths
run `ota doctor`
Happy to help you all the way. If you want, send me your stack and I can point you to the closest example to start from: https://github.com/ota-run/examples
If useful, you can also install the Ota skill so your AI agent can help you shape a solid `ota.yaml`: `npx skills add ota-run/skills --full-depth`
@achille82
Small practical note from the agent-builder side: before a tool like Ota or anything similar, I would separate three things.
What the agent knows.
What the agent is allowed to do.
What proof gets saved after it acts.
Your bug logs and audit cycles are actually useful raw material for that last part.
Ota
@achille82 @blah_mad Yes, that is a very good framing, and it lines up well with Ota.
Ota is designed to make those three things explicit:
- what the agent knows:
the repo contract in `ota.yaml` defines setup, tasks, requirements, checks, workflows, services, and execution truth https://ota.run/docs/reference/contract
- what the agent is allowed to do:
Ota can define safe tasks, writable paths, protected paths, and what must be verified after changes
https://ota.run/docs/agent-integration
- what proof gets saved after it acts:
Ota can emit receipts and JSON output so execution is not just "the agent said it ran something," but a structured record of what was run and what happened
https://ota.run/docs/reference/execution-receipt
https://ota.run/docs/reference/json-output
The honest nuance is that Ota is strongest today on the first two, and getting stronger on the third. So if you mean full long-term audit history, bug ledgers, or review archives, that is adjacent to Ota. But if you mean "can the repo contract define execution truth, boundaries, and produce structured evidence after action," then yes, that is very much where Ota is headed.
If you want to see a real pressure-tested contract, Open WebUI is a good one because it is an AI app repo rather than a toy example.
https://github.com/bobaikato/open-webui/blob/bobai/open-webui-ota-pressure/ota.yaml
We started wit AGENTS.md but it gets outdated pretty quickly. The bigger challenge is keeping rules in sync with how the repo actually evolves
Ota
@furkan_kara1 This is one of the most common things we hear Furkan, and honestly it's what pushed us to think beyond just a file format. AGENTS.md is a great starting point but a file that lives separately from your actual execution context will always drift. The rules and the repo end up telling different stories over time.
With Ota, the goal is for your execution contract to stay grounded in what the repo actually does, not just what someone documented at setup. So as the repo evolves, the governance evolves with it rather than falling behind. Would love to hear more about where the sync breaks down for your team specifically.
This is the part I would want outside the prose file: a small contract that can fail when repo behavior drifts. Otherwise AGENTS.md becomes a policy doc with no test attached.
The cleanest pattern I have seen is three layers:
1. Describe intent in repo docs.
2. Enforce dangerous actions outside the model.
3. Keep a receipt after the action runs.
Docs help the agent behave. Enforcement is what saves you when the context gets messy.
Ota
@blah_mad You're right Ahmad, and that third point about keeping a receipt is underrated! Most of the conversation around agent safety stops at "how do we prevent bad actions" but auditability matters just as much. When something does go wrong, knowing exactly what ran, when, and why is what lets you recover and improve.
The framing of enforcement living outside the model is also key. You can't rely on the model to police itself, especially when context gets long or instructions get buried. The guardrails need to exist at a layer the model can't talk its way around.
This is very much the thinking behind Ota. Receipts are actually a first-class concept in how Ota works, archiving execution state so teams can check for drift and trace what actually ran against what was approved. Appreciate you putting it so cleanly.
@faithada yes, exactly. The receipt is where the product stops being a nice guardrail and starts becoming operational infrastructure.
This is also the angle I am taking with Weavz: outside-the-model enforcement for SaaS actions, scoped credentials, approvals, state/files, and receipts for what actually happened.
https://weavz.io
Different surface than Ota, same scar tissue: agents need a boring layer they cannot argue with.