nexus-cloud-sdk
v0.1.1
Published
Nexus Cloud Platform SDK
Downloads
6
Readme
Nexus Cloud SDK
Official SDK for the Nexus Cloud Platform - The world's first complete AI application platform.
Installation
npm install nexus-cloud-sdk
# or
yarn add nexus-cloud-sdk
# or
pnpm add nexus-cloud-sdkQuick Start
import Nexus from 'nexus-cloud-sdk';
// Initialize the SDK
const nexus = new Nexus({
apiKey: 'your-api-key',
environment: 'production'
});
// Initialize services
await nexus.init();
// Use AI services
const response = await nexus.ai.chat({
model: 'gpt-4',
messages: [
{ role: 'user', content: 'Hello, Nexus!' }
]
});
// Store vectors
await nexus.storage.vectors.upsert({
vectors: [
{ id: '1', values: [0.1, 0.2, 0.3], metadata: { text: 'Example' } }
]
});
// Search vectors
const results = await nexus.storage.vectors.search({
vector: [0.1, 0.2, 0.3],
topK: 10
});Features
- 🚀 Edge-First Architecture - Sub-100ms AI responses globally
- 🧠 Complete AI Platform - All 5 layers of AI application stack
- 🌍 Global Distribution - Deploy to 300+ edge locations
- 🤖 Autonomous Agents - MCP-compliant AI workflows
- 📦 Zero Configuration - Production-ready in 5 minutes
- 💰 Cost Optimized - 60-75% cheaper than alternatives
Services
AI Gateway
- Multi-provider support (OpenAI, Anthropic, Google, Meta)
- Automatic failover and load balancing
- Edge inference with sub-100ms latency
Storage
- Vector database with hybrid search
- Key-value storage
- Object storage (R2)
- SQL database (D1)
Real-time
- WebSocket connections
- Live collaboration
- Presence management
Authentication
- JWT-based auth
- OAuth providers
- Session management
Analytics
- Usage tracking
- Performance metrics
- Cost analysis
Documentation
Full documentation available at: https://docs.nexuscloud.dev
Support
- Discord: https://discord.gg/nexuscloud
- GitHub: https://github.com/nexus-cloud/sdk
- Email: [email protected]
License
MIT
