{"id":47717917,"url":"https://github.com/kobie3717/ai-iq","last_synced_at":"2026-04-02T19:07:05.252Z","repository":{"id":346618403,"uuid":"1177555886","full_name":"kobie3717/ai-iq","owner":"kobie3717","description":"AI-IQ: Persistent context system for AI coding assistants. AI doesn't need knowledge — it needs relevant context. Hybrid search (FTS+semantic), graph intelligence, zero config.","archived":false,"fork":false,"pushed_at":"2026-03-26T21:45:58.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T04:27:02.495Z","etag":null,"topics":["ai","ai-agents","ai-tools","claude-code","cursor","developer-tools","fts5","knowledge-graph","llm","memory","sqlite"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kobie3717.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-10T06:16:53.000Z","updated_at":"2026-03-26T21:46:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kobie3717/ai-iq","commit_stats":null,"previous_names":["kobie3717/ai-memory-sqlite","kobie3717/ai-iq"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kobie3717/ai-iq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kobie3717%2Fai-iq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kobie3717%2Fai-iq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kobie3717%2Fai-iq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kobie3717%2Fai-iq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kobie3717","download_url":"https://codeload.github.com/kobie3717/ai-iq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kobie3717%2Fai-iq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","ai-tools","claude-code","cursor","developer-tools","fts5","knowledge-graph","llm","memory","sqlite"],"created_at":"2026-04-02T19:07:03.900Z","updated_at":"2026-04-02T19:07:05.240Z","avatar_url":"https://github.com/kobie3717.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-IQ\n\nGive your AI long-term memory in 1 command.\n\nLLMs forget everything. AI-IQ makes them remember.\n\n## Install\n\n```bash\npip install ai-iq\n```\n\n## Quick Start\n\n```python\nfrom ai_iq import Memory\n\nmemory = Memory()\n\n# Add memories\nmemory.add(\"User prefers dark mode\", tags=[\"preference\", \"ui\"])\nmemory.add(\"Redis bug fixed with network_mode: host\", category=\"learning\")\n\n# Search (hybrid keyword + semantic)\nresults = memory.search(\"redis networking\")\nfor r in results:\n    print(f\"#{r['id']}: {r['content']}\")\n\n# Update and delete\nmemory.update(1, \"User STRONGLY prefers dark mode\")\nmemory.delete(1)\n```\n\n## CLI\n\n```bash\nmemory-tool add learning \"Docker needs network_mode: host\" --project MyApp\nmemory-tool search \"docker networking\"\nmemory-tool dream  # Consolidate duplicates, detect conflicts\n```\n\n## Claude Code Plugin\n\nUse AI-IQ directly in Claude Code with auto-capture:\n\n```bash\n/plugin marketplace add kobie3717/ai-iq\n/plugin install ai-iq\n```\n\nSee [CLAUDE_CODE_PLUGIN.md](CLAUDE_CODE_PLUGIN.md) for details.\n\n## Why AI-IQ?\n\n- **Single SQLite file = your AI's brain** — No servers, no vector DB, no setup\n- **No cloud dependencies** — Works offline, owns your data, zero API keys\n- **Works with any Python agent** — Not locked to Claude, OpenAI, or any vendor\n- **Hybrid search** — Keyword (FTS5) + semantic (vector) + graph traversal\n- **Memories decay naturally** — FSRS-6 algorithm like human memory\n\n## Advanced Features\n\nSee [docs/REFERENCE.md](docs/REFERENCE.md) for complete documentation:\n\n- **Beliefs \u0026 Predictions** — Confidence tracking with Bayesian updates\n- **Knowledge Graph** — Entities, relationships, spreading activation\n- **Dream Mode** — REM-like consolidation (dedup, conflict detection)\n- **Identity Layer** — Auto-discovers behavioral traits\n- **Narrative Memory** — Builds cause-effect stories from causal graph\n- **Meta-Learning** — Search improves from feedback loops\n\n## Example\n\nSee [examples/chatbot_with_memory.py](examples/chatbot_with_memory.py)\n\n## Documentation\n\n[Complete Reference](docs/REFERENCE.md) • [Examples](examples/) • [Architecture](ARCHITECTURE.md)\n\n## Requirements\n\nPython 3.8+ and SQLite 3.37+. Optional: `pip install ai-iq[full]` for semantic search.\n\n## License\n\nMIT\n\n## Links\n\n- **GitHub**: [github.com/kobie3717/ai-iq](https://github.com/kobie3717/ai-iq)\n- **PyPI**: [pypi.org/project/ai-iq](https://pypi.org/project/ai-iq/)\n- **Discord**: [discord.gg/Y2jCXNGgE](https://discord.gg/Y2jCXNGgE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkobie3717%2Fai-iq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkobie3717%2Fai-iq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkobie3717%2Fai-iq/lists"}