# Osty vs DIY coding agent patch scripts

Compare / Build vs buy. Breadcrumb: [Home](https://osty.dev/) / [Compare](https://osty.dev/compare) / Osty vs coding agents

Published by Osty Engineering. Competitor capabilities reflect public documentation as of 2026-11.

Claude Code and GitHub Copilot are excellent at editing one repository, and Osty uses models the same way, as untrusted workers. A fleet CVE program also needs facts a model cannot infer: sandbox verdicts, distro backports, glibc floors, which deploy is stale, and a deterministic verifier between every diff and a branch. Gate installs with `osty verify`.

Table: Capability comparison, Osty and a DIY coding agent pipeline. As of 2026-11, from public documentation.

| Capability | Osty | DIY Claude Code or Copilot script |
| --- | --- | --- |
| Single-repository code edits | Delegated to a swappable model inside a sandbox. | Strong; this is what coding agents are built for. |
| Is the fixed version itself safe? | Signed Firecracker detonation verdict required before install. | The agent trusts the registry. |
| Changelog prompt injection (`a10`) | Upstream prose never reaches an agent with write tools or network; breaking-change claims need compiler AST corroboration. | The agent reads release notes with write and network access. |
| Migration sandbox | Zero network, zero secrets, emits a unified diff only. | Runs with the developer's or CI's credentials. |
| Patch verification | Deterministic Policy Patch Verifier: forbidden paths, unlisted dependencies, new shell or network primitives. | Code review and CI. |
| Merge authority | LLM edits hard-capped at `VERIFIED_PR`; only deterministic changes may auto-merge. | Whatever the script's token allows. |
| Stale deploys and rollout | Hotfix branches from the deployed commit, canary gates, kill switch. | Out of scope unless you build it. |
| Audit | Ed25519 hash-chained ledger with offline verification. | Pull request history. |

Verify what the agent's lockfile change installs:

```bash
osty verify --lockfile package-lock.json --json
```

## What do coding agents do well?

For a single repository, an agent reads the advisory, finds the call sites, edits them and opens a pull request in minutes. Claude Code works from the terminal with the full checkout, and Copilot's coding agent works from a GitHub issue. Each model generation raises the fix rate. A team patching a few services by hand should use them.

- Fast ad-hoc migrations in one repository.
- Natural-language instructions and interactive review.
- Improves with every model release at no extra integration cost.

## Why do DIY agent scripts break at fleet scale?

### Models do not hold live ground truth

Whether `vNew` exfiltrates secrets, whether Debian backported the fix, whether a wheel needs `GLIBC_2.34`, and which commit production runs are facts from live systems. Plane 1 computes them once per public release and ships them as signed verdicts; a model's weights froze months ago.

### Release notes are attacker-controlled input

In adversarial scenario `a10`, a changelog instructs the upgrade agent to add a post-install hook. Osty extracts changelog claims in a zero-tool step, checks them against compiler AST diffs, and runs migrations in a zero-network, zero-secret sandbox that can only emit a diff.

### A deterministic gate between the diff and the branch

The Policy Patch Verifier rejects diffs that touch `forbiddenPaths` such as `.github/workflows/**`, add unlisted dependencies or introduce new shell or network primitives. It does not ask a model whether the diff is safe.

### Fleet order, stale deploys and proof

Patching 60 repositories means ordering shared libraries first, capping CI spend, cutting hotfix branches from deployed commits when `main` carries unshipped features, and proving every step to an auditor. That is workflow infrastructure, not a prompt.

## How do Osty and coding agents price?

Table: Pricing model, Osty and Claude Code, GitHub Copilot. As of 2026-11, from public documentation.

| Vendor | Pricing unit | What scales the bill | Source |
| --- | --- | --- | --- |
| Osty | Team is $250 per month for up to 10 active production services, then $25 per active service per month. Enterprise and Sovereign are custom. | Active production services. Users, repositories and pull requests are unlimited. | [osty.dev/pricing](https://osty.dev/pricing) |
| Claude Code, GitHub Copilot | Claude Code: Claude subscription plans or API usage. GitHub Copilot: per-user plans, with Business and Enterprise for organisations. | See the vendor pricing page; Osty does not publish competitor dollar figures. | claude.com, github.com/features/copilot |

## When to choose a coding agent vs when to choose Osty (or use both)

### Choose a coding agent alone when

- You patch a few repositories and review every diff yourself.
- No shared internal libraries or base images need ordered releases.
- Audit evidence beyond pull request history is not required.

### Choose Osty when

- CVE fixes span dozens of repositories and shared dependencies.
- Agents must never see secrets, network or untrusted prose with write tools.
- Auditors need signed evidence of each verdict, merge and rollout.

### Use both when

Developers keep their coding agent for day-to-day work. Osty runs the fleet CVE program and uses a model only inside its cage, so a better model improves Osty's migration fix rate without changing its safety boundary.

## How do I keep an agent's pull request honest today?

Put `forbiddenPaths` and the patch verifier switches in policy, validate them, and gate the agent's lockfile in CI.

Patch verifier section of `.osty/policy.yaml`:

```yaml
patchVerifier:
  allowAgenticCodeMigrations: true
  agenticMigrationMaxAutonomy: VERIFIED_PR
  forbiddenPaths:
    - ".github/workflows/**"
    - "**/auth/**"
  forbidUnlistedDependencies: true
  forbidNewShellOrNetworkPrimitives: true
```

## Sources

- [Claude Code documentation](https://docs.claude.com/en/docs/claude-code/overview)
- [GitHub Copilot plans](https://github.com/features/copilot/plans)

## Frequently asked questions

### Does Osty use LLMs?

Yes, as swappable, untrusted workers inside zero-network, zero-secret sandboxes. Their diffs pass the Policy Patch Verifier and are capped at `VERIFIED_PR`.

### Can an LLM-written change ever auto-merge in Osty?

No. Only deterministic changes, such as lockfile bumps, `@sha256` pins and mechanical compiler AST codemods, are eligible for auto-merge under policy.

### What is scenario `a10`?

One of Osty's 15 adversarial lab scenarios: a changelog that carries instructions aimed at the upgrade agent. Osty's pipeline must ignore it and the patch verifier must reject any resulting hook.

## Related pages

- [Ship](https://osty.dev/ship): Fleet campaigns on Temporal, offline AI migrations capped at `VERIFIED_PR`, the Policy Patch Verifier, CI side-effect classification, canary gates and a stateful-safe kill switch.
- [Policy and Ledger](https://osty.dev/policy-ledger): Git-pinned, non-executable `.osty/policy.yaml` enforced by `osty-edge` on every mutating command, tighten-only overlays, release gates and the hash-chained Ed25519 Evidence Ledger.
- [Osty vs Renovate](https://osty.dev/compare/osty-vs-renovate): Update automation compared with verified, canary-gated rollout.
- [GitHub Actions integration](https://osty.dev/integrations/github-actions): Gate agent pull requests with `osty verify` in CI.

## See your fleet in 10 minutes

Connect a read-only GitHub App and cloud role. Osty installs nothing in your environment and writes nothing to your repositories, and the report shows false positives, stale deploys and unowned workloads.

Get a free X-Ray: https://osty.dev/xray

Written by Osty Engineering. Published 2026-11-29. Updated 2026-11-29.

Canonical: https://osty.dev/compare/osty-vs-coding-agents
