> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apowerb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Hub

> Publish an agent, let another workspace clone it.

| Method | Endpoint            | Description                                    |
| ------ | ------------------- | ---------------------------------------------- |
| GET    | `/api/hub`          | Browse published agents                        |
| GET    | `/api/hub/{hub_id}` | Details                                        |
| POST   | `/api/hub/publish`  | Publish — copies config, tools and instruction |
| POST   | `/api/hub/clone`    | Clone into your workspace                      |
| DELETE | `/api/hub/{hub_id}` | Remove from the Hub                            |

Publishing copies the agent's configuration, not its data: sessions, indexed knowledge
and connected integrations stay with the original workspace. A clone starts empty and
needs its own tool configs.


## Related topics

- [Introduction](/index.md)
- [Get Hub](/api-reference/hub/get-hub.md)
- [List Hub](/api-reference/hub/list-hub.md)
- [Remove From Hub](/api-reference/hub/remove-from-hub.md)
- [Publish](/api-reference/hub/publish.md)
