Skip to main content

Graphiti/Kuzu knowledge-graph builder with graph-data and agent drift detection.

Project description

Aether Observer

Local Python CLI for building a temporal knowledge graph with Graphiti/Kuzu and scoring drift while the graph is built.

The package has two layers:

  • deterministic drift scoring over JSONL episodes
  • optional live ingestion into getzep/graphiti using the Kuzu backend

Install

python -m pip install aether-observer

For live Graphiti/Kuzu ingestion:

python -m pip install "aether-observer[graphiti]"

Graphiti may require LLM and embedding provider environment variables, depending on your provider configuration.

For local development from this repository:

python -m pip install -e ".[graphiti,dev]"

Input Format

Each JSONL record is an episode:

{"id":"e1","timestamp":"2026-05-15T00:00:00Z","content":"Alice joined Acme.","content_type":"text","source":"seed","agent_id":"agent-a","task_id":"build-kg","entity_types":["Person","Org"],"relation_types":["JOINS"],"tool_calls":["extract"],"expected_intent":"add employment fact","outcome":"success"}

Important optional fields:

  • entity_types, relation_types, graph_nodes, graph_edges, embedding, contradictions, invalidations
  • tool_calls, handoff, coordination_failure, boundary_violation, human_intervention
  • expected_intent, observed_intent, reasoning_trace, outcome

CLI

kg-drift init --db .kg-drift/graphiti.kuzu
kg-drift ingest --input fixtures/sample_episodes.jsonl --db .kg-drift/graphiti.kuzu
kg-drift score --input fixtures/sample_episodes.jsonl --window-size 4 --out report.json
kg-drift export --input fixtures/sample_episodes.jsonl --format json

score emits rolling-window metric scores and a composite Agent Stability Index style score. Drift is flagged when the composite asi_score remains below the threshold for the configured number of consecutive windows.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aether_observer-0.1.3.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aether_observer-0.1.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file aether_observer-0.1.3.tar.gz.

File metadata

  • Download URL: aether_observer-0.1.3.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aether_observer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3ecb7978c16e4ad7515d9c40a521cc0a374c4504ae44455f1a8bb694d90c209a
MD5 4b36bf72546e3364466462d25526c182
BLAKE2b-256 63afb8dae1bf737ff137fc75f0f8227a52fb4819d1edf24ef0b57788dcea21a0

See more details on using hashes here.

File details

Details for the file aether_observer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: aether_observer-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aether_observer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 603f4a1383b0f37328d5da65e1deea83e35b9bc76e77736090aef8bc334cc952
MD5 272229fa34773568944e81c0464184f1
BLAKE2b-256 cd45f2063fc9986bfc79625af18e751b40d310f78eb277ef55e284c72e12b61b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page