# Edit GitHub-synced Agents from either side

> Enable two-way Agent source sync to commit saved Everruns edits to GitHub, retain local changes on errors, and review conflicts before replacing them.

Source: <https://everruns.com/docs/changelog/2026-10-25-two-way-agent-github-sync/>

Date: 2026-10-25
Products: Platform
Category: Feature
Available: In 0.49.0

Agents connected to GitHub can now accept edits in Everruns too. Open **Change source**, choose **Sync with GitHub**, preview the package and enable continuous sync. Saved edits are queued and committed to the selected branch. Existing bindings remain read-only until you opt in.

![Agent source with two-way editing and continuous sync status](https://everruns.com/docs/_astro/source@2x.GC_rZqDC_1rupB9.webp)

Two-way sync requires Contents write permission on the GitHub App and installation. Branch protection still applies. If both sides change the package, sync pauses and retains your local edits. Review the GitHub version before replacing them, or disconnect to keep local editing.

Write-back preserves instruction and asset paths while manifest edits may normalize formatting. Credentials and publication stay local. See [Define agents as files](https://everruns.com/docs/how-to/define-agents-as-files/#sync-an-agent-continuously-from-github).