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.1.tar.gz (6.5 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.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beeai_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 6.5 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.1.tar.gz
Algorithm Hash digest
SHA256 380729e17bea3a8253779b6adfc902e9920e07cfa26924677dca9d983e90e78e
MD5 6d72302607394680bb02df2fae9b46f5
BLAKE2b-256 82c9b5cce477ee84567b7e88b1475279ff99bd18f28cf37e71a562b94eabf880

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beeai_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5469e740bd75f942ca05789fdf88cb0071eb09593a137b9afcd17e534802a454
MD5 22a31da0bd5d333bbe7cb88fd9fcfc35
BLAKE2b-256 26c958523b0489c77e8cd4a5866841049d666f03f3afcb6b5e7f1f8727c12146

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