cortexdb: AI Knowledge Graph
From the repo · “A pure-Go, single-file AI memory and knowledge graph library and plugin.”
Cortexdb is a lightweight, single-file Go library that enables creating and managing AI memory and knowledge graphs for building intelligent applications.
- •When building a chatbot or virtual assistant that requires a knowledge base
- •When creating a recommender system that relies on graph-based relationships
- •When developing an AI-powered application that needs to store and query complex data relationships
Create a knowledge graph with entities and relations: `db.InsertEntity(cortexdb.Entity{ID: "1", Type: "Person", Properties: map[string]string{"name": "John"}})`Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/cortexdb && curl -fsSL https://workflowstacks.com/api/skills/cortexdb/claude-skill -o ~/.claude/skills/cortexdb/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Cortexdb: AI Knowledge Graph is a very large Go project (~270k lines across 1136 code files, plus 15 test files). You install it into your AI tool with one command; there is nothing to run yourself. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2SKILL.mdThe instructions the AI actually follows
- 3cmd/cortexdb-grpc/main.goWhere the program starts running
- 4pkg/agentmem/agentmem_test.goInside pkg/ — the main logic begins here
- 5examples/01_core/main.goA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/cortexdb && curl -fsSL https://workflowstacks.com/api/skills/cortexdb/claude-skill -o ~/.claude/skills/cortexdb/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/cortexdb?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More ai-agent tools founders pair with this one.