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:L'SDK più potente per creare applicazioni AI di livello aziendale. Type-safe, completamente documentato e pronto per la produzione.

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
Provalo dal vivo

Playground API interattivo

Testa le chiamate API in tempo reale con esempi di codice dal vivo e risultati istantanei.

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

Il tuo percorso di integrazione guidato

Inizia in pochi minuti con la nostra guida di integrazione passo dopo passo.

npm install @swfte/sdk
Passo 1

Installa l'SDK

Inizia installando l'SDK di Swfte tramite npm.

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

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

Inizializza il client

Configura il client Swfte con le tue credenziali API.

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

console.log(response.result);
Passo 3

Inizia a costruire

Usa l'SDK per eseguire agenti e creare funzionalità basate sull'IA.

Domande frequenti

Offriamo SDK nativi per TypeScript/JavaScript, Python, Go, Ruby e Java. La nostra API REST funziona con qualsiasi linguaggio in grado di effettuare richieste HTTP.

Usa chiavi API memorizzate in variabili d'ambiente o passate direttamente all'SDK. Supportiamo OAuth2 per l'integrazione SSO aziendale e forniamo rotazione sicura delle chiavi.

Livello gratuito: 100 richieste/minuto. Pro: 1.000 richieste/minuto. Enterprise: Limiti personalizzati con capacità dedicata e gestione burst.

L'SDK fornisce classi di errore tipizzate con messaggi dettagliati. Tutti gli errori includono ID di richiesta per debug e supporto. Offriamo anche tentativi automatici con backoff esponenziale.

Sì! Tutti gli SDK supportano Server-Sent Events (SSE) per lo streaming in tempo reale. Puoi ricevere token man mano che vengono generati per UI reattive.

Pronto per iniziare a costruire?

Ottieni la tua chiave API e inizia a costruire in pochi minuti.

Deploy a model with Swfte Connect

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