Skip to main content

InSight - Instagram Profiling AI

Python Version License Type Status

InSight is an advanced AI-powered Open Source Intelligence (OSINT) tool designed to deeply analyze Instagram profiles. By utilizing the instagrapi library and Google's Gemini 3.5 Flash AI model, it creates detailed, target-oriented Persona Reports of Instagram users without human intervention.

[ SHOWCASE ]

Note: The terminal execution preview below was automatically generated as an SVG.

InSight Terminal Execution

[ OVERVIEW ]

  • Deep Persona Profiling: Employs AI to estimate age, hometown, education, and workplace based on followers, following, and mutual connections.
  • Connection Categorization: Separates connections into verified (celebrity/brands) and personal to understand the target's true social circle and interests.
  • Vision Integration: Analyzes profile pictures to extract styling and age estimates using Gemini Vision.
  • Smart Quota Management: Automatically rotates through multiple Gemini API keys to avoid rate limit restrictions.
  • Local Caching: Stores fetched Instagram data locally (SQLite) for 1 hour to prevent redundant requests and bans.
  • Modern CLI: Uses Typer and Rich to provide a robust, interactive Command Line Interface.

[ INSTALLATION ]

  1. Clone the repository:
git clone https://github.com/yourusername/InSight.git
cd InSight
  1. Install requirements and configure the global CLI:
pip install -r requirements.txt
pip install -e .
  1. Configuration: Configure your API keys and default language directly from the CLI.
insight config add-key YOUR_GEMINI_API_KEY
insight config set-credentials
insight config show

[ USAGE ]

InSight operates via a global CLI. You can interact with the agent using the insight command directly from your terminal.

Authentication

Authenticate securely to cache your session and avoid Instagram blocks.

insight auth login

Deep Persona Profiling

Execute the full AI analysis on a target user to generate a comprehensive intelligence report.

insight analyze <instagram_username>

Optional: You can specify the output language using --language "Turkish" (Default is English).

Data Extraction (No AI)

Retrieve raw personal information, media statistics, and network connections in a tabular format without engaging the AI model.

insight detailed-info <instagram_username>

Report History

List all generated intelligence reports.

insight history

[ CONTRIBUTING ]

Contributions are welcome. If you have suggestions for improving the intelligence gathering techniques or fixing bugs, please open an issue or submit a Pull Request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

[ LICENSE ]

Distributed under the MIT License. See LICENSE for more information.

[ DISCLAIMER ]

This tool is strictly developed for educational and OSINT research purposes. The developers bear no responsibility for any misuse, account suspensions, or privacy infringements. Ensure your actions comply with Instagram's Terms of Service and applicable privacy laws.

Metadata

Release files for insight-osint-cli 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for insight-osint-cli 1.0.1
File Size Uploaded Provenance Actions
insight_osint_cli-1.0.1.tar.gz 13.9 kB Without provenance Details for insight_osint_cli-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for insight-osint-cli 1.0.1
File Interpreter ABI Platform Actions
insight_osint_cli-1.0.1-py3-none-any.whl Python 3 none any Details for insight_osint_cli-1.0.1-py3-none-any.whl

Total release size: 29.6 kB

Release files / insight_osint_cli-1.0.1.tar.gz

Download URL insight_osint_cli-1.0.1.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c69fc2d4a03b38c8f6c908c9a8530aad7a29796a1c06f8ad5ed88ac9c36537f
BLAKE2b-256 checksum
How to use checksums
409828d7edbc3541b9b52b806f844650d16321524c15ed7e1c3c2cdad286b6e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / insight_osint_cli-1.0.1-py3-none-any.whl

Download URL insight_osint_cli-1.0.1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7584d0a6da4c12df558cab3f567b66345108291245182e73529a487f153446f0
BLAKE2b-256 checksum
How to use checksums
7047dc3bfca5fcd55ff77e20aee618731c9564f1e3f6253baa4a6b203b0faa30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for insight-osint-cli 1.0.1

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page