Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Python and TypeScript client libraries and the official MCP server for Algenta β self-hosted building blocks for AI applications.
π Full documentation: GitHub Wiki
Docs Β· Python SDK Β· TypeScript SDK Β· MCP server Β· Integrations Β· Examples Β· Contributing
Custom Mojo kernels give Algenta its speed. Your team never writes a line of Mojo β the blocks speak Python and TypeScript. On your infrastructure, not ours. These SDKs are how Python and TypeScript call the engine: typed access to governed data queries, Monte Carlo simulations and recommendations, decision memory with execution receipts that pin the policy and schema snapshots each execution ran under, agent runs with human-in-the-loop approvals, managed connectors, and a full audit trail β enforced by the engine, never by client-side convention.
MCP server (algenta-mcp) β the official MCP server for Algenta lives in
THIS repository at packages/mcp/ (implementation:
packages/mcp/algenta_mcp; stdio transport by default, Streamable HTTP
optional). Install it with pip install algenta-mcp and run it as the
algenta-mcp command; it is also on the official MCP Registry as
io.github.thyn-ai/algenta. The framework integrations (LangChain, LlamaIndex,
Vercel AI SDK, β¦) are what live in the companion repository
thyn-ai/algenta-integrations
β not the MCP server.
Introspection (initialize/tools/list) needs no credentials. Executing tools
requires a free community login β device registration at algenta.ai (free): run
algenta login, or create a key at
https://app.algenta.ai/dashboard/api-keys, then set ALGENTA_API_KEY.
Both clients read ALGENTA_API_KEY from the environment and default to
Algenta's hosted API at https://api.algenta.ai.
Python β note the import name is decision_engine (see
Legacy names):
TypeScript:
Self-hosted engine? Point the client at your own deployment β
AlgentaClient(base_url="http://localhost:8000") in Python,
new AlgentaClient({ baseUrl: "http://localhost:8000" }) in TypeScript β and
use the API key provisioned by your operator. The self_hosted and
air_gapped deployment profiles fail closed: they never silently fall back to
Algenta's cloud. Framework integrations in
thyn-ai/algenta-integrations
take the opposite default on purpose: they are self-hosted-first, resolve their
endpoint from ALGENTA_BASE_URL or an explicit base_url, and never default or
fall back to the hosted API.
The full API surface β governed queries, connectors, simulations, jobs,
triggers, agent runs, decisions, repository intelligence, and the TypeScript
local Runtime facade β is documented in
packages/python-sdk/README.md and
packages/ts-sdk/README.md, with runnable
projects in examples/. The MCP server lives in this repository
(see MCP server above); framework integrations (LangChain,
LlamaIndex, Vercel AI SDK, and more) live in the companion repository
thyn-ai/algenta-integrations.
Both SDKs raise the same exception taxonomy. Every error carries the HTTP
status, the engine's machine-readable error_code, and β in Python β the
engine-assigned request_id; validation failures additionally expose
per-field details via field_errors (Python) / fieldErrors (TypeScript).
| Exception | HTTP status | Raised when | Retried by default |
|---|---|---|---|
AuthenticationError | 401 | Missing or invalid API key | No |
NotFoundError | 404 | Resource does not exist | No |
ValidationError | 422 | Request failed schema validation | No |
RateLimitError | 429 | Quota or rate limit exceeded | Yes β honors the engine's Retry-After (retry_after / retryAfter, default 60s) |
ServerError | 5xx | Engine-side failure | Yes β exponential backoff |
DecisionEngineError | any | Base class for all of the above | β |
Transient network errors are retried on the same policy as 5xx responses. The
Python SDK additionally never retries one rate-limit code,
inline_preview_rate_limited.
| Setting | Python | TypeScript | Default |
|---|---|---|---|
| Request timeout | timeout (seconds) | timeout (milliseconds) | 120 |
| Retries per request | max_retries | maxRetries | 3 |
The SDK was renamed to Algenta partway through its history. For backward compatibility, the legacy names below still work β existing code and deployment configurations do not need to change:
algenta-sdk, but the
importable module remains decision_engine:
from decision_engine import AlgentaClient.CodnaClient (and AsyncCodnaClient in Python) remain
exported as aliases of AlgentaClient in both SDKs.DE_API_KEY, DE_BASE_URL, and
ALGENTA_API_URL are still accepted alongside the canonical
ALGENTA_API_KEY and ALGENTA_BASE_URL.The published API contract guarantees a 90-day deprecation window
(DEPRECATION_WINDOW_DAYS) before any legacy name is removed.
The engine's compute kernels β simulation, scoring, and local query
execution β are written in Mojo and are
proprietary. They are distributed as signed algenta-runtime-native wheels
and are not part of this repository.
What is open, here and under Apache-2.0: both SDKs, the published API contract
they are generated from, the client/runtime wire protocol they speak, and
runnable examples β including examples/mojo-quickstart/,
a minimal end-to-end walkthrough of calling the native runtime through the SDK.

This repository contains Algenta's Python and TypeScript client SDKs and the
official MCP server (packages/mcp/), licensed
under Apache-2.0 (see LICENSE and NOTICE).
The Algenta engine itself is closed source and is not contained in this repository. Engine licensing, device entitlements, worker limits, concurrency limits, and Server Compute Units are enforced independently by the engine, subject to the separate Algenta Engine license.
The SDK is a plain HTTP client. It holds no license-signing keys, no entitlement-enforcement logic, and no secret shared with the engine β every entitlement claim is independently verified and enforced by the closed engine, never by this SDK. Fork it, delete every check in it, or replace it with your own HTTP client entirely β modifying or replacing this SDK does not change the execution capacity licensed to an Algenta engine. See SECURITY.md for what that means for vulnerability reports.
Algenta does not require hosted inference or telemetry for execution. Paid licenses expand local execution and governance capacity rather than charging per SDK call.
Every release built by release.yml is
tied to:
sdk-vX.Y.Z source tag in this repository;releases/).No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/algenta-mcp-server)<a href="https://allmcps.com/mcp/algenta-mcp-server"><img src="https://allmcps.com/api/badge/algenta-mcp-server?style=directory" alt="Algenta MCP Server on AllMCPs" /></a>