Developers / Choose your entry point

Build around
the work.

Start with model access, agent workflows or knowledge. Choose the integration path that fits your application.

Explore Swfte on GitHub ↗

In short:The most powerful SDK for building enterprise-grade AI applications. Type-safe, fully documented, and ready for production.

INTEGRATION MAP / ILLUSTRATIVE
application → model access → response

Model access

Connect your application to model access. Start by reviewing routing, authentication and usage requirements.

Explore Connect

Follow the published reference.

Read the SDK examples and integration guidance alongside the product you intend to use.

Open the developer reference

Before your first integration

Agree the credential boundary, test inputs, failure handling and the usage you need to observe.

Discuss an integration
Try It Live

Interactive API Playground

Test API calls in real-time with live code examples and instant results.

agents.run()models.list()chat.complete()embeddings.create()workflows.execute()knowledge.query()analytics.track()files.upload()agents.run()models.list()chat.complete()embeddings.create()workflows.execute()knowledge.query()analytics.track()files.upload()
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.95

Your guided integration path

Get up and running in minutes with our step-by-step integration guide.

npm install @swfte/sdk
Step 1

Install the SDK

Get started by installing the Swfte SDK via npm.

import { Swfte } from '@swfte/sdk';

const swfte = new Swfte({
  apiKey: process.env.SWFTE_API_KEY,
});
Step 2

Initialize the client

Set up the Swfte client with your API credentials.

const response = await swfte.agents.run({
  task: 'analyze',
  data: { text: 'Hello, world!' }
});

console.log(response.result);
Step 3

Start building

Use the SDK to run agents and build AI-powered features.

Frequently Asked Questions

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.

Deploy a model with Swfte Connect

One gateway, every provider, per-token cost visibility. Swap models without touching your code.