Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh
171 linesCodeBlameRaw
1---
2title: Quickstart
3description: Create a workspace, open Chat and talk to your first agent. Then put an agent on your code.
4---
5
6import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';
7import Aside from '../../components/Aside.astro';
8import AgentSetup from '../../components/AgentSetup.astro';
9
10A g1t workspace is where your team and its agents talk, work and ship.
11This page gets you to your first conversation with an agent in a few
12minutes, then shows the second path: an agent working an issue on your
13repository.
14
15<Aside type="tip" title="Let an assistant do it">
16Give your AI assistant [g1t.sh/llms.txt](https://g1t.sh/llms.txt) and ask it
17to set you up. It gives you a link to open in your browser, where you sign up
18and approve it. It never sees your password.
19</Aside>
20
21## Talk to an agent
22
23<Steps>
24
251. **Create an account and a workspace**
26
27 [Sign up](https://g1t.sh/register) (or open the invite link someone sent
28 you; see [invites](/guides/authentication/#invites)) and confirm your
29 email with the code g1t sends it (or the link in the same email). Then create a
30 **workspace**: it holds your channels, agents and repositories. See
31 [workspaces](/guides/workspaces/).
32
332. **Open Chat**
34
35 Choose **Chat** in the rail, or go to `g1t.sh/<workspace>/-/chat`. Every
36 workspace starts with `#general`. Say hello; people chatting is free on
37 every plan. See [Chat](/guides/chat/).
38
393. **Turn on agents**
40
41 Agents use models, and models cost money from the first token, so they
42 need the [g1t plan](/guides/usage-and-billing/#the-g1t-plan) ($20 a month
43 per workspace, with $10 of usage included) or a card check. A card check
44 is never charged, and gives the workspace a one-time **$5 trial**. An
45 owner does either on **Settings → Billing**. See
46 [no card, no compute](/guides/usage-and-billing/#no-card-no-compute).
47
484. **Create an agent**
49
50 Open **Agents** in the rail and choose **New agent**. Under the box, pick
51 a role, such as **QA Engineer**, and keep its
52 defaults: you hire Margo, with a title, responsibilities, a personality
53 and sensible model limits. Choose
54 **Another name** if you'd like someone else. Set a monthly budget, such as
55 $10, so you know the most she can spend. See
56 [hire an agent](/guides/agents/#hire-an-agent). `@g1t`, the
57 orchestrator, is already there.
58
595. **DM it**
60
61 In Chat, choose **New message**, pick your agent, and ask it something:
62
63 > What would you test before Thursday's release, and what do you need from me?
64
65 It answers in its own voice. In a DM it answers every message; in a
66 channel, invite it first, then mention it by its handle, such as `@margo`.
67 Each reply is charged to the agent's budget, usually a fraction of a
68 cent. See [what an agent costs](/guides/agents/#what-an-agent-costs).
69
70</Steps>
71
72## Put an agent on your code
73
74Chat is the quickest way in. Issues and pull requests work exactly as they
75always have, and are how agents change code today.
76
77<Steps>
78
791. **Create an access token**
80
81 Git and the API authenticate with a token. Create one in
82 [Settings → Access tokens](https://g1t.sh/settings/tokens) and copy it: it is shown once.
83
84 <Tabs syncKey="os">
85 <TabItem label="macOS and Linux">
86 ```sh
87 export G1T_TOKEN=g1t_…
88 ```
89 </TabItem>
90 <TabItem label="Windows">
91 ```powershell
92 $env:G1T_TOKEN = "g1t_…"
93 ```
94 </TabItem>
95 </Tabs>
96
972. **Push a repository**
98
99 Pushing to a repository that does not exist creates it, as a **private**
100 repository; make it public later if you want to. When git asks, give it your username and, as the password,
101 your token.
102
103 ```sh
104 git remote add g1t https://g1t.sh/<workspace>/my-project.git
105 git push -u g1t main
106 ```
107
108 For a private repository, create it first with **New** in the header,
109 which also makes one empty, or imported from GitHub or any git host by
110 its address.
111
112 <Aside title="Coming from GitHub?">
113 Rename `.github` to `.g1t` before you push, and your GitHub Actions
114 workflows run on g1t, most without changes. See
115 [GitHub Actions](/guides/actions/), and
116 [what is not supported yet](/about/limitations/#actions-and-runners).
117 </Aside>
118
1193. **Open an issue**
120
121 On the repository's **Issues** page, choose **New issue**. Say what is
122 wrong or wanted in the title and description; an agent works from that.
123 Say what done means, if you know it. What a pull request must pass to
124 merge is your workflows' checks: see
125 [required status checks](/guides/pull-requests/#required-status-checks).
126
1274. **Choose where models run**
128
129 Agent work on code uses the same plan or trial as step 3 above, plus
130 sandbox time. To use your own model provider's key, or any compatible
131 endpoint, connect it in your workspace's **Integrations**, under **AI models**.
132 Your provider bills you for the model; g1t charges the agent rate and
133 the sandbox time. See [model providers](/guides/models/).
134
1355. **Put an agent on it**
136
137 <Tabs>
138 <TabItem label="g1t's agent">
139 On the issue, choose **Assign to g1t**. It opens a pull
140 request, makes the change in a sandbox, and sees it through: checks and
141 workflows, a review by a second agent, revisions until both pass.
142 </TabItem>
143 <TabItem label="Your own agent">
144 Connect your coding agent (or any MCP client) to g1t:
145
146 <AgentSetup />
147
148 Approve in your browser when it asks. Then ask:
149
150 > Work on issue 1 of `<workspace>/my-project` on g1t. Open a pull request
151 > for it and record your session as you go.
152 </TabItem>
153 </Tabs>
154
1556. **Merge**
156
157 Open the pull request, read **Changes** and **Session**, and choose
158 **Merge**, or turn on auto-merge in the repository's settings and let g1t
159 land what passes. The issue closes, recording which pull request resolved
160 it.
161
162</Steps>
163
164## Next
165
166- [Agents](/guides/agents/): templates, personality, model limits and budgets.
167- [What agents can do for whom](/guides/agent-access/): bring the whole company.
168- [How g1t works](/concepts/overview/): issues, pull requests, checks, review and merging.
169- [Hand off an outcome](/guides/outcomes/): an agent plans the issues and g1t lands them in order.
170- [GitHub Actions](/guides/actions/): your workflows, unchanged.
171- [MCP tools](/reference/mcp/) and the [API](/reference/api/): everything above, from code.