← All posts

How to onboard an AI agent as a teammate (and keep the final say)

A practical playbook for adding an AI agent to a software team - choosing first tasks, scoping permissions, setting review gates, and growing trust in stages without losing human control.

Apr 30, 2026 · 5 min read · Kash Gohil

Onboarding an AI agent works best when you treat it like a capable new teammate with no context and no track record: start with well-specified tasks, restrict what it can touch, review everything, and expand trust with evidence. This playbook covers the stages, the permission model, and the team habits - applicable on any stack, though we'll note where a unified workspace makes it easier.

What should an agent's first tasks be?

The same shape as a new hire's: well-specified, low-blast-radius, easily verified. Good first tasks:

  • Bugs with reproduction steps and a clear definition of done
  • Test coverage for existing behavior
  • Mechanical refactors (renames, dependency bumps) where CI is the judge
  • First-pass issue triage: labeling, deduping, drafting repro attempts
  • Documentation deltas: "update the doc to match what shipped"

Poor first tasks: anything ambiguous ("improve performance"), anything architectural, anything touching auth, payments, or data migrations. Not because agents can't contribute there - because you can't yet verify cheaply, and unverifiable delegation is just risk with good vibes.

The pattern behind the pattern: agents execute written specifications far better than intentions. Teams with an RFC habit and clean issue hygiene get dramatically more from day one, because the agent's inputs already exist in reviewable form.

What permissions should an agent start with?

Give an agent its own identity - never a human's borrowed credentials. Attribution is the foundation of everything else: every action traceable to the agent, auditable later.

Then scope by the same principle you'd use for a contractor:

  • Read broadly within the project it works on - context is what makes agents useful, and starving them of it produces confidently wrong work.
  • Write narrowly: branches and PRs yes, direct pushes to main no, merges no, deploys no.
  • Secrets: usable, never readable. The agent's pipeline can consume a token; the agent can't print it.
  • No permission escalation paths: an agent that can edit CI config or its own permissions has every permission.

The uncomfortable honest note: on a stitched stack (GitHub + Linear + Slack + Notion), this means configuring four separate integrations with four permission models, and accepting that the agent sees fragments. A workspace with one permission model across code, planning, docs, and chat - which is the shape we built in Rezee's agent layer - makes "scoped but fully-in-context" a setting rather than a project.

Where do humans stay in the loop?

Three gates, non-negotiable at the start:

  1. Review before merge - agent PRs go through the same review as human PRs, with the spec attached so the reviewer judges intent, not just correctness. (Our review playbook applies doubly - agent output multiplies review volume, so small described changes matter more, not less.)
  2. CI as the honest referee - required checks, no bypass for anyone. Agents iterate honestly against a strict pipeline and destructively against a rubber stamp.
  3. Human hands on merge and deploy - the agent proposes; a person disposes. This is the "final say," and it's a permission setting, not a policy memo. (If you're curious what enforcing this structurally looks like, we've written up Rezee's approval gate internals - the useful test for any platform's gate is whether the agent can execute its own proposal.)

The goal isn't permanent maximum caution - it's trust with evidence. A useful progression: weeks 1-2, everything reviewed carefully, agent limited to first-task categories; weeks 3-6, expand task types where the track record is clean, lighten review on the mechanical categories (glance-level, not zero); after that, revisit gates quarterly like you would a teammate's growing scope. What never changes: attribution, CI, and human merge on anything user-facing.

What habits make it stick culturally?

  • Agent work is visible work. It flows through the same issues, PRs, and channels as everyone else's - no shadow queue. Visibility is what keeps "what is the agent doing?" from becoming a trust problem.
  • Write for the reader with no hallway context. The agent can't overhear standup. Decisions in written, linkable places pay off immediately - and improve the humans' lives as a side effect.
  • Interruptions become tasks. The "quick fix" ping that used to shatter someone's afternoon becomes an agent assignment reviewed in batch. This is the biggest day-to-day quality-of-life win; claim it deliberately.
  • Blame the system, not the agent. When agent work goes wrong, the retro question is the same as for humans: was the spec ambiguous? was CI missing a check? was review rushed? Fixes to those compound; scolding a language model doesn't.

FAQ

Which tasks should never be delegated to an agent?

A shorter list than the internet suggests, but a real one: permission and security model changes, data migrations without rehearsal, anything where verification is harder than doing the work, and decisions that are actually the team's values in disguise (what to build, what quality bar to hold).

Does an agent need its own account?

Yes - its own identity, tokens, and audit trail. Shared or borrowed human credentials destroy attribution, make revocation messy, and mean the agent's permissions silently equal a person's. Bot seats are typically free (they are in Rezee), and there's a schema-level case for making agents real accounts rather than API keys - attribution and revocation come free when agents are just users.

How many agents should a team start with?

One, doing a few task categories well, until the surrounding system - specs, review capacity, CI strictness - has caught up. The bottleneck is almost never the number of agents; see our guide to the agent-era stack for the full tooling picture.

How do we measure whether the agent is actually helping?

The same way you'd assess a junior teammate at review time: acceptance rate of its PRs without major rework, review time its work consumes versus saves, and whether the categories you delegated have gotten faster end-to-end. If reviewing the agent costs more than the work saved, narrow its tasks - that's a scoping signal, not a failure.