Cognitia AI Logo

Cognitia AI

Memory LayerDevelopersFor BusinessesDocsFAQ

Documentation

Everything you need to know about using Cognitia AI, connecting your tools, and getting the most out of your AI assistant.

Product Overview

Memory LayerContext AssemblyMCP IntegrationsFor Developers

For Consumers

For Developers

For Businesses

For Consumers

For Developers

For Businesses

Getting Started

Start Here
1

Create Your Account

Visit the login page and create your account using one of three methods:

  • Google Sign-In -- One-click sign up with your Google account. Fastest way to get started.

  • iCloud Sign-In -- Sign up with your Apple ID for seamless iCloud integration.

  • Email & Password -- Create an account with any email address and a secure password.

All new accounts start with a free tier. No credit card required.

2

Connect Your First Integration

After signing in, navigate to the sidebar and connect your first service. We recommend starting with Gmail as it unlocks both email and calendar capabilities:

Click the Email integration button in the sidebar

Select Gmail and authorize Cognitia to access your account

Once connected, you can ask Cognitia to read, search, and send emails, plus manage your Google Calendar

3

Send Your First Message

Navigate to the Chat page and start a conversation. Cognitia adapts to natural language -- just tell it what you need:

"Summarize my unread emails from today"

"What meetings do I have this week?"

"Search the web for the latest AI news"

"Help me draft an email to my team"


Integrations Guide


MCP & backups

What is MCP & backups?

MCP & backups is where you extend Cognitia with external MCP (Model Context Protocol) servers and import assistant memory (ChatGPT, Claude, Gemini). MCP is an open standard that lets AI assistants interact with external services through a unified protocol. By connecting external MCP servers, you can add tools for services like Notion, Slack, databases, and many more — all without any coding.

Key highlights:

Available to all subscription tiers

No additional cost beyond LLM credits

Connect unlimited external servers

Built-in tools always take priority

Connecting an MCP Server

There are two ways to add external MCP servers:

Option 1: Browse the Official MCP Registry

Open MCP & backups from the sidebar

Use the search bar or quick-search tags to find a server (e.g., "Notion", "Slack")

Click Connect next to the server you want to add

Enter any required authentication credentials (API key, bearer token, etc.)

Cognitia will test the connection and cache the available tools

Option 2: Paste a server URL

On MCP & backups, open Official MCP Registry and click Paste server URL

Enter a server name, its URL, and authentication details

Click Connect & Test to verify and save

Managing Connected Servers

Once connected, each server appears as a card on the MCP & backups page showing its status, tool count, and last connection time. You can:

Toggle active/inactive: Temporarily disable a server without removing it. Inactive servers' tools are excluded from conversations.

Refresh tools: Re-fetch the tool list from the server if it has been updated.

Remove a server: Permanently disconnect and delete the server from your account.

Expand tool list: View all individual tools provided by the server.

Pricing and Tool Overlap

There is no additional credit cost for using external MCP tools. The only cost is the normal LLM token usage that applies to every message — tool definitions and results are part of the token count, just like built-in tools.

If an external server provides tools that overlap with a built-in Cognitia integration (e.g., a Gmail MCP server when you already have Gmail connected natively), the built-in integration takes priority automatically. This ensures you always get the best experience with native integrations while still being able to extend with external tools for services Cognitia doesn't cover natively.


MCP Memory Layer

New

What's new

Recently shipped

Recent additions to the memory layer and Memory Explorer:

Three-tool external MCPHosts get unified_memory_agent (optional source cards), origin-grant config, and unified_memory_store. Specialty identity/temporal tools stay first-party.

Identity review queueApprove or dismiss newly discovered identities before they join your graph.

Memory-conditioned image generationGenerate images grounded in a person’s stored face, with quality, size, and reusable-seed controls.

Generated-image galleryEvery generated image is saved and shown in the person’s media panel.

Cloned-voice playbackHear a remembered person speak any text in their enrolled voice.

Photo identifyUpload a photo to find matching people already in your memory.

Signal-aware forgetForgetting a person also tombstones their name-matched behavioral signals.

Manual & reviewed mergeMerge duplicate entities manually or from the merge-candidate review queue.

Device filesBrowse and search files indexed from your connected devices.

What is the MCP Memory Layer?

The MCP Memory Layer lets you use the personal memory you've built with Cognitia from any external MCP-compatible client — including Cursor, Claude Desktop, Claude Code, Windsurf, and more. Your knowledge graph, conversation history, emails, files, financial data, social media, and multimodal identity data are all accessible through a single unified endpoint.

Instead of your memory being locked inside Cognitia, external AI agents can query it as context. For example, a coding agent in Cursor could retrieve your project-related knowledge, or Claude Desktop could recall your preferences and recent conversations.

Memory layers available:

Knowledge Graph

Entities & relationships

Temporal facts & timeline

Time travel (as-of / since)

Behavioral profile

Store new knowledge

Data Sources

Email search

Financial data

Social media

Cloud files

Multimodal (Premium)

Face recognition

Voice identification

Visual object matching

Quick Start

Connecting takes one step — add the Cognitia MCP endpoint URL to your client. OAuth handles everything else automatically.

Cursor / Claude Desktop / Claude Code

Add this to your MCP client configuration file:

{ "mcpServers": { "cognitia-memory": { "url": "https://www.cognitia-ai.com/api/mcp" } } }

1

Add the configuration above to your MCP client settings.

2

On first connection, your client opens a browser window. Log into Cognitia if prompted.

3

On the consent screen, select which memory sub-tools to grant access to, then click Allow Access.

4

Done. The external client now has access to the tools you selected. Token refresh is automatic.

Authentication

Cognitia's MCP server supports OAuth 2.1 with PKCE, the same industry-standard protocol used by Notion, Linear, and other MCP services. Clients that support OAuth (Cursor, Claude Desktop, Claude Code) handle the entire flow automatically.

Recommended

OAuth 2.1 (automatic)

No tokens or API keys to manage. The client handles login, consent, token exchange, and automatic refresh. You just add the URL and approve the connection once.

Long-lived

Personal API key

For automation, scripts, or clients where you want a credential that does not expire every hour. Keys start with cog_usr_ and are sent the same way: Authorization: Bearer YOUR_KEY.

Create and revoke keys under MCP & backups → Personal API key. You can have up to five active keys; store them like any secret and revoke them if they leak.

Available Tools

External OAuth clients and personal API keys may call exactly three memory tools. Specialty tools (identity search, memory_as_of / memory_diff, share cards) stay on the first-party app session.

unified_memory_agent

Read-only Q&A. Send a natural-language query; the server runs a fused retrieve (knowledge graph, live official APIs, Pinecone) and returns one synthesized answer. It cannot store or delete. Pass include_sources: true to attach mechanical source cards after synthesis (snippet + metadata; an open URL only when a provider permalink or signed file exists). Use as_of / since for knowledge-graph time travel.

Example queries: "What do I know about Project Atlas?", "Find my recent emails about the budget meeting", "What are my current goals?"

unified_memory_agent_config

Policy for this connected app. Use action: "list" to see origin grants (off / kg / raw) and graph/multimodal capability flags. Use action: "update" with origin_grants and optional enabled_tools. kg is synthesized graph only; raw adds vectors and live APIs. Default is raw for every origin. search_by_identity is on by default and still requires Premium at query time. search_local_files is optional and off by default.

unified_memory_store

Fire-and-forget write. Queue text for Cognitia to remember (origin mcp). Returns queued and source_id after the raw row is written; embedding and graph extraction continue in the background. Keep source_id if the host will later retract this write. This tool cannot delete. Business marketplace clients cannot write.

First-party only

Identify-a-photo, person media galleries, cloned-voice playback, memory_as_of / memory_diff, and shareable memory cards remain available in the Cognitia app and first-party sessions. They are not on the external MCP allowlist.

Tool Permissions & Consent

When a new client connects via OAuth, you choose how much of each origin that app may see. Each client has its own grants. Change them later from MCP & backups or by calling unified_memory_agent_config.

Every origin has a fidelity: off (hidden), kg (synthesized graph only), or raw (graph plus vectors and live APIs). Default is raw. Writes from connected apps land on the mcp origin.

Origins (12)

email, finance, storage, social, chat, chat_backup, app_sync, companion, calendar, ingested, import, mcp

Fidelity

off — hide this origin. kg — graph facts only. raw — graph + Pinecone + live mailbox/Plaid.

Optional capability

search_by_identity — cross-modal matching (on by default; Premium at query time). search_local_files — local device file index (off by default).

The host never picks sub-tools. Routing (named people, time windows, email/file/DM hits) happens inside unified_memory_agent and is filtered by those origin grants.

Managing Connected Apps

Go to MCP & backups to see all external apps that have been granted access to your memory layer. Each connected app shows:

App name and connection date

Number of active sessions

Last used date

Click Revoke to immediately disconnect an app and invalidate all its tokens. The app will need to re-authorize through the OAuth flow to regain access.

Credit Billing

External MCP tool calls that run LLM agents (like unified_memory_agent) are billed based on actual token usage. The same per-model pricing as chat applies, with no free input token allowance. Tools that don't run LLMs (unified_memory_agent_config, unified_memory_store) are free.

Internal calls from the Cognitia web and mobile apps are not double-billed — credit deduction only applies when the request comes from an external OAuth client.

A rate limit of 60 requests per minute is applied per user across all MCP endpoints to prevent abuse.

Technical Architecture

When an external client calls unified_memory_agent, the request flows through several layers:

1

Authentication — The MCP endpoint validates an OAuth access token (cog_at_…) or personal API key (cog_usr_…), extracting the user ID and client ID. Session JWTs are not accepted; they are for first-party apps (iOS) only.

2

Rate Limit Check — A sliding-window counter ensures the user hasn't exceeded 60 requests/minute.

3

Caller Scoping & Config Lookup — The server enforces a caller-scope allowlist at the MCP boundary: external OAuth clients only see and can call unified_memory_agent, unified_memory_agent_config, and unified_memory_store. tools/list is filtered to match. It then loads per-client origin grants and the user's subscription tier.

4

Agent Execution — For Q&A, an internal retrieve loop runs a fused plan (graph, live APIs, Pinecone) filtered by origin grants. The host never sees those internal tools. Follow-up steps run only when a gap remains.

5

Tool Execution — Graph reads hit Supabase; vector search fans out to Pinecone for origins granted at raw fidelity; live mailbox/Plaid run when those origins are raw. Store writes a raw mcp/note row and finishes embed + extract in the background.

6

Billing — Total input and output tokens from all LLM calls are accumulated. Credits are calculated and deducted (external OAuth clients only).

The Q&A response includes a synthesized context summary, structured entities/facts/signals, and optional source_cards when requested. Token usage metadata is stripped before the response reaches the client.

API Endpoints

All endpoints are served from the base URL https://www.cognitia-ai.com/api/mcp. The server supports both the JSON-RPC 2.0 protocol and direct REST-style routes.

MCP Protocol (JSON-RPC 2.0)

POST

/api/mcp/jsonrpc

JSON-RPC endpoint (all MCP methods)

POST

/api/mcp/tools/list

List available tools

POST

/api/mcp/tools/call

Execute a tool

POST

/api/mcp/resources/list

List available resources

POST

/api/mcp/resources/read

Read a specific resource

POST

/api/mcp/prompts/list

List available prompts

POST

/api/mcp/prompts/get

Get a prompt with arguments

OAuth 2.1 Endpoints

GET

/.well-known/oauth-authorization-server

Server metadata (RFC 8414)

POST

/api/mcp/oauth/register

Dynamic client registration

GET

/api/mcp/oauth/authorize

Authorization (redirects to consent)

POST

/api/mcp/oauth/token

Token exchange and refresh

GET

/api/mcp/oauth/connected-apps

List connected apps

DELETE

/api/mcp/oauth/connected-apps

Revoke app access

OAuth 2.1 Flow Detail

The authorization flow follows the OAuth 2.1 Authorization Code grant with PKCE (S256). Most MCP clients handle this automatically — the details below are for client developers and advanced users.

1

Discovery — The client fetches /.well-known/oauth-authorization-server to discover endpoints and supported capabilities.

2

Client Registration — The client registers itself via POST /api/mcp/oauth/register with its name and redirect URIs. Returns a client_id.

3

Authorization — The client generates a PKCE code_verifier/code_challenge pair and redirects the user to the authorization endpoint with response_type=code, code_challenge_method=S256, and the code_challenge.

4

Consent — The user logs into Cognitia (if not already), sees the tool permission screen, selects which tools to grant, and clicks Allow Access.

5

Code Exchange — The server redirects back to the client with an authorization code. The client exchanges it at POST /api/mcp/oauth/token with the code_verifier.

6

Token Response — Returns an access token (1 hour TTL) and refresh token (90 day TTL). The client uses the access token in the Authorization: Bearer header for all MCP requests.

7

Refresh — When the access token expires, the client exchanges the refresh token at the token endpoint for a new access/refresh token pair. Refresh tokens are rotated on each use.

Token Formats

cog_at_...

OAuth access token — 64-character hex, 1-hour TTL, stored as SHA-256 hash

cog_rt_...

OAuth refresh token — 64-character hex, 90-day TTL, rotated on each use

cog_usr_...

Personal API key — long-lived, revocable, for scripts or clients without OAuth

Input & Output Schemas

unified_memory_agent — Input

{ "query": "string (required) — natural language query", "context_hint": "string (optional) — e.g. 'relationships', 'timeline', 'emails', 'files', 'financial', 'identity'", "as_of": "string (optional) — ISO 8601 instant; view the knowledge graph as it existed at this point in time", "since": "string (optional) — ISO 8601 instant; restrict to what is new or changed at/after this time. Combine with as_of to ask 'what changed between X and Y'", "include_sources": "boolean (optional) — attach source_cards after the synthesized answer" }

unified_memory_agent — Output

{ "success": true, "context": "Synthesized text summary of findings...", "entities": [ { "name": "...", "type": "person|org|place|...", "mentionCount": 5, "lastSeen": "2026-02-19T..." } ], "temporalFacts": [ { "type": "state|event|preference", "subject": "...", "predicate": "...", "object": "...", "validAt": "...", "confidence": 0.95 } ], "profileSignals": [ { "category": "preference|habit|style|...", "key": "...", "value": "...", "confidence": 0.8 } ], "source_cards": [ { "id": "google_drive:drive-1", "origin": "storage", "source_label": "Google Drive", "source_type": "google_drive", "title": "Lease.pdf", "snippet": "Page 2 names Ada as tenant.", "occurred_at": "2025-10-05T18:00:00.000Z", "participants": [], "open": { "kind": "provider_url", "url": "https://...", "label": "Open original" } } ], "reasoning": "Initial source_grounded via L2 (420ms); ...", "stepsTaken": 3 }

unified_memory_agent_config — Input (list)

{ "action": "list" }

unified_memory_agent_config — Output (list)

{ "originGrants": { "email": "raw", "finance": "kg", "mcp": "raw" }, "tools": [ { "name": "lookup_entities", "label": "Entity Lookup (graph + facts)", "layer": "knowledge_graph", "enabled": true, "requiresPremium": false, "available": true } ], "isPremium": false, "updatedAt": "2026-02-19T..." }

unified_memory_agent_config — Input (update)

{ "action": "update", "origin_grants": { "email": "kg", "app_sync": "off", "mcp": "raw" }, "enabled_tools": [ "lookup_entities", "search_temporal", "get_user_profile" ] }

unified_memory_agent_config — Output (update)

{ "success": true, "enabledTools": ["lookup_entities", "search_temporal", "get_user_profile"], "originGrants": { "email": "kg", "app_sync": "off", "mcp": "raw" }, "updatedAt": "2026-02-19T..." }

unified_memory_store — Input

{ "text": "string (required) — text to remember", "title": "string (optional)", "occurred_at": "string (optional) — ISO 8601", "participants": ["string"], "external_id": "string (optional) — host idempotency key" }

unified_memory_store — Output

{ "queued": true, "source_id": "uuid-of-ingested-artifact" }

Error Responses

All MCP endpoints return standard HTTP status codes. The 401 response includes a WWW-Authenticate header pointing to the authorization server metadata, allowing clients to auto-discover the OAuth flow.

200

Success — tool result in response body

400

Bad request — missing or invalid parameters

401

Unauthorized — invalid/expired token. Includes WWW-Authenticate: Bearer resource_metadata="..." header

403

Forbidden — user ID mismatch

405

Method not allowed — wrong HTTP method

429

Rate limited — includes Retry-After: 60 header. Wait and retry.

500

Internal server error

Rate Limits & Billing Detail

Rate Limits

Requests per minute

60 per user (sliding window)

Auth code TTL

5 minutes (single use)

Access token TTL

1 hour

Refresh token TTL

90 days (rotated on each use)

Agent max steps

6 LLM calls per query

CORS

All origins allowed (Access-Control-Allow-Origin: *)


Using AI Agents

Multi-Agent Orchestration

When you send a message, Cognitia's orchestrator analyzes your request and determines which tools and agents are needed. For complex requests, it breaks the task into parallel operations:

Automatic tool selection: Cognitia picks the right tools based on your connected integrations and the nature of your request.

Parallel execution: Independent tasks run simultaneously. For example, searching emails while checking your calendar happens at the same time.

Context awareness: The orchestrator uses your conversation history, user directives, and persistent memory to provide personalized responses.

Browser Automation

Cognitia can browse the web on your behalf using a server-side browser agent. This agent can navigate pages, click buttons, fill forms, extract data, and complete multi-step flows like making reservations or signing up for services.

Available browser actions:

Navigate to URLs

Click elements

Fill forms

Extract page data

Take screenshots

Multi-step flows

Workflow Agents

For complex multi-step tasks, Cognitia can create persistent workflow agents that track progress across steps, maintain state, and report back when complete. These agents use a built-in todo and memory system to break down large tasks into manageable steps and execute them sequentially or in parallel.

Document Generation

Generate professional documents directly from your conversations. Cognitia can create files in multiple formats and optionally upload them to your connected cloud storage.

XLSX (Excel)DOCX (Word)PPTX (PowerPoint)PDFCSV

Understanding Credits

Cognitia uses a credit-based system to manage usage. Each message, tool call, and AI model interaction consumes credits based on the complexity and model used. Your subscription tier determines your monthly credit allocation.

Different models, different costs: More powerful models (like GPT-5.4 or Claude Opus 4.6) use more credits per message than lighter models.

Tool calls count: When Cognitia uses tools (email search, browser automation, etc.), each tool invocation adds to the credit cost of that message.

Track your usage: Monitor your credit balance in your Account settings.

View Detailed Credit Calculation

Monetize Your Memory

New

Your memory graph is an asset you own — and you can optionally earn from it. When you enroll, vetted businesses can query consented data: research / HF buyers see Aggregate cohorts; brands that already have you as a customer may request Individual enrichment. Name, email, phone, and address are never shared. Nothing is listed until you opt in, and you can revoke at any time.

Enroll your data

Open Data Platform → Marketplace and create a listing. You decide:

Which share modes to list — Synthesized (knowledge graph) or Raw (vectors and originals), as Aggregate groups or Individual anonymous people.

Research vs enrichment — Aggregate is for research / HF cohorts. Individual is enrichment for a brand that already has you as a customer.

Every Individual request — you approve or deny. Identity fields (name, email, phone, address) cannot be requested.

Consent & control

Aggregate queries only ever see anonymized cohorts across many enrolled users — never your identity. Individual enrichment additionally requires you to approve an explicit, per-business consent request. Identity fields are never in the payload. You can revoke any consent or unlist entirely at any time; revocation takes effect immediately and stops all future access.

Earnings & payouts

You earn 70% of the data-access fee on every paid query against your data; the platform retains 30%.

Earnings accrue to your provider balance in real time and are visible in the Marketplace dashboard.

Payouts are sent via Stripe Connect once your available balance reaches the $50 minimum.


Marketplace API

New

For businesses

The Marketplace API lets vetted businesses source consented personal-memory data — either research / HF Aggregate cohorts, or Individual enrichment for a person they already have as a customer. Every query is metered, logged, and pays the contributing users automatically. Name, email, phone, and address are never returned.

After access is approved, register with the activation code we send, complete verification, and generate a business API key (prefixed cog_biz_). Authenticate every request with Authorization: Bearer cog_biz_.... The marketplace tools are also available to MCP agents via marketplace_discover_providers, marketplace_aggregate_query, and marketplace_request_consent.

What data can be sourced

Buyers query one of three memory layers, scoped to users who have enrolled (research / HF Aggregate) or granted consent (merchant enrichment):

knowledge_graph

Entities, types, and relationships (anonymized: pseudonyms, type distributions, confidence bands).

behavioral_signals

Preferences, habits, interests, goals, and styles with evidence counts and freshness.

temporal_facts

Time-bounded facts (subject/predicate/object) with observation month and confidence bands.

Research / HF results are always anonymized aggregates — no identity fields. Individual enrichment returns anonymous attributes for a person the merchant already has; name, email, phone, and address are never returned.

Access tiers

Discovery

Research / HF aggregates

Use this to gauge available volume before running paid Aggregate research queries.

Research / HF

Anonymized aggregates

Anonymized aggregate data across enrolled users. No per-user consent request needed (uses listing enrollment). Commercial terms are provided after you contact us.

Enrichment

Consent-gated Individual (existing customer)

Anonymous attributes for a person you already have in your own systems. Gated by explicit consent. Identity fields are never returned. Commercial terms are provided after you contact us.

Approved businesses query against a prepaid balance. Every transaction is recorded and contributing users are paid automatically.

Contact us about access

Use cases

Market research / HF — measure interest, preference, and behavioral trends across a real consented audience without touching any individual identity.

Merchant enrichment — add consented anonymous memory attributes to a customer you already have (logged-in, loyalty, checkout). Not a way to find people you do not already know.

Audience sizing — use free aggregate stats to estimate how many enrolled users match a profile before committing spend.

Research datasets — assemble anonymized, time-aware behavioral data with provenance and confidence for studies.

Endpoints

All routes require Authorization: Bearer cog_biz_... and are subject to per-business rate limits.

GET

/api/marketplace/aggregate-query

Fast aggregate stats (free)

POST

/api/marketplace/aggregate-query

Research / HF (mode: fast | premium)

POST

/api/marketplace/personalized-query

Enrichment (consent required; no identity fields)

GET

/api/marketplace/discover

Discover providers & listings

GET

/api/marketplace/transactions

Query & billing history

Enrichment query — Request

POST /api/marketplace/personalized-query Authorization: Bearer cog_biz_... { "target_user_id": "string (required)", "query": "string (required) — natural language", "data_layer": "knowledge_graph | behavioral_signals | temporal_facts (optional, default knowledge_graph)", "context_hint": "string (optional)" }

Enrichment query — Response

{ "success": true, "tier": "personalized", "dataLayer": "knowledge_graph", "data": { "entities": [ ... ], "facts": [ ... ], "signals": [ ... ] }, "reasoning": "Queried 2 sources in 3 steps", "transactionId": "..." }

Research / HF query — Request

POST /api/marketplace/aggregate-query Authorization: Bearer cog_biz_... { "mode": "premium", "data_layer": "behavioral_signals", "max_providers": 100 }

Cognitia AICognitia AI

The cross-ecosystem memory layer you own.

Product

Memory LayerContext AssemblyMCP IntegrationsData PlatformFor BusinessesFor DevelopersCompare

Partners

  • E2B for Startups

  • Consumer-Owned

  • Encrypted at Rest

  • Data Portable

  • Consent-First

© 2026 Cognitia AI. All rights reserved.

Your data belongs to you.