Developer Guide

    Get started with SmartDecision AI in your preferred programming language. Choose from our supported SDKs or use our REST API directly.

    Fast Integration

    Get up and running in minutes with our simple SDKs and clear documentation.

    Secure & Reliable

    Enterprise-grade security with API key authentication and rate limiting.

    Multi-Language

    Support for popular programming languages with more coming soon.

    ✅ Fully Supported

    Python SDK

    Complete Python SDK with type hints, error handling, context manager support, and async capabilities.

    Python Quick Start

    Simple example showing how to install and use the Python SDK

    # Install the SmartDecision Python SDK
    pip install smartdecision-sdk
    
    # Basic Usage Example
    from smartdecision_sdk import SmartDecisionClient
    
    # Initialize the client with your API key
    client = SmartDecisionClient(api_key="your-api-key-here")
    
    # Make an ensemble decision
    response = client.make_ensemble_decision(
        question="What is the best programming language for web development?",
        categories=["Python", "JavaScript", "TypeScript", "Go", "Rust"]
    )
    
    print(f"Final decision: {response.final_decision}")
    print(f"Consensus score: {response.consensus_score:.2f}")
    print(f"Vote counts: {response.vote_counts}")
    
    # Clean up
    client.close()

    Installation

    pip install smartdecision-sdk

    Documentation

    More Languages Coming Soon

    Go
    Coming Soon

    High-performance SDK for Go applications with goroutine support

    SDK development in progress

    Check back soon for Go support!

    Rust
    Coming Soon

    Memory-safe SDK with async/await support and zero-copy operations

    SDK development in progress

    Check back soon for Rust support!

    Java
    Coming Soon

    Enterprise-ready SDK with Spring Boot integration and comprehensive error handling

    SDK development in progress

    Check back soon for Java support!

    C#
    Coming Soon

    Full .NET support with async/await patterns and LINQ integration

    SDK development in progress

    Check back soon for C# support!

    PHP
    Coming Soon

    Laravel and Symfony integration with Composer package management

    SDK development in progress

    Check back soon for PHP support!

    Ruby
    Coming Soon

    Ruby gem with Rails integration and elegant DSL for decision making

    SDK development in progress

    Check back soon for Ruby support!

    API Reference

    Complete API documentation and endpoint reference

    Core Endpoints

    • POST /v1/ensemble - Make ensemble decision
    • GET /health - Health check
    • GET /docs - Interactive API documentation
    • GET /decision-history - Get user decision history

    Authentication

    • API Key authentication via SD-API-KEY header
    • Rate limiting per API key
    • Request/response logging
    • Decision history tracking

    Ready to Get Started?

    Join thousands of developers using SmartDecision AI to make better decisions