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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wowbits_cli-0.1.0a1.tar.gz
  • Upload date:
  • Size: 32.7 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.0a1.tar.gz
Algorithm Hash digest
SHA256 b0721a82cd5db3c71dc3b903d9944290aeaed0824244fc6eff8a3d9f3e36b2b0
MD5 6a689f4d50393da93990d2f6788e3d8f
BLAKE2b-256 ad2b188208525dca1e8cb6e913c9514ef679e72fa62fa77f6ffaf8c326c6c975

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wowbits_cli-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 40.3 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4f4adf1f864f0e6d8dcd8367cea3d790f21aee9e2fe260e2591675fbc5c4a6
MD5 ff6459f487762f67b8edd9d9ce4f61b5
BLAKE2b-256 c938780fcde92d93d4cb304f66d21e8208788e32fc31d3afd1654946cd83f2a2

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