$npx skillfedfor your agent

pycti

Python API client for OpenCTI.

Worth itPyPI Python ModulesReleased Aug 20261.9M downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pycti-7.260811.0-py3-none-any.whl
v7.260811.0 · released 2026-08-11 · Python >=3.7 · 18 runtime deps: boto3, datefinder, pika, pydantic, python_json_logger, PyYAML, requests, setuptools

Yes. The package is actively maintained, permissively licensed, has no known vulnerabilities, and is widely used (top 5000 PyPI). Install it if you need to integrate with OpenCTI; the main consideration is ensuring your OpenCTI instance is accessible and that the 18 runtime dependencies align with your environment's constraints.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • An accessible OpenCTI API instance (URL and valid authentication token) is required; the client cannot function without a running OpenCTI server to connect to.
  • Low friction installation with a pure-Python wheel distribution.
  • The package is actively maintained with a recent release and 9810 repository stars, indicating stable community adoption.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions—suitable for most deployment scenarios.

last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 9,810 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,917,186 downloads/mo, #3,433 on PyPI

Verify before relying

pip install pycti

from pycti import OpenCTIApiClient

client = OpenCTIApiClient(
    url="http://opencti-instance:4000",
    token="your-api-token"
)

# Query indicators
indicators = client.indicator.list()
  • Whether the package's 18 runtime dependencies (including boto3, fastapi, stix2) are all required for basic usage or if some are optional for specific features.
  • Whether OpenCTI API server availability is a hard requirement or if the client can operate in offline/mock modes for testing.
Same gist for agents: .md · .json

What it is and what it does

Pycti is the official Python client for OpenCTI, a threat intelligence platform developed by Filigran. It abstracts the OpenCTI REST API into Python methods and utilities, allowing developers to query, create, and manage threat intelligence objects (indicators, malware, campaigns, etc.) programmatically. The client is used both by external integrations and by OpenCTI's own internal components.

The package brings together a substantial dependency graph—including boto3 for cloud storage, pika for message queuing, fastapi and uvicorn for async web operations, stix2 for standards-based threat data, and observability tools like prometheus-client and opentelemetry—suggesting it is designed for production environments where threat data flows through multiple systems. It requires Python 3.7 or later and is actively maintained, with its last release 3 days old.

Use it for

  • Automate threat intelligence ingestion by querying OpenCTI for indicators, malware profiles, or campaigns and feeding them into your security tools.
  • Build custom connectors or enrichment workflows that read from OpenCTI and write results back, leveraging the client's standardized API methods.
  • Integrate OpenCTI threat data into SOAR platforms or incident response systems via programmatic API calls rather than manual exports.
  • Develop monitoring dashboards or reporting scripts that pull live threat statistics and entity relationships from an OpenCTI instance.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, permissively licensed, has no known vulnerabilities, and is widely used (top 5000 PyPI). Install it if you need to integrate with OpenCTI; the main consideration is ensuring your OpenCTI instance is accessible and that the 18 runtime dependencies align with your environment's constraints.

Install

pycti on PyPI

Before you install

Low friction installation with a pure-Python wheel distribution. The package is actively maintained with a recent release and 9810 repository stars, indicating stable community adoption.

An accessible OpenCTI API instance (URL and valid authentication token) is required; the client cannot function without a running OpenCTI server to connect to.

License in practice

Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions—suitable for most deployment scenarios.

Quickstart

pip install pycti

from pycti import OpenCTIApiClient

client = OpenCTIApiClient(
    url="http://opencti-instance:4000",
    token="your-api-token"
)

# Query indicators
indicators = client.indicator.list()

Verify before relying

  • Whether the package's 18 runtime dependencies (including boto3, fastapi, stix2) are all required for basic usage or if some are optional for specific features.
  • Whether OpenCTI API server availability is a hard requirement or if the client can operate in offline/mock modes for testing.

Package facts

LicenseApache permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
18 packages
boto3datefinderpikapydanticpython_json_loggerPyYAMLrequestssetuptoolscachetoolsprometheus-clientopentelemetry-apiopentelemetry-sdkdeprecationfastapiuvicornpyjwtfiligran-sseclientstix2
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads1,917,186 / month, #3,433 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishNatural Language :: FrenchOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: SecurityTopic :: Software Development :: Libraries :: Python Modules

Evidence: pycti-7.260811.0-py3-none-any.whl

Tags

Capabilities
opencti python clientthreat intelligence api clientcti platform integrationopencti api wrapperpython threat data accessopencti connector librarysecurity intelligence sdk
Topics
threat-intelligenceapi-clientopencti

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opencti python client”

  • pyctiProvides a Python client library for the OpenCTI API, enabling…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…
  • openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also taxii2-client · stix2 · OTXv2 · vt-py · kubernetes · stix · mixbox · docker-py · boschshcpy · alibabacloud-sas20181203