Skip to main content
EigenPal ships official SDKs for TypeScript and Python. Both are typed wrappers over the same REST API the CLI uses and are generated from the OpenAPI spec. Use an SDK when you want to trigger workflows or agents from application code. Use the CLI for authoring and local iteration, and the API reference for the raw HTTP surface.

TypeScript

@eigenpal/sdk on npm. Run workflows from Node, Bun, Deno, or the browser.

Python

eigenpal on PyPI. Run workflows from any Python 3.9+ app.
Both are open source: github.com/eigenpal/sdk-typescript and github.com/eigenpal/sdk-python.

Common SDK operations

Both SDKs expose the same core operations:
  • A client you construct with an API key.
  • A run call that starts a workflow or agent by target (workflows.<slug> or agents.<slug>). TypeScript uses waitForCompletion; Python exposes wait_for_completion and run_and_wait helpers for blocking flows.
  • Multipart file upload built in: pass a file and the SDK sends multipart/form-data, no base64 needed.
  • A typed validation error you can catch when inputs do not match the schema.
Get an API key from the dashboard under Settings → API Keys. Point either SDK at a self-hosted deployment with baseUrl (TypeScript) or base_url (Python).