CoSens · REASON + REMEMBER + IMPROVE

Build your second brainwith one line of code.

Add memory and learning to your existing LLM client. Manage memories, recipes and feedback through dedicated APIs.

SDK interface preview. Package and setup instructions are coming with the SDK release. Connect Memory today ↗

# Your existing client
client = openai()

# Add one line
client = cosens(client)
SDK PREVIEW+ ONE LINE
01 Reason with LLM02 Remember with Memory03 Improve with Learn+ Your experience
01 / RUNTIME FLOW

How it works

Your agent reasons with an LLM, recalls relevant context from Memory, and uses Learn to improve its methods. Follow a task through that process.

You ask.

Start with the question you actually need help with.

Swipe to explore the diagram →

Your experience changes how your agent worksA seven-part animated story: you ask a question; project documents become relevant memory; your agent answers with context; your feedback informs a candidate method; validation precedes reuse on a new task. A scripted design preview. Prompt YOUR QUESTION · YOUR GOALYouCan we launch the piloton Friday? Your experiencePilot plan.pdfLaunch review.mdDocuments · Notes · Apps* CoSens SDKREASON · REMEMBER · IMPROVE YOUR AGENTYour agent · Reason with your LLMChatGPT · Claude · Codex · Claude CodeLet’s work out the next step.Reason with the context and methods that fit this task. MemoryWhat matters to you.Your project decisions and constraints. LearnPREVIEWA better approach, for next time.DEVELOP → VALIDATE → REUSE CoSens · EXPERIENCE LAYERYOUR AGENT + MEMORY + LEARN
01 / 07

SDK / Learn preview · Scripted scenario. Method validation is shown as a process, not a completed live evaluation.

02 / DEVELOPER CONTROL

Add one line.
Take control
with APIs.

Create your LLM client as usual, then wrap it with CoSens. The proposed SDK also includes Memory, Recipe and feedback APIs for managing what your agent remembers and the methods it draws on.

03 / BENCHMARKS

Memory, compared.

Selected benchmark scores for CoSens and the compared memory systems. Higher is better.

4 methods

Reported benchmark scores — higher is better
BenchmarkCoSensMem0A-MemMemGPT
LoCoMoMethod & sources ↗Overall Token-level F1 · 0–1; higher is betterLatest Memory comparison table0.3689450.256981——
LoCoMo-PlusMethod & sources ↗Factual average · 0–100; higher is betterEarlier consolidated report · paper references and company result61.5257.2459.64—
HaluMemMethod & sources ↗Medium QA Correct · 0–1; higher is betterLatest Memory comparison table0.5373690.492279——
LongMemEvalMethod & sources ↗Evidence Recall@10 (%) · 0–100; higher is betterEarlier consolidated report · retrieval evidence, not answer accuracy95.2———

Memory results only; these scores do not evaluate the complete SDK or Learn loop. Open each row for its method, source and available run settings. — means no result is available. Settings may differ between systems.

Experimental results are provided for reference only and do not constitute academic research. Results may be updated at any time as new evaluations become available.

More benchmark... ↗

Your agent.
Your experience.

Add the experience layer to your product.

Explore the docs ↗