Tenant: primeassist-dev

SDK

PrimeAssist client libraries.

Drop into your codebase with a few lines. Both clients share the same conversation + streaming surface — pick the language, point them at an API key, and start a turn.

Install

@primeassist/sdk is not yet published. The client surface is stable and the snippet below tracks the locked quickstart.

Quickstart

import { PrimeAssistClient } from "@primeassist/sdk";

const client = new PrimeAssistClient({
  apiKey: process.env.PRIMEASSIST_API_KEY!,
  orgId: process.env.PRIMEASSIST_ORG_ID!,
});

const conversation = await client.conversations.create({ agentId: "..." });
const stream = await client.chat.send({
  conversationId: conversation.id,
  message: "Hello",
});

for await (const event of stream) {
  if (event.type === "delta") process.stdout.write(event.text);
}

Get an API key

API keys are tenant-scoped. Provision one from the organisation settings; rotate or revoke any time.

Manage API keys

Package status

  • @primeassist/sdk

    Coming soon to npm. Trusted publishing via GitHub OIDC is configured.

    Coming soon
  • primeassist

    Coming soon to PyPI. Trusted publishing via GitHub OIDC is configured.

    Coming soon

Open the help drawer (press ?) for the API reference.