Skip to main content

Add your description here

Project description

⚠️ WIP documentation ⚠️

beeai CLI

The CLI's primary purpose is to connect to a beeai-server and control it.

The secondary purpose is to spawn the beeai-server for local use.

Environment

  • BEEAI_HOST (default: localhost:8333) -- URL to beeai-server used by the CLI

Interface

Structured as beeai <subject> <verb>. Commands should accept both singular and plural <subject>, as well as some common verb aliases (ls/list, rm/remove/delete etc.)

Providers are defined in a config file $XDG_CONFIG_HOME/beeai-server.yaml, appropriate commands edit this file + spawn/despawn the processes for local providers.

  • beeai server

    • beeai server start
      • Spawns beeai-server (similar to ollama serve) to listen on BEEAI_HOST
      • In turn, beeai-server spawns all non-disabled providers
      • Primarily used by Brew / systemd to spawn the daemon
  • beeai agent-template

    • beeai agent-template ls lists available agent templates
  • beeai agent Agents are listed by the connected providers.

    • beeai agent run <template-name> <input> runs the agent with given input params
  • beeai provider

    • beeai provider sync spawns/despawns providers after manually editing beeai-server.yaml
    • beeai provider add [--disabled] <url> Add a given URL to the providers list and spawn the provider if local and not disabled. Blocks until succefully spawned. Gives error when failing to spawn.
      • Unamanaged providers:

        • beeai provider add mcp+<provider-host>
          • For connecting existing running MCP providers
          • MCP sub-protocol can be any of the supported ones (like mcp+http)
      • Managed providers:

        • beeai provider add npx:<npm-package-name>

          • For running an NPM-published Node.js provider
          • Runs PORT=<port> npx npm-package-name
        • beeai provider add npx+git+<git-url>#<binary>

          • For running a Git-published Node.js provider
          • Runs PORT=<port> npx --package git+<git-url> <binary>
        • beeai provider add uvx:<pypi-package-name>

          • For running an PyPI-published Python provider
          • Runs PORT=<port> uvx <pypi-package-name>
        • beeai provider add uvx+git+<git-url>#<binary>

          • For running a Git-published Python provider
          • Runs PORT=<port> uvx --from git+<git-url> <binary>
        • beeai provider add docker:<docker-image-specifier>

          • For running local and published Docker images (docker.io, icr.io etc.)
          • Runs docker run --env PORT=<port> -p <port>:<port> --rm <docker-image-specifier>
    • beeai provider ls [--disabled|--enabled] Lists provider URLs, enabled/disabled.
    • beeai provider rm <provider>
    • beeai provider enable <provider>
    • beeai provider disable <provider>
    • If unique, <provider> can be a substring match (e.g. owner/repo instead of whole URL)
  • beeai ui

    • beeai ui open -- opens the BeeAI UI in the browser
    • beeai ui add <url> Unmanaged:
      • beeai ui add http://<url>
        • Add any webpage as an agentic UI
        • Must define <url>/.well-known/beeai-ui.json to be accepted and added
          • Manifest defines the protocol version
          • TODO: what else could the manifest define? do we need it?

      Managed:
      • beeai ui add http://<url>.zip
        • Download the given ZIPfile, find beeai-ui.json inside

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beeai_cli-0.0.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beeai_cli-0.0.3-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file beeai_cli-0.0.3.tar.gz.

File metadata

  • Download URL: beeai_cli-0.0.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for beeai_cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 eec46f9a7720e57276e936addec05aebebc6344ee070f9ae58cd92f724b93a7c
MD5 0fbdf1b314dc2e9b1c8f111f72dc8eae
BLAKE2b-256 f14ebde7fb449871b25db27a2ee88d682c1032e9630051870678be82c0de09a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for beeai_cli-0.0.3.tar.gz:

Publisher: beeai-cli.yml on i-am-bee/beeai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beeai_cli-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: beeai_cli-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for beeai_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 636df2000b4b39cc351f79feece8e6e0c08063523cf96bf3b5863a04820f80e7
MD5 1995d005c35fa21952833656aba05d21
BLAKE2b-256 77d7d90d950287d4db9940ad6aa1220b4d85ccb3c58ba5f7dc8774dedcd02740

See more details on using hashes here.

Provenance

The following attestation bundles were made for beeai_cli-0.0.3-py3-none-any.whl:

Publisher: beeai-cli.yml on i-am-bee/beeai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page