Skip to content

Using The SDK

Cognipeer Console and the Console SDK solve different layers of the same system.

  • Cognipeer Console is the platform and control plane: deployment, tenant isolation, API tokens, providers, tracing, prompts, guardrails, RAG, and runtime policy.
  • Console SDK is the application integration layer: a TypeScript and JavaScript client that talks to the Console client API.

Which Team Uses Which

If you are doing...Start here
Deploying or operating the platformCognipeer Console docs
Configuring tenants, providers, prompts, tools, agents, or guardrailsCognipeer Console docs
Writing backend or frontend application code against the APIConsole SDK docs
Debugging raw HTTP request and response behaviorConsole API Reference
  1. Set up Cognipeer Console locally or in your target environment.
  2. Configure providers, models, storage, and any policies you need.
  3. Create an API token in the dashboard.
  4. Capture the client API base URL for your deployment.
  5. Install the Console SDK.
  6. Implement application calls with the SDK while using the Console dashboards for observability and operations.

Responsibilities Split

ConcernCanonical docs
Deployment, tenancy, providers, runtime featuresCognipeer Console
Endpoint behavior and HTTP payloadsCognipeer Console
TypeScript and JavaScript method signaturesConsole SDK
Framework integrations and code examplesConsole SDK

That split matters. The same capability should not be documented twice with different ownership.

Self-Hosted Base URL

When you self-host Console, your SDK should point to the full client API base URL:

text
https://your-console.example.com/api/client/v1

The SDK expects the client API surface, not just the dashboard origin.

Community edition is AGPL-3.0. Commercial licensing and support are available separately.