> For the complete documentation index, see [llms.txt](https://docs.forgee.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forgee.xyz/quick-start.md).

# Quick start

Two ways to get going. Use the hosted app, or self-host the bot for free.

## Use the hosted app (3 steps)

1. Open the app and connect your Solana wallet (Phantom, Solflare, or Backpack).
2. Deposit $FORGE into your balance.
3. Describe what you want, or paste an error. You are billed per use from your balance, only when the agent runs.

That is it. Your chat history is saved and tied to your wallet.

## Self-host the bot (4 steps)

Free, with your own keys. This is the full agent, including GitHub commits and live previews.

1. Clone the repo and install dependencies:

   ```bash
   npm install
   ```
2. Copy the env file and fill it in:

   ```bash
   cp .env.example .env
   ```

   Set `TELEGRAM_BOT_TOKEN`, `ALLOWED_TELEGRAM_ID`, `MONGODB_URI`, `GITHUB_TOKEN`, `GITHUB_USERNAME`, and a model key (`DEEPSEEK_API_KEY` by default).
3. Set up Telegram: create a group, enable Topics in group settings, and add your bot as an admin.
4. Start it:

   ```bash
   npm start
   ```

## Then

* Talk to Forge in plain language, or paste an error to debug.
* Run `/agent <task>` for autonomous multi-step builds that commit after each step.
* Switch reasoning with `/mode snap`, `/mode think`, or `/mode nuke`.
* Use a different model provider by setting `AI_BASE_URL`, `AI_API_KEY`, and the `AI_MODEL_*` variables. Any OpenAI-compatible API works.

See the full guide for the complete command list, provider details, and skills.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.forgee.xyz/quick-start.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
