Libraries
Cognipeer libraries
Every published Cognipeer package, what it is for, and where its documentation lives. Everything here is TypeScript-first and installable from npm.
- Registry npmjs.com/org/cognipeer
- Agent SDK MIT licensed
- Platform community edition AGPL-3.0
Agent runtime
The Agent SDK is the agent runtime Cognipeer Platform itself uses. Agent Server wraps it in a REST API when you need to run agents as a service.
Agent SDK
Composable agent core with planning, context management, skills, sub-agents, guardrails, and human-in-the-loop approvals.
Agent Server
REST API server infrastructure for AI agents — storage providers, auth, streaming, file management, and a task system.
Platform SDKs
Typed clients for the Cognipeer APIs. Use Console SDK against the platform API (self-hosted or hosted), and Client SDK against the hosted Cognipeer API.
Console SDK
Every platform endpoint — chat, embeddings, vectors, agents, tracing, guardrails, memory, sandbox, and more.
Client SDK
Conversations, flows, and client-side tool execution against hosted Cognipeer, in the browser or on the server.
Interface
Utilities
Graph Builder
Turn files and text into a queryable knowledge graph, with semantic enrichment and incremental updates.
Observability
Ship agent traces from OpenAI Agents, Claude Agent SDK, LangChain, LangGraph, Vercel AI SDK, n8n, and OpenTelemetry into the platform.
to-markdown
Convert PDFs, Office documents, HTML, and more into clean Markdown — the converter behind the platform's file ingestion.
Privacy & safety
Guardrail
Offline Turkish + English content moderation and LLM prompt-shield — a 1.4 MB classifier bundled in the package, no network calls, Python and Node.
PII
Offline, CPU-only, Turkish-first PII detection for JavaScript and Python — regex + checksum, a built-in Turkish gazetteer, and an optional bundled 1.45 MB char-CNN judge.
Working against the platform
If you are running the platform rather than building against it, the Platform documentation covers both sides.
Architecture
How the platform is put together, and how the core modules sit around the request path.
REST API
The full endpoint reference, OpenAI-compatible where it can be, documented route by route.
Release notes
What shipped in the platform and in each library, kept per package.
Patterns and comparisons
Use cases
End-to-end patterns with code — RAG pipelines, multi-agent orchestration, embedded widgets, governance, incident response.
Product comparisons
What each product covers, how they differ, and which one fits the problem you are solving.
Renamed packages
Two packages on npm have been superseded. They still resolve, but new work should use the current package.
| Deprecated | Use instead | Notes |
|---|---|---|
@cognipeer/client-js | @cognipeer/sdk | Same purpose, rewritten API. The old package has not been updated in over a year. |
@cognipeer/cgate-sdk | @cognipeer/console-sdk | Renamed when the product became Cognipeer Console. |

