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