This release is a pre-release and may not be stable for production use.
Open-source, AI-powered threat intelligence tool (beta)
pip install zarqa==0.1.0b0 Copy PIP instructions
An open-source, AI-powered threat intelligence tool. Zarqa collects intel from the internet and from the threat intel platforms you already use, turns it into structured, sourced intel, ranks it by how much it matters to your organization, and answers questions about it with cited evidence.
It is not a replacement for anything. It works next to your existing platforms, reads from them, and can send what it finds back to them in standard formats.
Named after Zarqa al-Yamama, who in Arabian legend could see an army coming days before it arrived.
Beta, solo-maintained. Collection, extraction, enrichment, relevance ranking, investigations, brand watch, sharing, reports and the connector layer work and are tested. First benchmark: benchmarks (without a model it is precise but misses most names and techniques; a small local model adds little). See the roadmap.
A benchmark with a stronger model; registrant comparison in the brand watch; separate worker processes.
Offline, with fictional sample data and no model: zarqa demo --run, then ZARQA_HOME=~/.zarqa-demo zarqa serve (demo). Or docker compose --profile demo up demo.
pipx install zarqa # or: pip install zarqa (extras: zarqa[all]) zarqa init # config.yaml, .env (mode 600) and data/ in the home folder zarqa doctor # checks the setup and says what to fix zarqa serve # http://127.0.0.1:8621 zarqa add --url https://... # a report, extracted straight away zarqa sources pull # pull every source in config.yaml now zarqa lookup 203.0.113.66 # everything known about a value, with the sentences zarqa ask "What do we know about 203.0.113.66?" Docker: docker compose up -d (non-root, read-only container, loopback port).
config.example.yaml documents every setting. Secrets go in .env only. Login modes: none (loopback only), basic, local, OIDC and reverse-proxy headers, with viewer, operator and admin roles. The server refuses to listen on a network address without a login.
Both files in this release have provenance metadata.
anthropic gemini openai oidc pdf dns postgres all dev
security threat-intelligence cti osint stix mcp llm
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 Nov 17, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




