Skip to main content

AIGrok

AIGrok is an advanced document analysis tool that uses AI to process, analyze, and extract information from documents.

Features

  • 📄 Process multiple document formats (PDF, TXT, etc.)
  • 🤖 Advanced AI-powered analysis with OpenAI and Ollama support
  • 🔍 Smart content extraction with OCR capabilities
  • 💾 Result caching for performance
  • 🛠️ Extensible provider system
  • 📊 Comprehensive reporting
  • 📝 Structured output support
  • 🔄 Automatic model discovery
  • 📈 Code coverage tracking

Quick Start

  1. Install AIGrok:

    pip install aigrok
    
  2. Set up your configuration:

    aigrok config init
    
  3. Process a document:

    aigrok process document.pdf
    

Documentation

For detailed documentation, please see the docs directory:

Requirements

  • Python 3.9+ (including 3.12)
  • One of:
    • Ollama with vision models installed
    • OpenAI API key for GPT-4 Vision
  • 4GB RAM minimum
  • Internet connection for API access

Installation

From PyPI

pip install aigrok

From Source

git clone https://github.com/yourusername/aigrok.git
cd aigrok
pip install -e .

Basic Usage

from aigrok import process_document

# Process a document
result = process_document("document.pdf")
print(result.text)

# Process with custom prompt
result = process_document(
    "document.pdf",
    prompt="Extract main topics",
    model="llama2-vision"
)

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Acknowledgments

  • Thanks to all contributors
  • Built with Ollama
  • Inspired by the need for better document analysis tools
  • 90% of this project was written by AI using Cursor or Windsurf with Anthropic's Claude.

Metadata

Release files for aigrok 0.3.3

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

Source distribution (sdist)

Source distribution for aigrok 0.3.3
File Size Uploaded
aigrok-0.3.3.tar.gz 39.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aigrok 0.3.3
File Interpreter ABI Platform
aigrok-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 62.1 kB

Release files / aigrok-0.3.3.tar.gz

Download URL aigrok-0.3.3.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
40af3015ecc9f2daa0bc1dad0116890866b9760eb088da50981f90f9f64f0f53
BLAKE2b-256 checksum
How to use checksums
5f0fc7220ca1bacd603e57870a18f19fe31412de31d2ff416ea76cf86dcd2b5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / aigrok-0.3.3-py3-none-any.whl

Download URL aigrok-0.3.3-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f959fa1d8aba2a86c9009a3e2fba75d03291b9050a5c8e2d617504a5e68d2d4
BLAKE2b-256 checksum
How to use checksums
5eee9a3d619c97d4e79d51e1c141cd1ef1573c27516a68507680d3c9c2bf78e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.6

2 release files

0.2.2

1 release file

0.2.1

2 release files

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