Per iniziare

    Documentazione

    Tutto quello che serve per portare in produzione agenti, modelli e automazioni con AICore. Endpoint REST, SDK tipizzati, esempi runnable e best practice per il deployment.

    182 ms
    Latenza p50
    99.95%
    Uptime SLA
    TS · Py · Go
    SDK

    Quickstart

    Installa l'SDK e fai la prima chiamata in meno di 2 minuti.

    # npm
    npm install @aicore/sdk
    
    # python
    pip install aicore
    bash
    import { AICore } from "@aicore/sdk";
    
    const ai = new AICore({ apiKey: process.env.AICORE_KEY });
    
    const res = await ai.chat.completions.create({
      model: "atlas-70b",
      messages: [{ role: "user", content: "Summarize this email" }],
    });
    
    console.log(res.choices[0].message.content);
    typescript
    Interattivo

    Playground

    Prova i modelli direttamente dalla documentazione. Seleziona il modello, fai una domanda e ricevi la risposta in streaming.

    Try it live

    Prova una di queste domande:

    Autenticazione

    Tutte le richieste richiedono un Bearer token. Le chiavi si gestiscono dal pannello workspace con scope per ambiente (dev / staging / prod) e rotazione automatica ogni 90 giorni.

    curl https://api.aicore.dev/v1/chat/completions \
      -H "Authorization: Bearer $AICORE_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model":"atlas-70b","messages":[{"role":"user","content":"hello"}]}'
    bash

    API REST

    Base URL https://api.aicore.dev/v1. Tutti gli endpoint supportano streaming via SSE, function calling e response_format JSON-schema.

    POST
    /chat/completions

    Chat completion (streaming opzionale).

    POST
    /embeddings

    Embedding semantici 1024d/3072d.

    POST
    /agents/runs

    Esegue un agente con tool calling.

    GET
    /agents/runs/:id

    Stato e trace di un run.

    POST
    /files

    Upload documenti per RAG (PDF, MD, DOCX).

    POST
    /evals

    Lancia una suite di eval.

    SDK

    SDK ufficiali first-class in TypeScript, Python e Go. Retry esponenziale, streaming, typed response.

    TypeScript

    v2.4.1
    npm i @aicore/sdk

    Python

    v2.4.0
    pip install aicore

    Go

    v1.8.2
    go get aicore.dev/sdk

    Webhook

    Ricevi eventi in tempo reale per run completati, fallimenti, batch processati. Firma HMAC-SHA256.

    {
      "id": "evt_01J9Z7...",
      "type": "agent.run.completed",
      "data": {
        "run_id": "run_xyz",
        "agent": "sales-qualifier",
        "duration_ms": 4318,
        "tokens": { "in": 1240, "out": 410 }
      },
      "created_at": "2026-06-17T14:22:01Z"
    }
    json

    Modelli

    atlas-70b

    Frontier reasoning, function calling avanzato.

    ctx 128k
    helix-8b

    Veloce ed economico per task ad alto volume.

    ctx 32k
    mosaic-vision

    Multimodale: documenti, screenshot, OCR.

    ctx 16k
    ember-embed-3

    Embedding 3072d per retrieval semantico.

    ctx —

    Agenti

    Definisci agenti con tool calling, memoria persistente e guardrail. Esegui sandbox-isolated.

    const agent = ai.agents.define({
      name: "sales-qualifier",
      model: "atlas-70b",
      tools: [hubspot.getDeals, gmail.draftReply],
      guardrails: ["no-pii-leak", "tone-professional"],
    });
    
    const run = await agent.run({ input: "Qualify today's leads" });
    typescript

    Cookbook

    RAG con citazioni verificabili

    Cookbook · ~15 min

    Agente di vendita su HubSpot

    Cookbook · ~15 min

    Document AI: estrazione fatture

    Cookbook · ~15 min

    Eval con golden dataset

    Cookbook · ~15 min

    Fine-tuning su Helix 8B

    Cookbook · ~15 min

    Streaming con SSE in React

    Cookbook · ~15 min