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

v1.0.0

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

Async/Await Type Hints Pydantic Models
pip install fiberwise
๐Ÿ“ฆ

Node.js SDK

v1.0.0

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

TypeScript Promises ESM/CJS
npm install @fiberwise/sdk

Quick Examples

Create and Activate an Agent

from fiberwise import Client
import asyncio

async def main():
    # Initialize client
    client = Client(api_key="your-api-key")

    # Create a simple text processing agent
    agent = await client.agents.create(
        name="text-processor",
        description="Processes and summarizes text content",
        code="""
def process_text(input_data):
    text = input_data.get('text', '')
    # Your agent logic here
    return {'summary': f'Processed: {text[:100]}...'}
        """
    )

    # Activate the agent with input data
    result = await client.agents.activate(
        agent_id=agent.id,
        input_data={'text': 'This is a long piece of text to process...'}
    )

    print(result.output)

asyncio.run(main())

Create and Activate an Agent

import { Client } from '@fiberwise/sdk';

async function main() {
    // Initialize client
    const client = new Client({ apiKey: 'your-api-key' });

    // Create a simple text processing agent
    const agent = await client.agents.create({
        name: 'text-processor',
        description: 'Processes and summarizes text content',
        code: `
function processText(inputData) {
    const text = inputData.text || '';
    // Your agent logic here
    return { summary: \`Processed: \${text.slice(0, 100)}...\` };
}
        `
    });

    // Activate the agent with input data
    const result = await client.agents.activate(agent.id, {
        text: 'This is a long piece of text to process...'
    });

    console.log(result.output);
}

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: