OSINT intelligence platform integration for LlamaIndex — 15-category intelligence reports, domain recon, and social media lookup
Project description
OSINT Tool for LlamaIndex
This tool connects to the Agentix OSINT intelligence platform — a production OSINT system with 129+ RSS feeds across 15 categories, LLM-enriched briefings, domain recon, and social media lookup.
You will need an API key. Get one free at: https://osint.ahsan-tariq-ai.xyz
Installation
pip install llama-index-tools-osint
Usage
Basic Setup
from llama_index.tools.osint import OSINTToolSpec
from llama_index.agent.openai import OpenAIAgent
from llama_index.llms.openai import OpenAI
osint = OSINTToolSpec(api_key="osint_your_key_here")
tools = osint.to_tool_list()
agent = OpenAIAgent.from_tools(
tools=tools,
llm=OpenAI(model="gpt-4o"),
)
# Ask about current events
response = agent.chat("What's happening in cybersecurity today?")
print(response)
Tool Methods
get_enriched_reports(category=None)
Get intelligence briefings from 129+ sources across 15 categories. Each report contains LLM-analyzed articles with confidence scores.
Categories: cybersecurity, geopolitics, finance, tech_ai, healthcare, legal, marketing, supply_chain, climate, realestate, education, energy, agriculture, entertainment, labor.
# All categories
reports = osint.get_enriched_reports()
# Single category
cyber = osint.get_enriched_reports(category="cybersecurity")
get_categories()
List all available categories with confidence scores and article counts.
categories = osint.get_categories()
domain_recon(domain)
Perform domain reconnaissance: DNS records, WHOIS, and IP intelligence.
recon = osint.domain_recon("example.com")
social_lookup(username)
Look up profiles across 10 platforms (GitHub, Twitter, Instagram, Reddit, YouTube, Medium, GitLab, Keybase, SoundCloud, Twitch).
profiles = osint.social_lookup("zuck")
Direct Tool Usage
from llama_index.core.tools.tool_spec.base import BaseToolSpec
osint = OSINTToolSpec(api_key="osint_key")
# Use individual methods
from llama_index.core.llms import ChatMessage
agent = OpenAIAgent.from_tools(
tools=osint.to_tool_list(),
llm=OpenAI(model="gpt-4o"),
verbose=True,
)
Custom Base URL
osint = OSINTToolSpec(
api_key="osint_key",
base_url="https://osint.ahsan-tariq-ai.xyz", # default
)
Free Tier
- 50 requests/day — reports, categories, recon, social
- 5 requests/min rate limit
- No credit card required — sign up with just an email
Paid Tiers
| Tier | Price | Daily Limit | Rate | Endpoints |
|---|---|---|---|---|
| Free | $0 | 50 | 5/min | reports, recon, social |
| Pro | 10 USDC | 1,000 | 30/min | + personal, astrology |
| Enterprise | 50 USDC | 10,000 | 120/min | all endpoints |
Architecture
┌─────────────────────────────────────────────────────┐
│ OSINT API (osint.ahsan-tariq-ai.xyz) │
│ │
│ 129 RSS feeds → 15 categories → LLM analysis │
│ Domain recon (DNS/WHOIS/IP) │
│ Social lookup (10 platforms) │
│ │
│ ┌─────────────────────────────────────────────┐ │
│ │ LlamaIndex Tool Spec │ │
│ │ • get_enriched_reports() │ │
│ │ • get_categories() │ │
│ │ • domain_recon() │ │
│ │ • social_lookup() │ │
│ └─────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────┘
API Reference
| Endpoint | Method | Description |
|---|---|---|
/api/v1/signup |
POST | Get API key (email only) |
/api/v1/reports/enriched |
GET | Intelligence briefings |
/api/v1/reports/categories |
GET | Category listing |
/api/v1/recon/{domain} |
GET | Domain recon |
/api/v1/social/{username} |
GET | Social lookup |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_tools_osint-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_tools_osint-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f74a0a62c1893d9231684568142e44ebe5114408445d75341001a5b43ac563d
|
|
| MD5 |
585a46cd32a1da44a44268b19a2b354f
|
|
| BLAKE2b-256 |
b3db35a982073ed650ac0e362e3274d2f8743c5a42b7cd021f3c6f8455e2ba1c
|
File details
Details for the file llama_index_tools_osint-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_osint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9113330cbe172c1859c1abcc97086d2437585cfcd41a9be002db1b9cf92c46a8
|
|
| MD5 |
c7c55ef929e33665ace6e37aa0eb90e5
|
|
| BLAKE2b-256 |
c6083bbef53765414cbe57458ddf28d8b7c4f9fa1867c75a0e73760be60cd867
|