GitHub
Documentation

CogniKin Documentation

Add knowledge intelligence to your AI agent in one API call.

What is CogniKin?

CogniKin is a lightweight API that gives your AI agents the ability to understand and adapt to individual user knowledge patterns. Instead of building complex personalisation logic yourself, CogniKin learns what works for each user and provides structured context for every interaction.

Why CogniKin?

Building effective AI agents requires understanding not just what users want, but how they want to receive it. Traditional approaches require:

  • Complex prompt engineering for different user types
  • Manual tracking of user preferences and behaviour
  • Custom A/B testing infrastructure
  • Constant iteration on communication styles

CogniKin replaces all of this with two simple API calls:

// 1. Get context before responding
const context = await brain.getContext({
  userId: user.id,
  task: userQuery,
});

// 2. Report the outcome
await brain.reportOutcome({
  requestId: context.requestId,
  started: true,
  completed: true,
});

Key Benefits

80% Less Code

Replace hundreds of lines of personalisation logic with one API call.

34% Better Engagement

CogniKin learns what actually drives each user to complete tasks.

Automatic Learning

No manual tuning required. CogniKin improves with every interaction.

Framework Agnostic

Works with any AI agent framework or custom implementation.

How It Works

CogniKin uses behavioural science and machine learning to build knowledge profiles for each user:

  1. Context Request: Before your agent responds, call getContext() with the user ID and task description.
  2. Structured Guidance: CogniKin returns communication style recommendations, complexity preferences, and framing suggestions.
  3. Adapted Response: Your agent uses this context to personalise its response.
  4. Outcome Reporting: Report whether the user started, completed, or abandoned the task.
  5. Continuous Learning: CogniKin updates the user's profile, improving future recommendations.

Next Steps

Ready to get started? Follow our Quick Start Guide to integrate CogniKin in 5 minutes.