head to head · open source
OpenViking vs pg-aiguide
OpenViking has 41,477 GitHub stars, 3,377 forks, 999 open issues and last shipped yesterday. pg-aiguide has 1,881 stars, 120 forks, 8 open issues and last shipped 2 days ago. OpenViking leads on adoption by 2,105% (41,477 vs 1,881 stars). OpenViking is written in Python under AGPL-3.0; pg-aiguide is written in Python under Apache-2.0. OpenViking has attracted 8% as many forks as stars, pg-aiguide 6%. OpenViking was the more recently maintained of the two, and both are self-hostable with no licence fee.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| OpenViking | pg-aiguide | |
|---|---|---|
| GitHub stars | ★ 41K | ★ 1.9K |
| License | AGPL-3.0 | Apache-2.0 |
| Written in | Python | Python |
| Last push | 2026-11-04 | 2026-11-03 |
| Forks | ⑂ 3.4K | ⑂ 120 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick OpenViking if
- You weight community size — 41K stars and counting
- You want the AGPL-3.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick pg-aiguide if
- You want the pg-aiguide feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and pg-aiguide fits your workflow better
About OpenViking
The Context Database for AI Agents English / 中文 / 日本語 Website · Live Demo · GitHub · Issues · Docs · Blog Lark · WeChat · Discord · X What is OpenViking OpenViking is an open source context database for AI agents — one filesystem for everything an agent knows: knowledge, memory, and skills. Most agent memory is a black box: text goes in, embeddings come out, and nobody can see what was actually stored. OpenViking organizes context as a virtual filesystem under viking:// instead. Agents navigate it like files — ls , tree , read , write , grep — and you can open any directory to inspect and edit what your agent…
read the full OpenViking overview →
About pg-aiguide
pg aiguide AI optimized PostgreSQL expertise for coding assistants pg aiguide helps AI coding tools write dramatically better PostgreSQL code. It provides: Semantic search across the official PostgreSQL manual (version aware) AI optimized “skills” — curated, opinionated Postgres best practices used automatically by AI agents Extension ecosystem docs , starting with TimescaleDB, with more coming soon Use it as: Agent Skills via npx skills — works with Claude Code, Cursor, Codex, Gemini CLI, and 40+ other agents a public MCP server that can be used with any AI coding agent, or a Claude Code plugin optimized for…
read the full pg-aiguide overview →
More in Content & Publishing
Related comparisons
More Documentation & Knowledge Base projects
Compare either of these against the rest of the Documentation & Knowledge Base field.
Frequently asked questions
Is OpenViking or pg-aiguide more popular?
OpenViking has 41,477 GitHub stars and pg-aiguide has 1,881. OpenViking has the larger community by that measure.
Are OpenViking and pg-aiguide free?
Both are open source. OpenViking is licensed under AGPL-3.0 and pg-aiguide under Apache-2.0. Neither carries a licence fee.
What is the difference between OpenViking and pg-aiguide?
OpenViking is written in Python and pg-aiguide in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, OpenViking or pg-aiguide?
Choose OpenViking if you want the larger community (41,477 stars) or its AGPL-3.0 licence terms. Choose pg-aiguide if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.