Installation

Every AICE package, its current version, and what each language needs.

Install only the services you call. Each package is versioned on its own, so upgrading one never forces an upgrade of another.

Requirements

PythonTypeScript
RuntimePython 3.11+Node 18+ (or any runtime with fetch)
Module formattyped (py.typed)ESM only, types included
HTTPhttpxnative fetch
Sync and asyncboth (XClient, AsyncXClient)async (promises)
timeout optionseconds (default 30.0)milliseconds (default 30000)
max_retries / maxRetries33
Per-call acting useracting_as(...) context managerwithUser(...) on the umbrella, or one client per user

Packages

Each cell shows what installs from PyPI or npm today, and the next version where one is waiting in the repository. Python and TypeScript are versioned separately, so the same service can carry different numbers in each.

ServicePythonTypeScript
Agent Platform
changelog
aice-agent-platform0.2.1 on PyPI · 0.2.2 unreleased@aiceafrica/agent-platform0.2.1 on npm · 0.2.2 unreleased
Recommendation
changelog
aice-recommendation0.0.2 on PyPI · 0.1.0 unreleased@aiceafrica/recommendation0.2.2 on npm · 0.3.0 unreleased
Knowledge
changelog
aice-knowledge0.1.2 on PyPI · 0.2.0 unreleased@aiceafrica/knowledge0.1.1 on npm · 0.2.0 unreleased
Crawler
changelog
aice-crawler0.1.2 on PyPI · 0.2.0 unreleased@aiceafrica/crawler0.1.2 on npm · 0.2.0 unreleased
Data Brain
changelog
aice-data-brain0.2.0 on PyPI@aiceafrica/data-brain0.1.2 on npm · 0.2.0 unreleased
Email
changelog
aice-email0.1.0 unreleased, not on PyPI yet@aiceafrica/email0.1.0 unreleased, not on npm yet
KYC
changelog
aice-kyc0.1.0 unreleased, not on PyPI yet@aiceafrica/kyc0.1.2 on npm · 0.2.0 unreleased
Sandbox
changelog
aice-sandbox0.2.0 on PyPInot available
Everything above
changelog
aice-sdk0.1.0 unreleased, not on PyPI yet@aiceafrica/sdk0.1.1 on npm · 0.2.0 unreleased
Shared transport
changelog
aice-core0.3.0 on PyPI · 0.3.1 unreleased@aiceafrica/core0.3.0 on npm · 0.4.0 unreleased
Telemetry bootstrap
changelog
aice-observability0.2.1 on PyPI · 0.2.2 unreleasednot available

Sandbox is Python only, and so is the telemetry bootstrap.

You don't install aice-core / @aiceafrica/core yourself: every service package depends on it. The umbrella pulls in every service, Sandbox included.

pip install aice-recommendation aice-knowledge
# or everything:
pip install aice-sdk

Bundling for the browser

Don't. The project key must stay on your servers, so these packages belong in backend code only. If you ship to an edge runtime, install single service packages rather than @aiceafrica/sdk, which pulls every client into the bundle.

Installing from the monorepo

Until a package reaches your registry, install it from the aice_sdks repository:

cd aice_sdks/python/knowledge_service
uv sync           # or: pip install -e .

Service URLs

Each service is its own deployment, with no shared gateway. A client's base URL is the service's host plus its path: the clients add each endpoint's path to whatever you pass, so the service's own prefix has to be part of it.

ServiceBase URL, local stackPath
Agent Platformhttp://localhost:6060none
Knowledgehttp://localhost:6100/knowledge/knowledge
Crawlerhttp://localhost:6200/crawl/crawl
Recommendationhttp://localhost:6400none: the vertical is its own vertical argument, see Recommendation
Sandboxhttp://localhost:8080none
Data Brainhttp://localhost:6300none: the client adds /v1/plugin/... itself
Emailhttp://localhost:6600/email/email
KYChttp://localhost:6700/api/v1/kyc/api/v1/kyc

The built-in defaults leave the path out

Clients and the umbrella fall back to bare http://localhost:<port> URLs when you don't pass one. Those miss the path for Knowledge and Crawler (Email's and KYC's defaults already include their paths), so always pass the full base URL.

Versioning

Packages follow SemVer, and each one keeps its own changelog: see Changelog, which is generated from the packages' CHANGELOG.md files. Everything is below 1.0, so read a minor bump (0.1 → 0.2) as "something changed that you should look at", and patch bumps as safe.

Upgrade notes:

  • KYC: @aiceafrica/kyc 0.2.0 is a rewrite. See Upgrading from 0.1.
  • Recommendation: the package was renamed from aice-reco-sdk (see Migrating from reco-sdk), and the vertical later moved out of the base URL into its own argument (see Upgrading to the vertical argument).
  • Knowledge and Crawler 0.2.0 fix calls that never reached the service and change some signatures: see their changelogs.

On this page