Build and deploy
enterprise AI.
The most powerful SDK for building enterprise-grade AI applications. Type-safe, fully documented, and ready for production.
Interactive API Playground
Test our SDK directly in your browser. Run real code examples and see instant responses from our API.
import { Swfte } from '@swfte/sdk';
// Initialize the client
const swfte = new Swfte({
apiKey: process.env.SWFTE_API_KEY,
});
// Create an intelligent agent
const response = await swfte.agents.run({
task: 'sentiment-analysis',
data: {
message: "Your product transformed our workflow!"
}
});
console.log(response.sentiment); // "positive"
console.log(response.score); // 0.95Your guided integration path
Get up and running in minutes with our simple three-step process.
npm install @swfte/sdkInstall the SDK
Add the Swfte SDK to your project with a single command. Supports npm, yarn, pnpm, and bun.
import { Swfte } from '@swfte/sdk';
const swfte = new Swfte({
apiKey: process.env.SWFTE_API_KEY,
});Configure Authentication
Securely connect with your API key. Environment variables, config files, or direct initialization—your choice.
const response = await swfte.agents.run({
task: 'analyze',
data: { text: 'Hello, world!' }
});
console.log(response.result);Make Your First Call
Call the API and receive intelligent responses in seconds. Full TypeScript support with autocomplete.
Built for developers
Everything you need to build production-ready AI applications.
Complete TypeScript definitions
with autocomplete and compile-time checking.
TypeScript, Python, Go, Ruby
and more with full feature parity.
Token-by-token streaming
with SSE and WebSocket support.
Latency, tokens, costs, errors
tracked automatically.
Developer FAQs
We offer native SDKs for TypeScript/JavaScript, Python, Go, Ruby, and Java. Our REST API works with any language that can make HTTP requests.
Use API keys stored in environment variables or passed directly to the SDK. We support OAuth2 for enterprise SSO integration and provide secure key rotation.
Free tier: 100 requests/minute. Pro: 1,000 requests/minute. Enterprise: Custom limits with dedicated capacity and burst handling.
The SDK provides typed error classes with detailed messages. All errors include request IDs for debugging and support. We also offer automatic retries with exponential backoff.
Yes! All SDKs support Server-Sent Events (SSE) for real-time streaming. You can receive tokens as they are generated for responsive UIs.
Ready to start building?
Get your API key and start building in minutes. Free tier available.