Skip to main content
The fastest way to build on Cominty is one of the two official SDKs. Both are fully typed clients for the same chat API:
  • the Python SDK (cominty-sdk on PyPI), async;
  • the JavaScript SDK (@cominty-ai/sdk on npm), written in TypeScript, for Node, Bun, Deno, and edge workers.
This guide takes you from install to your first agent response.
Prefer raw HTTP? Every call the SDKs make is a standard HTTPS/JSON request against https://ds.cominty.com. Browse them in the API reference, each with a live playground.

Get started

1

Install the SDK

Requires Python 3.9+.
2

Get your credentials

From platform.cominty.ai, grab two things:
  • API key, from the API keys page.
  • User id, from your avatar → Profile (looks like user_31HPTBuBvX20xlQNAbvxjOxPbKB).
Export both so the client picks them up automatically. Treat the API key like a password.
3

Send your first message

Pick an agent id from platform.cominty.ai/agents and ask it something.
Printed a response? You’re ready to build.
Next, stream the agent’s progress, continue the conversation, and handle errors. See the Python SDK quickstart or the JavaScript SDK quickstart for examples, and the Python or JavaScript reference for the full surface. To control what the agent can use, read Capabilities and its use cases.
Need help? Reach out at hi@cominty.com.