Ask about a repository
Ask mode reads the code with view, grep and glob and answers with file paths. It never edits files or runs commands.
Ask and Code
Yi Code · Docs
Ask about a repository, or have the agent change it. Each turn runs in an isolated sandbox. Code turns run your tests before and after the change, and say so when they couldn't. You see the diff and what it cost, and you decide what becomes a draft pull request.
Get started
Request access and we'll set up your organization. Members then sign in at https://code.theyilabs.com with their Yi Labs accounts.
| Cloud service | Private deployment | |
|---|---|---|
| Sign-in | Your Yi Labs account | Your own identity provider (OIDC) |
| Repositories | GitHub, through the Yi Code GitHub App | Your Git server |
| Models | Models we run and verify | Your OpenAI-compatible model endpoints |
| Billing | Credit in US dollars | Contract quota, no online payment |
See Cloud service and Private and offline deployment.
| I want to… | Go to |
|---|---|
| Run my first session | Quickstart |
| Know what Ask and Code can do | Ask, Code and roles |
| Understand Unverified | Verification |
| Know what a turn costs and when I'm not charged | Budget and billing |
| Give the agent our docs or tools | Knowledge base, Memory, MCP tools |
| Answer a security review | Security overview, Data location |
| Get unstuck | Troubleshooting |