Skip to main content

WowBits AI Platform CLI - Manage connectors and integrations for AI workflows

Project description

WowBits CLI

A command-line interface for managing connectors and integrations in the WowBits AI platform.

Installation

From PyPI (once published)

pip install wowbits-cli

From source

cd src
pip install -e .

Configuration

Set your database connection string:

export SUPABASE_CONNECTION_STRING="postgresql://user:password@host:5432/database"

Usage

# Show help
wowbits --help

# List all connectors
wowbits list connectors

# List available providers
wowbits list providers

# Create a connector (interactive mode)
wowbits create connector --provider openai

# Create a connector with config
wowbits create connector --provider fmp --config '{"api_key": "your-key"}'

# Update a connector
wowbits update connector --id <uuid> --config '{"api_key": "new-key"}'

# Delete a connector
wowbits delete connector --id <uuid>
wowbits delete connector --name "OpenAI"

Available Providers

  • openai - OpenAI API for GPT models
  • anthropic - Anthropic API for Claude models
  • google-ai - Google AI Studio / Gemini API
  • fmp - Financial Modeling Prep (stock data)
  • alpha-vantage - Stock market data
  • polygon - Real-time market data
  • firecrawl - Web scraping API
  • serp - Google Search results API
  • supabase - Postgres database with REST API
  • discord - Discord bot integration
  • github - GitHub API
  • custom - Custom connector

Publishing to PyPI

cd src

# Build the package
pip install build
python -m build

# Upload to PyPI (requires account)
pip install twine
twine upload dist/*
python -m twine upload --repository testpypi dist/*

How to create and run agents

Command to push agents to db

python scripts/create_agent_from_yaml.py agent_studio/stock-news-monitor.yaml

Command to create agents from db

python create_agents_from_db.py --agent StockNewsMonitor

Command to start agent_runner

adk web --host 0.0.0.0 --port 8000

How to run db migrations

Common commands (run from repo root)

  • Create autogen revision: alembic -c src/db/alembic/alembic.ini revision --autogenerate -m "short-msg"
  • Review/edit generated file: src/db/alembic/versions/_*.py
  • Generate SQL for review: alembic -c src/db/alembic/alembic.ini upgrade --sql head > /tmp/migration.sql
  • This lets you scroll up and down through the file. Press q to quit. : cat /tmp/migration.sql
  • Apply migrations: alembic -c src/db/alembic/alembic.ini upgrade head
  • Inspect state:
  • alembic -c src/db/alembic/alembic.ini current
  • alembic -c src/db/alembic/alembic.ini heads
  • alembic -c src/db/alembic/alembic.ini history --verbose

NEW Commands

Step 1: create db

PYTHONPATH=src python src/db/schema.py

OR

1A. Execute from wowbits-ai directory

1B. Run Commands in README.md of db/alembic for migration on prod db

Step 2: YAML → DB

PYTHONPATH=src python src/agentstudio/scripts/create_agent_from_yaml.py
src/agentstudio/agent_studio/supermax.yaml

Step 3: DB → agent.py files

cd src/agent_runner PYTHONPATH=.. python create_agents_from_db.py

Step 4: Runtime execution

ENV=production docker-compose up -d --build

ENV=production docker-compose exec wowbits-agent-runner adk web --host 0.0.0.0 --port 8000

Step 5. Stop

docker-compose down

Project details


Download files

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

Source Distribution

wowbits_cli-0.1.0a6.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

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

wowbits_cli-0.1.0a6-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file wowbits_cli-0.1.0a6.tar.gz.

File metadata

  • Download URL: wowbits_cli-0.1.0a6.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wowbits_cli-0.1.0a6.tar.gz
Algorithm Hash digest
SHA256 e1e3a4e3a7d2dd28c5d5655e79bab251a1ebb7a8e363c26a381a3efca639b443
MD5 00f2626d08006f9730c89074e8e0941a
BLAKE2b-256 9f2ae2b197a2f5a2035eb3b908775041bc876a1e616286d30d9f488a921f2320

See more details on using hashes here.

File details

Details for the file wowbits_cli-0.1.0a6-py3-none-any.whl.

File metadata

  • Download URL: wowbits_cli-0.1.0a6-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wowbits_cli-0.1.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 e716592150d4269a31435ad70776fb4bb1d7497a9f768d693b68f6850f05fbf8
MD5 aa56ad9c896c651c87dbf2cb221593bb
BLAKE2b-256 226e329849c7dcbf9b590df720b87f662a79a144cf1c2c531c0121a61508b825

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