#knowledge-graph #ai-agent #kip #persistent-memory

bin+lib anda_kip

A Rust SDK of KIP (Knowledge Interaction Protocol) for building sustainable AI knowledge memory systems

43 releases

Uses new Rust 2024

0.7.12 Apr 29, 2026
0.7.5 Mar 25, 2026
0.6.0 Dec 31, 2025
0.5.15 Sep 1, 2025
0.5.5 Jul 24, 2025

#1643 in Database interfaces

Download history 36/week @ 2026-01-16 17/week @ 2026-01-23 1/week @ 2026-02-13 4/week @ 2026-02-20 10/week @ 2026-03-06 51/week @ 2026-03-13 51/week @ 2026-03-20 22/week @ 2026-03-27 18/week @ 2026-04-03 56/week @ 2026-04-10 27/week @ 2026-04-17 73/week @ 2026-04-24 163/week @ 2026-05-01

320 downloads per month
Used in 10 crates (5 directly)

MIT license

355KB
7.5K SLoC

anda_kip

anda_kip is the protocol SDK of the AndaDB workspace. It provides the parser, AST, request/response model, error vocabulary, and executor interface for the Knowledge Interaction Protocol (KIP), the model-friendly protocol used by the Cognitive Nexus memory graph.

What This Crate Provides

  • parsing for KQL, KML, and META commands
  • strongly typed AST structures for protocol execution
  • Request and Response envelopes for tool-style integrations
  • standardized KIP error codes
  • an Executor trait for backend implementations
  • bundled genesis capsules and function-calling schemas

When to Use It

Use anda_kip when you need to:

  • parse KIP commands in Rust
  • implement a KIP backend on your own storage system
  • expose a model-friendly request/response protocol to LLM tooling
  • reuse the same command language across embedded and server deployments

Getting Started

Add the crate to your project:

[dependencies]
anda_kip = "0.7"

This crate is protocol-only. If you want the reference persistent backend, pair it with anda_cognitive_nexus.

Technical Reference

Deep technical documentation for this crate lives in:

  • anda_cognitive_nexus for the reference KIP executor
  • anda_db for the embedded storage core used by the reference backend

License

MIT. See LICENSE.

Dependencies

~2–3MB
~60K SLoC