Software Development Kits

Build with Fiberwise in Your Favorite Language

Official SDKs for Python and Node.js that provide full access to the Fiberwise platform. Create agents, manage workflows, and integrate AI capabilities into your applications.

๐Ÿ

Python SDK

v0.1.0

Full-featured Python SDK with async support, type hints, and comprehensive LLM provider management.

Async/Await Type Hints Pydantic Models
cd fiber-sdk-python && pip install -e .
๐Ÿ“ฆ

Node.js SDK

v0.1.3

TypeScript-first Node.js SDK with auto-detection, promise-based API and comprehensive error handling.

TypeScript Auto-detect ESM/CJS
cd fiber-sdk-nodejs && npm install

Quick Examples

Create and Use FiberApp

from fiberwise_sdk import FiberApp
import asyncio

async def main():
    # Initialize FiberApp
    app = FiberApp({
        'api_key': 'your-api-key',
        'base_url': 'https://api.fiberwise.ai/api/v1',
        'app_id': 'your-app-id'
    })

    # Add LLM provider
    await app.add_provider(
        name="GPT-4",
        provider_type="openai",
        api_key="sk-your-openai-key",
        model="gpt-4",
        set_default=True
    )

    # Execute an agent
    result = await app.agents.execute(
        "agent-id",
        {"prompt": "Hello, how are you?"}
    )

    print(result)

asyncio.run(main())

Create and Use FiberWise

import FiberWise from 'fiberwise';

async function main() {
    // Initialize FiberWise SDK
    const fiber = new FiberWise({
        apiKey: 'your-api-key',
        appId: 'your-app-id'
        // baseUrl auto-detected
    });

    // List data items
    const users = await fiber.data.listItems('users');
    console.log('Users:', users);

    // Execute a function
    const result = await fiber.functions.activate('processData', { 
        input: 'Hello world' 
    });
    
    // Real-time communication
    fiber.realtime.on('message', (msg) => {
        console.log('Received:', msg);
    });
    
    await fiber.realtime.connect();
}

main().catch(console.error);

Automated Browser Testing

{
  "script_name": "agent_workflow_test",
  "description": "Test complete agent workflow through browser automation",
  "settings": {
    "headless": false,
    "slow_motion": 400,
    "video_recording": true,
    "auto_cleanup": true
  },
  "steps": [
    {
      "id": "setup_instance",
      "type": "instance",
      "action": "create",
      "description": "Create test instance",
      "config": {
        "port": "random",
        "bootstrap": true,
        "wait_for_startup": 30
      }
    },
    {
      "id": "test_user_registration",
      "type": "browser",
      "action": "navigate_and_test",
      "description": "Test user registration flow",
      "config": {
        "url": "/register",
        "actions": [
          {
            "type": "fill_form",
            "selector": "#registration-form",
            "data": {
              "email": "[email protected]",
              "password": "testpass123"
            }
          },
          {
            "type": "click",
            "selector": "#submit-btn",
            "wait_for": "#success-message"
          }
        ]
      }
    },
    {
      "id": "create_and_test_agent",
      "type": "api_key",
      "action": "create_and_test",
      "description": "Create API key and test agent activation",
      "config": {
        "key_name": "test_automation_key",
        "scopes": ["agents:read", "agents:activate"],
        "test_agent_data": {
          "name": "Automated Test Agent",
          "prompt": "You are a helpful test assistant"
        }
      }
    }
  ]
}

Run with: python json_script_runner_modular.py your_test_script.json

SDK Capabilities

๐Ÿค– Agent Management

  • Create, update, and delete agents
  • Activate agents with custom input data
  • Monitor agent execution status
  • Manage agent versioning

๐Ÿ”— Workflow Orchestration

  • Build complex multi-agent workflows
  • Configure conditional logic and branching
  • Schedule and trigger workflow execution
  • Monitor workflow progress and results

๐Ÿง  LLM Provider Integration

  • Connect to OpenAI, Anthropic, Google AI
  • Manage API keys and provider settings
  • Switch between providers dynamically
  • Monitor usage and costs

โ˜๏ธ Storage Operations

  • Upload and download files
  • Manage multi-cloud storage
  • Configure storage providers
  • Handle file metadata and versioning

๐Ÿ”’ OAuth & Authentication

  • Manage OAuth flows for external services
  • Store and refresh access tokens
  • Configure service integrations
  • Handle authentication errors

๐Ÿ“ฑ App Development

  • Deploy and manage applications
  • Configure app manifests
  • Handle app lifecycle events
  • Integrate with marketplace

๐Ÿงช Browser Testing & Automation

  • Automated browser testing with JSON scripts
  • End-to-end workflow testing
  • Integration with Playwright and Selenium
  • Performance and load testing

Community & Third-Party SDKs

While we maintain official SDKs for Python and Node.js, the community has created SDKs for other languages:

Go SDK

Community

Community-driven Go SDK in development. Join Discord to collaborate and get updates.

Join Discord for Updates โ†’

Rust SDK

Community

High-performance Rust SDK in development. Join Discord to collaborate and get updates.

Join Discord for Updates โ†’

Java SDK

Community

Enterprise-focused Java SDK in development. Join Discord to collaborate and get updates.

Join Discord for Updates โ†’

Want to Contribute?

We welcome community contributions! If you'd like to create an SDK for another language or improve existing ones: