Skip to content
Source
Sign inSign up
Source

GitHub for the agentic era

Source control your agents deserve

Your agents shouldn't have to fight your source control platform to get things done and shipped. Agent factories, MCPs and skills are built in. Don't fight the platform, ship your next feature.

Set up TanStack Source (https://webgit-bench-direct.tanstack.com) for me:1. Install its CLI, src: `curl -fsSL https://webgit-bench-direct.tanstack.com/install | sh`, or in Windows PowerShell `irm https://webgit-bench-direct.tanstack.com/install.ps1 | iex`. It needs Node.js 22 or later.2. Run `src auth login --web --hostname webgit-bench-direct.tanstack.com`, with the path that the installer printed if src is not on the PATH yet. Show me the code and the URL, and wait while I approve in the browser. Then run `src auth setup-git`.3. Run `src agent setup`. It gives my coding agents the TanStack Source skill, the instructions to use src instead of gh, and the hooks that upload our transcripts to my pull requests. Show me each note it prints, such as a step to trust the hook in Codex or to restart an agent.

Paste it into Claude Code, Codex, Cursor or another coding agent. It installs src, teaches your agents to use it, and logs you in.

A demo of TanStack Source that plays by itself. It shows an agent that gets a token and keeps its .env in the vault, screening that stops spam and prompt injections, agents that fix a bug and check a pull request, CI, the agent factory settings, MCP servers, skills and assets. Use the tabs to explore each part, and the buttons to pause or restart the tour.

tanstack / store

In sync with GitHub
  • .sourceci: cache the build step
  • docsdocs: the batch API
  • srcfix(store): notify listeners once

Claude Code · ~/store

Task: add a public flush() to the store

Your repository on Source, in sync with GitHub both ways.

Why Source

GitHub was built for people who type each command. Your agents push, review and fix all day. Source gives them a forge of their own, and keeps the last word with you.

  • 3

    ways in, at parity: REST, MCP and the src CLI

  • 115

    of gh’s 202 commands run in src

  • 11

    agents built into the factory

  • 0

    secret values inside a CI job

  • 1 h

    the default life of an agent’s token

  • Agent factory

    Agents that fix things, not only comment on them

    Agent factories are built in. Pick the agents you want to use, or write your own from scratch.

  • Access

    Short-lived tokens for agents

    Your agents ask for their own tokens and open the request in your browser for your approval. Granular permissions are one click away.

  • Handoffs

    Agent handoffs built in

    Agents upload their transcripts to the pull request, so others can read them and pick up the work.

  • Open to everyone

    Spam protection built in

    Every issue and pull request from someone without write access goes through an automated AI review before it opens on the repository.

  • Safe CI

    Forks can’t reach your secrets or your cache

    CI on a pull request from a fork runs only after a writer approves it, with a read-only token and a cache of its own.

  • Repositories

    Everything a project needs, next to its code

    Private files for one person or shared with a role, public assets, private CI runs, and two-way sync with GitHub.

Source vs GitHub

Everything you keep from GitHub. And what it can’t do.

On GitHub, an agent works with your keys, so to GitHub it is you. Here, each agent has its own identity, and people keep the decisions.

  • Saving repositories

    GitHub: Stars are public

    Source: Bookmarks are private, with no public counts

  • Finding active projects

    GitHub: Stars show accumulated interest

    Source: Ranks count visits, reading time, clones, forks and accepted outside contributions, with recent days weighted most. Maintainers, agents and bots never count

  • Rewarding top projects

    GitHub: No monthly awards. Trending lists today, this week or this month

    Source: Monthly awards for the top 3 repositories and organizations stay on their pages

  • npm downloads of your packages

    GitHub: Not built in. You use npm’s site or a third-party tool

    Source: A tab for each repository and organization, with a chart per package, a Verified tag, and share images for social posts

  • Recognizing help on other projects

    GitHub: Profile badges for activity. Your own repositories count too

    Source: Ladders and monthly medals for help on other people’s projects, and a Builder ladder for your own. Bots never count

The GitHub column describes the usual setup: a coding agent on your machine that works with your personal access token or SSH key, and agents on pull requests that run in GitHub Actions with the repository’s secrets.

Also built in

And everything you expect from a forge

  • Agent sessions

    Each agent gets its own token for one repository, capped at your role, and pushes only to its own branches. Revoke a session, and it stops at once.

  • One agents.md

    Every repository serves the instructions of your account or organization, its AGENTS.md or CLAUDE.md, and its skills, over HTTP and MCP.

  • Screening

    An AI model reads posts from people without write access first. Spam is rejected, and suspected prompt injections wait for a maintainer.

  • Skills

    A SKILL.md folder gets a new version on each push, and public ones list themselves in the marketplace. There is no publish step.

  • Plain git over HTTPS

    Clone, fetch and push with any git client, shallow clones included.

  • Import from GitHub

    Bring your repositories, or a whole GitHub organization that you own, with their issues and pull requests. Click through it on the web, or tell your agent to move them with src import. Any public git URL works too.

  • Pull requests and reviews

    Line comments, pending reviews, approvals, conflict detection, merges, and a diff for thousands of files with renames. Ask an agent about a pull request, and it takes you to the file, line, comment or commit.

  • Live pages

    New issues, comments, pushes, CI runs and agent runs show up without a reload. Markdown has a preview, and each assignee gets a note on what to do.

  • Live cards in your agent

    In an MCP client that shows MCP Apps, like Claude or VS Code with Copilot, the pull requests, CI runs and agent runs your agent reads come as live cards. Hand a failed job or the review threads back to your agent, or start a merge, from the card.

  • Forks

    A fork stores only its own objects, and pull requests work across repositories.

  • Git LFS

    Files up to 100 MiB each by default, with download rules for each path.

  • Organizations

    Owners and members, and collaborators with read, write or admin roles.

  • Push protection

    Pushes that add .env files or known secret formats are refused.

Under the hood

Three Workers, Postgres, and real git in three regions.

Source runs on Cloudflare, its CI jobs run in fresh VMs on AWS, and its git runs on servers of its own. Postgres keeps the issues, pull requests, reviews and vault of every repository, and the web Worker runs next to it. The git servers answer every clone, fetch and push.

Workers
One for the pages, the git gateway, the REST API and MCP, next to the database, one for CI jobs, factory runs, PR chats and live updates, and one for the vault key, so a deploy of the site does not reset a running job
Postgres
The issues, pull requests, comments, reviews and vault of every repository, the git of each skill, and the accounts, tokens and indexes, on Neon in AWS us-east-1
Git servers
Real git in three regions: the US, Europe and Asia. One primary takes every push, and each clone, fetch and code page reads from the US server, next to the web Worker
Durable Objects
The live updates and the background work of each repository, and the state of each CI run, CI job and factory run
Object storage
LFS objects, assets, avatars, transcripts, large vault files, the logs, artifacts and cache of CI jobs, and the bundles and checkpoints of the factory, in Neon object storage in AWS us-east-1, next to the database, with a backup copy in R2 of what people and apps add
Queues
Repository events into the indexes, with dead letters replayed
Workflows
Screening, and one durable workflow per agent job
Workers AI
The model that screens posts from strangers, and the default model of the factory
Containers
The sandboxes that plan CI runs and run the tools of the factory’s agents
Ravion
A fresh VM in AWS us-east-1 for each CI job

Bring one repository. Keep GitHub in sync.

Join the waitlist. Once approved, import a repository from GitHub and turn on your first agent.