Skip to content
Source
Sign inSign up

How Source works

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 .env stay 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

ToolFor
The web appPeople: read code, review, merge and change settings.
src, the CLIPeople and scripts in a terminal. It has the commands of gh. See Install and set up the CLI.
REST and MCPAgents 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

Every page of the docs, grouped by what you want to do.