llm-kernel 0.9.0

Foundation library for Rust AI-native apps — provider catalog, LLM client, MCP server, search, telemetry, and safety
Documentation
# Optional local services for the live integration tests of the `graph-pg`,
# `qdrant`, and `elastic` feature gates of the `llm-kernel` crate.
#
# NOT used by CI — the live tests self-skip when their env vars are unset, so CI
# without these services stays green. Run this locally (docker OR podman) to
# exercise the full round-trips:
#
#   podman compose up -d          # or: docker compose up -d
#   export LLMKERNEL_PG_URL="postgresql://hackme@localhost:5432/postgres"
#   export LLMKERNEL_QDRANT_URL="http://localhost:6334"
#   export LLMKERNEL_ELASTIC_URL="http://localhost:9200"
#   cargo test --features graph-pg,qdrant,elastic
#
# NOTE: `POSTGRES_HOST_AUTH_METHOD: trust` and the disabled Elasticsearch
# security below are local-dev conveniences only — do not reuse this compose
# file for any non-ephemeral deployment.
services:
  postgres:
    image: docker.io/library/postgres:18
    environment:
      POSTGRES_USER: hackme
      POSTGRES_HOST_AUTH_METHOD: trust
    ports:
      - "127.0.0.1:5432:5432"

  qdrant:
    image: docker.io/qdrant/qdrant:latest
    ports:
      - "127.0.0.1:6333:6333"
      - "127.0.0.1:6334:6334"

  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0
    environment:
      discovery.type: single-node
      xpack.security.enabled: "false"
      ES_JAVA_OPTS: "-Xms512m -Xmx512m"
    ports:
      - "127.0.0.1:9200:9200"