Metadata-Version: 2.1
Name: swarmbase-cli
Version: 0.0.2
Summary: A CLI for interacting with the swarmbase.ai API
Home-page: https://github.com/Go-Pomegranate/swarmbase-cli
Author: swarmbase.ai
Author-email: eryk.panter@swarmbase.ai
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: requests
Requires-Dist: pydantic
Requires-Dist: agency_swarm
Requires-Dist: langchain_community

+++

# SwarmBase.ai CLI

This CLI tool is for managing agents, frameworks, swarms, and tools with SwarmBase.ai. It uses `click` and provides commands for creating, listing, updating, and deleting various entities.

## Installation

To install the CLI, use pip:

<pre><div class="dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium"><div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"><span>diff</span><div class="flex items-center"><span class="" data-state="closed"><button class="flex gap-1 items-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" class="icon-sm"><path fill="currentColor" fill-rule="evenodd" d="M7 5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h2zm2 2h5a3 3 0 0 1 3 3v5h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-9a1 1 0 0 0-1 1zM5 9a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1z" clip-rule="evenodd"></path></svg>Copy code</button></span></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre hljs language-diff">+++
pip install swarmbase
+++
</code></div></div></pre>

## Configuration

Before using the CLI, configure it with the base URL of the SwarmBase.ai API. This is done automatically the first time you run any command with the `--base-url` option. The configuration is saved in `~/.swarm_cli_config.json` for future use.

## Commands

### General Commands

* `--base-url`: Set the base URL of the SwarmBase.ai API.
* `--debug`: Enable debug logging.

### Agent Commands
