Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mira.network/llms.txt

Use this file to discover all available pages before exploring further.

What is Mira Network SDK?

Mira Network SDK is your unified interface to the world of AI language models, providing a seamless way to integrate multiple language models while offering advanced routing, load balancing, and flow management capabilities. The SDK offers several key capabilities:
  • 🔄 Smart Model Routing: Route requests across different models
  • ⚖️ Load Balancing: Distribute workload across nodes
  • 🌊 Flow Management: Handle request patterns efficiently
  • 🔌 Universal Integration: Single API for multiple models
  • 📊 Usage Tracking: Monitor your model usage

Why Choose Mira Network SDK?

FeatureMira SDKTraditional Approach
🔄 Multi-model SupportSingle unified APISeparate APIs per model
⚖️ Load BalancingBuilt-inCustom implementation
🌊 Flow ControlAutomatic handlingManual implementation
📊 Usage TrackingIntegratedCustom tracking needed
🛡️ Error HandlingStandardized across modelsModel-specific handling

Key Features

  • 🔌 Simple, intuitive API
  • 🔄 Async-first design
  • 🌊 Streaming support
  • 🔐 Error handling
  • 🛠️ Customizable nodes
  • 📊 Usage tracking

Perfect For

  • 🤖 AI Applications
  • 📝 Text Generation
  • 🔍 Search Enhancement
  • 🎮 Interactive Systems

Getting Started

To begin using the Mira Network SDK, you’ll need:
  1. Python Environment: Python 3.8 or higher
  2. Mira API Key: Sign up at Mira Console to obtain your API key
  3. Installation: Install via pip (see next section)
Ready to start? Head to the Installation guide.