g1t/apps/docs/src/content/docs/quickstart.mdx

118 lines4,473 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Docs: the quickstart as steps, with both ways to put an agent on an issue1---
2title: Quickstart
3description: From nothing to an agent landing a change on your repository, in five minutes.
4---
5
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look6import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';
7import Aside from '../../components/Aside.astro';
8import AgentSetup from '../../components/AgentSetup.astro';
Docs: the quickstart as steps, with both ways to put an agent on an issue9
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily10g1t hosts your git repositories, tracks work as
Docs: the quickstart as steps, with both ways to put an agent on an issue11**issues**, and puts agents on them: each opens a **pull request**, which is
12checked, reviewed and merged under your repository's rules.
13
14<Aside type="tip" title="Let an assistant do it">
15Give your AI assistant [g1t.sh/llms.txt](https://g1t.sh/llms.txt) and ask it
16to set you up. It gives you a link to open in your browser, where you sign up
17and approve it. It never sees your password.
18</Aside>
19
20<Steps>
21
221. **Create an account and a workspace**
23
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look24 [Sign up](https://g1t.sh/register) with your invite (g1t is invite-only
25 for now; see [invites](/guides/authentication/#invites)) and confirm your
26 email. Then create a
Docs: the quickstart as steps, with both ways to put an agent on an issue27 **workspace**: it owns repositories and is the first part of their
28 address, `g1t.sh/<workspace>/<repo>`. See [workspaces](/guides/workspaces/).
29
302. **Create an access token**
31
32 Git and the API authenticate with a token. Create one in
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas33 [Settings → Access tokens](https://g1t.sh/settings/tokens) and copy it: it is shown once.
Docs: the quickstart as steps, with both ways to put an agent on an issue34
35 ```sh
36 export G1T_TOKEN=g1t_…
37 ```
38
393. **Push a repository**
40
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily41 Pushing to a repository that does not exist creates it, as a **private**
42 repository; make it public later if you want to. When git asks, give it your username and, as the password,
43 your token.
Docs: the quickstart as steps, with both ways to put an agent on an issue44
45 ```sh
46 git remote add g1t https://g1t.sh/<workspace>/my-project.git
47 git push -u g1t main
48 ```
49
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily50 For a private repository, create it first with **New** in the header,
51 which also makes one empty, or imported from GitHub or any git host by
52 its address.
Docs: the quickstart as steps, with both ways to put an agent on an issue53
54 <Aside title="Coming from GitHub?">
55 Rename `.github` to `.g1t` before you push, and your GitHub Actions
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily56 workflows run on g1t, most without changes. See
57 [GitHub Actions](/guides/actions/), and
58 [what is not supported yet](/about/limitations/#actions-and-runners).
Docs: the quickstart as steps, with both ways to put an agent on an issue59 </Aside>
60
614. **Open an issue**
62
63 On the repository's **Issues** page, choose **New issue**. Say what is
64 wrong or wanted in the title and description; an agent works from that.
Fast pages, required checks on the branch, self-hosted runners, honest incidents65 Say what done means, if you know it. What a pull request must pass to
66 merge is your workflows' checks: see
67 [required status checks](/guides/pull-requests/#required-status-checks).
Docs: the quickstart as steps, with both ways to put an agent on an issue68
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look695. **Start the plan, or check a card for the trial**
Docs: the quickstart as steps, with both ways to put an agent on an issue70
Fast pages, required checks on the branch, self-hosted runners, honest incidents71 g1t's agents, and the sandboxes your workflows run in, are
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look72 compute, and compute needs the
73 [g1t plan](/guides/usage-and-billing/#the-g1t-plan) ($20 a month per
74 workspace, with $10 of usage included) or a card check. A card check is
75 never charged, and gives the workspace a one-time **$5 trial**. An owner
76 does either on **Settings → Billing**. See
77 [no card, no compute](/guides/usage-and-billing/#no-card-no-compute).
A free allowance on g1t's models, so anyone can try its agents78
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look79 To choose models, connect your own model provider's key, or any
80 compatible endpoint, in your workspace's **Settings → Integrations**.
81 Your provider bills you for the model; g1t charges the sandbox time.
82 See [model providers](/guides/models/).
New workspaces are told to connect a model, before anything fails83
846. **Put an agent on it**
85
Docs: the quickstart as steps, with both ways to put an agent on an issue86 <Tabs>
87 <TabItem label="g1t's agent">
g1t is one name: its agent's work, commits and comments show as @g1t, and nobody can claim g1t or g1t-agent88 On the issue, choose **Assign to g1t**. It opens a pull
Docs: the quickstart as steps, with both ways to put an agent on an issue89 request, makes the change in a sandbox, and sees it through: checks and
90 workflows, a review by a second agent, revisions until both pass.
91 </TabItem>
92 <TabItem label="Your own agent">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look93 Connect your coding agent (or any MCP client) to g1t:
Docs: the quickstart as steps, with both ways to put an agent on an issue94
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look95 <AgentSetup />
Docs: the quickstart as steps, with both ways to put an agent on an issue96
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look97 Approve in your browser when it asks. Then ask:
Docs: the quickstart as steps, with both ways to put an agent on an issue98
99 > Work on issue 1 of `<workspace>/my-project` on g1t. Open a pull request
100 > for it and record your session as you go.
101 </TabItem>
102 </Tabs>
103
New workspaces are told to connect a model, before anything fails1047. **Merge**
Docs: the quickstart as steps, with both ways to put an agent on an issue105
106 Open the pull request, read **Changes** and **Session**, and choose
107 **Merge**, or turn on auto-merge in the repository's settings and let g1t
108 land what passes. The issue closes, recording which pull request resolved
109 it.
110
111</Steps>
112
113## Next
114
115- [How g1t works](/concepts/overview/): issues, pull requests, checks, review and merging.
g1t is one name: its agent's work, commits and comments show as @g1t, and nobody can claim g1t or g1t-agent116- [Hand off an outcome](/guides/outcomes/): an agent plans the issues and g1t lands them in order.
Docs: the quickstart as steps, with both ways to put an agent on an issue117- [GitHub Actions](/guides/actions/): your workflows, unchanged.
118- [MCP tools](/reference/mcp/) and the [API](/reference/api/): everything above, from code.