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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wowbits_cli-0.1.0a2.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.0a2.tar.gz
Algorithm Hash digest
SHA256 8733f579632408bca8d7f8839d1808893d77f644780dc353ad046c423b136c1c
MD5 136653c58f5bc672fcc754f499983f10
BLAKE2b-256 9ca2fd16ce90f9ef3faf5e4282da55c8baeb6b1445eccfdea5ff62fa21661c18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wowbits_cli-0.1.0a2-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.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae4e4b0abcc829647036adbaab1b9aa41bb3e8cde57bd6b62af7d1c8c3a1f09
MD5 634885220bb6470dbdc3e4faa08bb3e8
BLAKE2b-256 fb74bfd31a57299c927e8e2f619ee5e684025b77ebf6e1182d2805ccd58f3a93

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