Index the world's undocumented APIs
Index the world's undocumented APIs.
Why "Blue Box"? Named after the phone phreaking devices that let tech enthusiasts in the 1960s and 70s explore telephone networks.
You are in the right place if you ...
https://github.com/user-attachments/assets/934728e1-1384-4b44-a7b0-d93480d329de
bluebox agent for web data extraction)export VECTORLY_SERVICE_TOKEN="your-key"setx VECTORLY_SERVICE_TOKEN "your-key".env file: VECTORLY_SERVICE_TOKEN=your-keybluebox agent for orchestration)export OPENAI_API_KEY="your-key"setx OPENAI_API_KEY "your-key".env: OPENAI_API_KEY=your-keyexport ANTHROPIC_API_KEY="your-key"setx ANTHROPIC_API_KEY "your-key".env: ANTHROPIC_API_KEY=your-keycurl -LsSf https://astral.sh/uv/install.sh | shiwr https://astral.sh/uv/install.ps1 -UseBasicParsing | iex# Clone the repository
git clone https://github.com/VectorlyApp/bluebox.git
cd bluebox
# Create and activate virtual environment
python3 -m venv bluebox-env
source bluebox-env/bin/activate # On Windows: bluebox-env\Scripts\activate
# Install in editable mode
pip install -e .
# Or using uv (faster)
uv venv bluebox-env
source bluebox-env/bin/activate
uv pip install -e .The bluebox agent is a conversational AI agent that automates web data extraction. It searches the Vectorly web routine index for relevant web APIs, executes matched endpoints in parallel, and falls back to a live AI browser agent when no suitable pre-built routine is available.
# run with OpenAI models
bluebox-agent --model gpt-5.2
# run with Anthropic models
bluebox-agent --model claude-opus-4-5What it does:
Ask it anything: "Run a price analysis on Rolex Sea Dweller 16600" — the agent automatically selects the right routine, runs it, and delivers structured results.
After a successful session, run /generate_context to save a snapshot of what worked — the goal, routines called (with exact parameters), any Python post-processing code, and output descriptions. Context files are saved to the workspace context/ directory in both JSON and Markdown formats.
When the agent starts a new session, it automatically loads the most recent context file and injects it into the system prompt. This lets the agent skip trial and error and directly replay the known-good path, adjusting parameters as needed for the new request.
You can also load a specific context file explicitly:
bluebox-agent --context-file path/to/agent_context.jsonTo learn about the core technology powering BlueBox, see routine_discovery.md.
We welcome contributions! Here's how to get started:
python -m pytest tests/ -vPlease follow existing code style and include tests for new features.
No open issues yet, or sync has not completed.