# Agent Repository

## Create A New Agent Repository

Through the [Agent Hub](https://4bsc.ai/agenthub)’s web interface, you can create agent repositories, add files, explore and discuss agents, and more. This guide will show you how to create an agent repository for demonstration purposes.

{% stepper %}
{% step %}
**Visit** [**https://4bsc.ai/agenthub**](https://4bsc.ai/agenthub) **to create a new agent repository**

<figure><img src="/files/MF6NWhBbWG58wnCJAj6k" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Enter your agent's name**

You can edit this later in the Agent Settings.
{% endstep %}

{% step %}
**Specify the license**

&#x20;The License field can be left blank for now.
{% endstep %}

{% step %}
**Give a brief description of the agent repository**
{% endstep %}

{% step %}
**Click Create button**
{% endstep %}
{% endstepper %}

***

## Upload Files

To add files to your repository using the web UI, select the **Add File** tab and upload a file directly from your computer.&#x20;

<figure><img src="/files/nCg7ePIEsTPyYnaUQcrd" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that only the agent owner has permission to upload files.
{% endhint %}

## View Files History

Each time you complete an add-commit-push cycle, the system records every change made to your files. The user interface lets you view agent files and their commit histories, allowing you to examine the differences (*also known as diff*) each commit introduces. To review the history, simply click on the **History: X commits** link.


---

# Agent Instructions: 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:

```
GET https://docs.4bsc.ai/agent-hub/agent-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
