The Prometheux platform provides multiple ways to interact with all platform features programmatically:
  • Python SDK (prometheux_chain): A high-level Python library for seamless integration
  • REST API: Direct HTTP endpoints for maximum flexibility and language-agnostic access
  • MCP Integration: Connect AI agents to your ontologies via Model Context Protocol
    • Local MCP Server (prometheux-mcp): For Claude Desktop with local installation
    • Remote MCP Server (px-remote-mcp-server): For any MCP client (Claude, Genie Code, and more) with OAuth
All interfaces provide equivalent functionality—choose the one that best fits your workflow.

Quick Start

Installation

Configuration

First API Call

Install into Jupyter

To manually install the library in your Jupyter Lab or Jupyter Notebook follow these steps:
  1. Create a new notebook with kernel Python and run the following commands in a dedicated cell
  2. Clone the repo
  3. Navigate into the project and install it
  4. Copy the project into site-packages to allow importing and using it
  5. Restart the kernel
To update an existing installation of Prometheux Chain follow these steps:
  1. Uninstall the project
  2. Clone the repo if it is not present
    else update it to the latest changes
  3. Navigate into the project and install it
  4. Remove an existing installation if present
  5. Copy the project into site-packages to allow importing and using it
  6. Restart the kernel

Response Format

All REST API responses follow a consistent format:
The Python SDK automatically handles responses and returns the relevant data directly.

API Categories

The API is organized into the following categories:

Error Handling

The SDK raises exceptions for errors:

Requirements

Python SDK

  • Python 3.9 or higher
  • Install via pip: pip install prometheux_chain

REST API

  • Any HTTP client (curl, Postman, programming language HTTP libraries)
  • Valid JWT authentication token