Introduction

What the AICE SDKs are, which services they cover, and the two ideas every integration rests on.

AICE is a set of independent services: an agent runtime, a recommendation engine, document search, a crawler, a data connector, an email service, KYC checks and a code sandbox. Each one exposes a REST API. The SDKs wrap those APIs in typed clients for Python and TypeScript that share one transport, so retries, errors and authentication behave the same way whichever service you call.

Two ideas to hold on to

Services

ServiceWhat it doesPythonTypeScript
Agent PlatformStreaming conversational agents with tools, memory and human approvalaice-agent-platform@aiceafrica/agent-platform
RecommendationTrack interactions, train a model, get ranked recommendationsaice-recommendation@aiceafrica/recommendation
KnowledgeDocument ingestion, scopes and semantic searchaice-knowledge@aiceafrica/knowledge
CrawlerBudgeted web crawls, reviewed then published to Knowledgeaice-crawler@aiceafrica/crawler
Data BrainQuery databases and uploaded files without exposing credentialsaice-data-brain@aiceafrica/data-brain
EmailCampaigns, one-to-one email, agent drafts for review, and captured repliesaice-email@aiceafrica/email
KYCDocument verification, face capture and match, and reviewaice-kyc@aiceafrica/kyc
SandboxIsolated sessions for running codeaice-sandboxnot yet

Want every client behind one object? The umbrella SDK (aice-sdk / @aiceafrica/sdk) builds each one lazily from a single project key.

What the clients have in common

  • Sync and async in Python (XClient and AsyncXClient); promises in TypeScript.
  • Retries, backoff and typed errors from one transport. See Errors and retries.
  • Plain dictionaries for responses, except Recommendation, which returns typed objects.
  • Timeouts differ by language: Python's timeout is in seconds, TypeScript's is in milliseconds.
  • Base URLs include the service's path, so http://localhost:6100/knowledge, not http://localhost:6100. See Service URLs.

How the pieces fit

browser ──▶ your backend ──(project key + X-User-Id)──▶ AICE service

The SDKs are server-side clients. The project key is a credential for everything in that project, so it lives in your backend's environment, never in a browser bundle or a mobile app. A browser that needs an AICE feature, such as a chat window, calls your backend, and your backend calls AICE. The chat UI guide shows that pattern end to end.

Where to start

On this page