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:Das leistungsstärkste SDK zum Erstellen von KI-Anwendungen auf Unternehmensniveau. Typsicher, vollständig dokumentiert und produktionsbereit.

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
Live testen

Interaktiver API-Playground

Testen Sie API-Aufrufe in Echtzeit mit Live-Code-Beispielen und sofortigen Ergebnissen.

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

Ihr geführter Integrationspfad

Starten Sie in wenigen Minuten mit unserem schrittweisen Integrationsleitfaden.

npm install @swfte/sdk
Schritt 1

SDK installieren

Beginnen Sie mit der Installation des Swfte SDK über npm.

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

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

Client initialisieren

Richten Sie den Swfte-Client mit Ihren API-Anmeldeinformationen ein.

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

console.log(response.result);
Schritt 3

Mit dem Erstellen beginnen

Verwenden Sie das SDK, um Agenten auszuführen und KI-gestützte Funktionen zu erstellen.

Häufig gestellte Fragen

Wir bieten native SDKs für TypeScript/JavaScript, Python, Go, Ruby und Java. Unsere REST-API funktioniert mit jeder Sprache, die HTTP-Anfragen stellen kann.

Verwenden Sie API-Schlüssel, die in Umgebungsvariablen gespeichert oder direkt an das SDK übergeben werden. Wir unterstützen OAuth2 für Enterprise-SSO-Integration und bieten sichere Schlüsselrotation.

Kostenlos: 100 Anfragen/Minute. Pro: 1.000 Anfragen/Minute. Enterprise: Benutzerdefinierte Limits mit dedizierter Kapazität und Burst-Behandlung.

Das SDK bietet typisierte Fehlerklassen mit detaillierten Nachrichten. Alle Fehler enthalten Anfrage-IDs für Debugging und Support. Wir bieten auch automatische Wiederholungsversuche mit exponentiellem Backoff.

Ja! Alle SDKs unterstützen Server-Sent Events (SSE) für Echtzeit-Streaming. Sie können Tokens empfangen, sobald sie für responsive UIs generiert werden.

Bereit, mit dem Bauen zu beginnen?

Holen Sie sich Ihren API-Schlüssel und beginnen Sie in wenigen Minuten mit dem Bauen.

Deploy a model with Swfte Connect

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