Set up with an AI agent
A coding agent can set up localize.work for you from start to finish: create your account and organization, create a project, upload your app’s strings, translate them, publish them, and connect your app. You approve it once, in your browser.
Ask your agent
Section titled “Ask your agent”Give your agent this prompt in your app’s repository:
Set up localize.work translations for this app, following https://localize.work/auth.md.Use my email address <[email protected]>. Translate it into German and French.-
The agent registers itself and gives you an approval link.
-
Open the link. Sign in, or create your account; this is the only step that needs you.
-
On the approval page, choose the organization the agent works in, or name a new one and accept the Terms. Decide whether the agent may also approve translations and publish them to your app.
-
The page shows a short code. Give it to your agent. It now has access for as long as you allow.
How the agent translates
Section titled “How the agent translates”The agent writes the translations itself, with your project’s context: for
each language it reads the strings that need translating together with their
descriptions, the glossary terms they contain, similar translations you
approved earlier and the language’s style guide, and it follows the same
rules as localize.work’s own AI translation, such as keeping placeholders
like {{name}} exactly. Before it imports a language, it checks the files,
and text whose placeholders differ from your source text is flagged.
Translating this way does not use your organization’s AI words.
Unless you allowed it to approve, its translations wait for you in the editor’s review queue, and only approved text is published.
What the agent can do
Section titled “What the agent can do”In every project of the organization you chose, acting for you:
- create projects, and API keys for them (these work only while the agent does);
- add, change and permanently delete keys, source text and translations;
- change project settings such as languages;
- edit the glossary and style guides;
- run AI translation, which uses the organization’s AI words;
- if you allowed it, approve translations and publish releases.
Every change it makes appears in the project’s activity under the agent’s name, for example “Claude Code (AI agent)”.
Only organization administrators can approve agents, and an agent stops working if the person who approved it is no longer an administrator. The API keys it created stop with it.
Revoke an agent
Section titled “Revoke an agent”Open Organization settings → AI agents and choose Revoke. The agent loses access at once, and so do the API keys it created, for example for the CLI or CI. Project settings → API keys marks those keys as created by the agent. A key that should keep working without the agent, such as your CI key, is one you create yourself on that page.
An agent whose registration is revoked in WorkOS is revoked here as well, keys included, usually within about 10 minutes. Removing a permission from WorkOS’s agent permissions affects only the agent’s own requests, not keys it created earlier: to take access away from an agent and its keys, revoke it here.
For agent authors
Section titled “For agent authors”The agent signs in with WorkOS AuthKit agent registration and calls the API
with a short-lived access token. /auth.md
has the exact steps.
- The REST API (
https://api.localize.work/v1) and the MCP server (https://api.localize.work/mcp) accept the token asAuthorization: Bearer …. - An agent works for a whole organization. Project routes name the project
in the
Localize-Projectheader (id or slug), and MCP project tools take aprojectargument. GET /v1/accountshows the organization, the agent’s permissions and the projects.POST /v1/projectscreates a project, andPOST /v1/api-keyscreates a project key for the CLI or CI. Over MCP these areget_account,list_projects,create_projectandcreate_api_key. A key the agent creates ("boundToAgent": true) stops working when the agent is revoked or its approver is no longer an administrator.- A request without a token is answered
401with aWWW-Authenticateheader pointing to/.well-known/oauth-protected-resource, which leads to the sign-in endpoints.