Persistent organisational intelligence for AI agents. Turn codebases, documents, policies and decisions into a knowledge graph so Claude Code, Cursor and Copilot reason over architecture, dependencies and prior lessons — with confidence scores and evidence. 13 LLM backends + custom, fully offline capable.
pip install graqle==0.85.1 Copy PIP instructions
Turn policies, decisions, documents and codebases into a persistent knowledge graph, so your AI agents reason over what your organisation already knows instead of rebuilding a partial picture every session.
pip install graqle Models change. Tools change. Your institutional knowledge should not.
Works with your stack today — 13 LLM backends plus any custom HTTP endpoint (Anthropic, OpenAI, Bedrock, Ollama, Gemini, Groq, DeepSeek, Together, Mistral, OpenRouter, Fireworks, Cohere, llama.cpp), fully offline with Ollama or llama.cpp, and inside Claude Code, Cursor, VS Code + Copilot or Windsurf via 85 MCP tools. Local-first: no telemetry, and your source never leaves your machine.
# 1. Turn organisational documents into a typed graph graq scan docs ./policies # → 3 files → 12 nodes: 3 Document + 9 Section, linked by SECTION_OF # 2. Teach it a rule that lives in nobody's file graq learn knowledge "vendor DPA must be signed before any data access" --domain policy # → auto-links the rule to the vendor-onboarding doc AND its "Due diligence" section # 3. Ask across the whole body of knowledge graq run "what approval is needed for a large refund?" # → answer + confidence + evidence trail + the sections consulted # 4. Audit what the organisation has taught it graq learned Step 2 is the one that compounds — and the one prompt engineering cannot replace, because it needs a persistent typed graph as the substrate. GraQle worked out where that rule belonged on its own.
graq scan repo . # functions, classes, imports, calls graq run "what breaks if I change the payment module?" graq impact payments.py # blast radius Software architecture is the deepest-mapped domain today — a wedge, not the boundary.
Agents are getting far more capable and still start from zero every session. Models are becoming cheaper and interchangeable, which makes the intelligence layer above them — not the model itself — the thing worth owning.
pip install "graqle[docs]" # PDF / DOCX / PPTX / XLSX parsers graq scan docs ./docs # architecture docs, runbooks, specs graq learn doc ./policies/ # policies, ADRs, decision records Documents become Document and Section nodes, linked by SECTION_OF — and to any code that implements them. Markdown, text, RST and AsciiDoc work with the base install; the richer formats need the [docs] extra and are reported — never silently skipped — when it's missing.
Switching backend is one line — the graph is the constant, the model is a swappable input:
# graqle.yaml model: backend: ollama # or: anthropic, openai, bedrock, gemini, groq... model: llama3 graq init # detects your IDE and wires the MCP tools Trusted answers Every result carries confidence, graph_health, active_nodes and evidence pointers. Below the confidence floor, GraQle refuses rather than guesses. With no LLM configured it labels output as a placeholder and attaches no confidence score.
When agents move from reading to writing, graq gate-install routes write/edit/bash operations through governance gates: plans required for risky changes, secret scanning on commits, full audit trail. For deployed systems, GovernedRuntime.attest() records what your AI decided, anchored to the public Sigstore Rekor transparency log — verifiable by any third party.
Optional compliance surfaces for regulated deployments cover the EU AI Act, SOX/COSO, ISO/IEC 42001 and GDPR claim limits; compliance frameworks are authorable as data.
Built by Quantamix Solutions B.V. · Patent pending EP26167849.4 · Local by default · Your code never leaves your machine
all all-gpu api cpu dev docs embeddings gpu lite neo4j phantom scorch security server studio watch
agent-memory ai-assistant ai-coding ai-governance architecture claude-code cli code-analysis code-intelligence code-quality code-understanding codebase-reasoning context-engineering copilot cursor dependency-analysis dev-intelligence development-tools document-intelligence governance governed-autonomy graph-reasoning graqle impact-analysis institutional-memory knowledge-graph mcp mcp-server model-agnostic multi-agent organisational-intelligence organizational-intelligence persistent-memory rag-alternative reasoning refactoring static-analysis vscode
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.




