Add more repos
Editrepos.yaml to add the repos you want Coda to know about:
- The repo must be in your GitHub token’s “Only select repositories” list. Without that, Coda can’t clone it.
- The token needs Contents R/W, Pull requests R/W, Issues R/W, Metadata R. Anything missing fails silently.
repos.yaml, restart to clone the new repos:
Turn on scheduled tasks
Coda ships three scheduled tasks. Two are gated on env vars:| Task | Schedule | What it does | How to enable |
|---|---|---|---|
| Repo Sync | Every 5 minutes | Pulls latest changes from every configured repo | On by default |
| Daily Digest | Each morning | Posts what merged yesterday, what PRs are waiting, what issues opened, what’s gone stale | Set DIGEST_CHANNEL |
| Issue Triage | Daily | Reviews open issues against the actual codebase, labels them, flags AI-generated slop, posts a summary | Set TRIAGE_CHANNEL |
C0123456789).
POST /triage-issues.
How the code-writing flow stays out of main
When you ask Coda to write code, the Coder works in a git worktree off main:- Coder creates a
coda/<branch-name>worktree off main. - Reads the relevant code, plans the change, writes it.
- Runs whatever validation it has access to.
- Pushes the branch and opens a PR.
- A human reviews and merges. Coda never merges.
Build your own scheduled tasks
Coda’s tasks live intasks/. Each is a function registered with the AgentOS scheduler in app/main.py. The same pattern works for anything you want Coda to do on a cadence:
- Auto PR review when new PRs are opened
- Stale branch alerts for branches with no commits in N days
- Convention drift detection comparing recent merges against your style guide
- Weekly summaries beyond the daily digest
Going deeper
| To learn | See |
|---|---|
| The team architecture | coda/team.py and coda/agents/ |
| Run evals | python -m evals.run --category security |
| Use Parallel for premium web research | Set PARALLEL_API_KEY from parallel.ai |
| Run local + production in parallel (separate Slack apps) | Deploy to Railway |
| Comparable templates | Scout, Dash |
| Building a fully custom AgentOS app | Build a Product |