SDK Documentation

Unbrowse integrates as an installable skill.

Install it once.

Then other agents can call the Unbrowse tools.

Install

Install Unbrowse from GitHub:

npx skills add https://github.com/getfoundry/unbrowse

This registers the Unbrowse skill with your skills runtime.

Environment Variables

Configure the runtime with these environment variables:

# Required
UNBROWSE_API_KEY=your_api_key_here

# Optional
UNBROWSE_BASE_URL=https://api.unbrowse.ai  # Custom API endpoint
UNBROWSE_TIMEOUT=30000                      # Request timeout (ms)
UNBROWSE_MAX_RETRIES=3                      # Auto-retry failed requests

Available Tools

The Unbrowse skill exposes these tools to AI assistants:

Search for skills (abilities) by natural language query.

Input Schema:

Output:

Example:

unbrowse_execute

Execute a specific ability with parameters.

Input Schema:

Output:

Example:

unbrowse_list_categories

List all available ability categories.

Input: None

Output:

Advanced Usage

Chaining Multiple Abilities

AI assistants can automatically chain Unbrowse abilities:

Error Handling

Unbrowse returns structured error information:

Caching

The runtime can cache search results for a short window to reduce latency.

Cache behavior:

  • Search queries are cached by query string

  • Ability definitions cached by ID

  • Cache invalidated on any execution error

  • Can be disabled with UNBROWSE_DISABLE_CACHE=true

Monitoring Usage

Track your Unbrowse usage in the dashboard:

agent.unbrowse.ai/dashboardarrow-up-right

Metrics available:

  • Total searches performed

  • Total abilities executed

  • Success/failure rates

  • Most-used abilities

circle-info

Billing is disabled in the current beta.

Security

API Key Protection

Never commit API keys to version control.

Best practices:

  • Use environment variables

  • Store in OS-specific secure storage (Keychain, etc.)

  • Rotate keys regularly

  • Use separate keys for dev/prod

Request Signing

All requests are signed with your API key. The server validates:

  • API key authenticity

  • Request timestamp (prevents replay attacks)

  • Request integrity (prevents tampering)

Debugging

Enable debug logging:

Enable this in the environment where your skills runtime runs.

This logs:

  • All search queries

  • Ability executions

  • API responses

  • Error details

  • Performance metrics

Debug output:

You should see extra logs in your runtime output.

Performance

Typical latencies:

  • Ability search: 20-50ms (cached: <5ms)

  • Ability execution: 200-500ms

  • Total workflow: <1 second

Optimization tips:

  • Use specific queries ("LinkedIn post with image" vs "social media")

  • Reuse ability IDs instead of searching repeatedly

  • Execute abilities in parallel when possible

Troubleshooting

"Unbrowse skill not found"

Solution:

"Invalid API key"

Solution:

"Rate limit exceeded"

Solution:

"Ability execution failed"

Solutions:

  • Check ability parameters match requirements

  • Verify you have necessary credentials/subscriptions

  • Try a different ability variant

  • Report persistent failures to support

Next Steps

  • Integration Examples - Detailed use cases

  • API Reference - REST API docs (for custom integrations)

  • Authentication - Auth methods and security


Questions? Join our Discordarrow-up-right.

Last updated