How to onboard a new developer's AI coding agent
A new developer's coding agent starts out knowing only the repository it's opened in. It doesn't know why the payments service retries the way it does, which library the team stopped using, or what broke last quarter. The new developer doesn't know either, so neither can tell the agent.
With Erkle, onboarding the agent is part of onboarding the person. Invite them to the team and add them to their projects. Their agent signs in once, and its first search returns the decisions, constraints, and lessons the team has already approved for those repositories.
// facts checked
## facts
What a new teammate needs
- An invitation
- From a team owner or admin, to the email they sign in with
- Project membership
- As a contributor or maintainer, which decides what they read and review
- An MCP agent
- Claude Code, Cursor, Codex, or claude.ai; the repository's committed init files do the rest
- One sign-in per agent
- A browser OAuth sign-in on first connect; no shared tokens to hand over
- Leaving
- Removing a member cuts off their agents and API keys on the next request
## steps
Onboard in five steps
Import what the team already knows
Before anyone joins, ask a connected agent to import each repository's CLAUDE.md, docs, and ADRs into Erkle. Each call takes up to 100 memories for one scope and reports a result for each entry, including any the secret guard rejected.
"Import this repo's CLAUDE.md, docs, and ADRs into Erkle."Invite them and add them to their projects
Invite the new teammate from the Members page, then add them to the projects they'll work in. Start them as a contributor: they read everything in those projects, and their writes wait for a maintainer.
They clone the repository and sign in
If the repository already has the files init writes, there's nothing to configure: their agent finds the erkle server on first run and opens a browser sign-in. On a repository without them, they run init themselves.
npx @erkle/cli initTheir first task starts with a search
Before writing code, the agent searches Erkle with a description of the task and the repository's remote. It gets back the relevant memories from that repository, its projects, and the team, each with an author and a source link to follow.
What they learn becomes a proposal
When the new teammate's agent finds something missing, such as a setup step nobody wrote down, it proposes a memory. A maintainer approves it, and the next person to join gets it too.
● erkle.memory_import
scope repo github.com/acme/payments
⎿ Imported 23 of 24; 1 failed.
- entry 7: failed (unprocessable): The body looks like it
contains a Stripe key. Remove the secret and try again.## faq
onboard-developers --help
? How do I give a new developer's AI agent context about our codebase?
Keep the team's decisions, constraints, and lessons in Erkle, and add the new developer to the team and their projects. Their agent searches Erkle before each task and gets the relevant approved memories, with authors and sources, without anyone sending them documents.
? Can a new developer's agent change team memory?
It can propose. A contributor's writes, from their agent or the dashboard, wait for a maintainer to approve them, and edits to approved memories wait as pending revisions. Promote them to maintainer when they're ready to review.
? What happens when a developer leaves?
Remove them from the team. Their agents' access and their API keys stop working on the next request, and the memories they wrote stay, with their name on them as author.
? Do we need to write everything down first?
No. Import what you already have in instruction files and docs, then let agents propose the rest as people work. Erkle's usage view shows which memories agents actually retrieve, so you can see what's useful and archive what isn't.
## more-guides
One memory that every teammate's Claude Code, Cursor, and Codex searches, with review before it spreads.
Write a rule once at the scope it's true for, and every agent in those repositories finds it.
Proposals, a secret guard, versions, and permissions, so one agent's guess never becomes the team's rule.
Sign in from the terminal, approve on your phone, and give that machine's agents a scoped, expiring API key.
see also: Erkle vs. CLAUDE.md · How Erkle protects your data