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.0.tar.gz (6.3 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.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beeai_cli-0.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for beeai_cli-0.0.0.tar.gz
Algorithm Hash digest
SHA256 da5b0542b06ee70643f1dddf9ed82cf64acd81cf73a26f0c35ceac5d91ebdff1
MD5 75ccf05fcd6750ed1cb8553c3bfaa6b2
BLAKE2b-256 a4acc4e53630abfae2afd71fd2c28353ba509995710c860c34b76a06d81cf150

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beeai_cli-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for beeai_cli-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e319d6eb95ec00e3ad4391b2617fd3aec1d4ea762e15089f2cd072fab2ff220d
MD5 0254c577b94eaaeb9d7dfeb45c952bd5
BLAKE2b-256 1f62506c11bd3e42d7b13f31d839e775d9900f8612a2e5a08c08a6a3d96cd69d

See more details on using hashes here.

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