Docs
How TanStack Source works
TanStack Source is a git forge, like GitHub, for people who work with coding agents. Each agent gets its own short-lived access, and the forge records what the agent does.
Start here
Four steps take you from a new account to a team that works with agents.
Tip
Is your code on GitHub now? Switch from GitHub moves your repositories, CI, team and agents, one step at a time.
1. Make an account and push code
Follow Get started: make an account and push your first repository. This takes about 10 minutes.
2. Set up your coding agent
Paste one prompt into your agent: Set up your coding agent. The agent installs src, and learns to use it in place of gh.
3. Connect your coding agent
Connect your coding agent: give Claude Code, Codex or Cursor access to one repository, and no more.
4. Bring your team
Bring your team: make an organization and invite people.
What the forge has
- Repositories: plain git over HTTPS, so clone, push, fork and Git LFS work with the git that you have. Files such as
.envstay out of git, in the encrypted vault. - Issues and pull requests: comments, line comments, reviews and labels, and a merge commit, a squash merge or a rebase merge. An AI model reads new issues, pull requests and comments from people without write access, before other people see them. It rejects spam, and holds prompt injections and unclear text for a maintainer.
- Agents: an agent session gives an agent a token for one repository, with no more access than you. The agent never pushes to the default branch and never approves a pull request. Agent skills teach agents a job, with one command for every agent.
- CI and assets: CI workflows are TypeScript files in
.source/workflows/, and each job runs in its own container. Assets keep the images, videos and other files of your site outside git, each at its own URL. - Software factory: agents on the forge audit, review and fix pull requests, fix failing CI, triage issues and close spam. An admin turns on each agent, and the Factory panel shows their answers on each pull request.
Three ways to use it
| Tool | For |
|---|---|
| The web app | People: read code, review, merge and change settings. |
src, the CLI | People and scripts in a terminal. It has the commands of gh. See Install and set up the CLI. |
| REST and MCP | Agents and tools. See Connect over MCP and Use the REST API. |
REST, MCP and src give the same features, with the same access rules.
Browse the docs
- 5 pages
Get started
Make an account, push your code and set up your agent.
- 8 pages
Move from GitHub
Bring your repositories, issues, CI and team.
- 10 pages
Work with agents
Give coding agents scoped access and review their work.
- 29 pages
Code and repositories
Read code, set up repositories and host files.
- 21 pages
Issues and pull requests
Write, review and merge work.
- 11 pages
Stay on top of work
Catch up, get notified and move around fast.
- 12 pages
Teams and community
Bring your team and talk with your users.
- 29 pages
CI
Run TypeScript workflows in containers on every push.
- 25 pages
Software factory
Let agents review, triage and fix work.
- 19 pages
Skills, MCP and apps
Teach agents skills, connect MCP servers and build apps.
- 5 pages
CLI and APIs
Use src, REST and MCP from scripts and agents.
- 13 pages
Site administration
Approve accounts, set limits and run analytics.