Skip to main content

Ant Studio

One command, Real results, Quality scored, Privacy audited.

PyPI Python License


What is Ant Studio?

Ant Studio is a CLI + Python tool that solves AI problems in one command. Extract fields from 1000 PDFs. Forecast time-series. Detect anomalies. Ask questions about documents. Every command automatically includes quality scoring (78 metrics) and privacy auditing.

Not a framework. Not a platform. A tool like ffmpeg for media or curl for HTTP.

pip install antstudio
antstudio doc extract ./invoices/ --fields vendor,amount,date --output results.csv

Quick Start

pip install antstudio

# Extract from documents (PDF, DOCX, Excel, images, TXT)
antstudio doc extract ./invoices/ --fields vendor,amount --output results.csv

# Ask questions about documents
antstudio doc ask ./report.pdf "What is the total revenue?"

# Forecast time-series
antstudio ts forecast ./sales.csv --target revenue --horizon 30

# Detect anomalies
antstudio ts anomaly ./sensors.csv --target temperature --method zscore

Every command auto-runs: Adaptive Intelligence (routing) + llmevalkit (quality) + AntGuard (privacy).


How It Works

$ antstudio doc extract ./invoices/ --fields vendor,amount --output results.csv

  Ant Studio v0.1.0 | DocQWise + llmevalkit + AntGuard

  [1/4] Scanning .................... 47 files found
  [2/4] Extracting .................. 47/47 complete
  [3/4] Quality (llmevalkit) ........ 44 passed, 3 flagged
  [4/4] Privacy (AntGuard) .......... data_left: NO | risk: LOW

  Results saved: results.csv (47 rows)
  Flagged items: results_flagged.csv (3 rows)

  Pipeline: Document Extraction [a1b2c3d4]
  ============================================================
  [+] Scan Input                        0ms
      |
      v
  [+] Extract Fields                   456ms
      |
      v
  [+] Quality Check                      1ms   q:0.94
      |
      v
  [+] Privacy Audit                      0ms
  ============================================================
  4/4 passed | 457ms total | Status: SUCCESS

Input Sources

Ant Studio reads from any source:

# Local file (PDF, DOCX, Excel, CSV, TXT, images)
antstudio doc extract ./invoice.pdf

# Local folder (batch 1000+ files, recursive)
antstudio doc extract ./invoices/

# Specific file types from folder
antstudio doc extract ./mixed_docs/ --extensions .pdf,.docx,.xlsx,.png

# Network drive / NAS
antstudio doc extract /mnt/nas/documents/
antstudio doc extract Z:\SharedDocs\

# Database
antstudio doc extract --db "postgresql://user:pass@host/db" --query "SELECT * FROM docs"
antstudio doc extract --db "sqlite:///data/invoices.db" --query "SELECT text FROM pending"

# URL
antstudio doc extract --url "https://example.com/report.pdf"

Supported file types: PDF, DOCX, XLSX/XLS, CSV, TXT, MD, JSON, XML, HTML, PNG, JPG, JPEG, BMP, TIFF (images via OCR)


Output Destinations

Results go anywhere:

# Local files
antstudio doc extract ./invoices/ --output results.csv
antstudio doc extract ./invoices/ --output results.xlsx
antstudio doc extract ./invoices/ --output results.json

# Database
antstudio doc extract ./invoices/ --output-db "postgresql://user:pass@host/db" --table extracted

# Cloud (coming)
antstudio doc extract ./invoices/ --output-azure "connection_string" --container results
antstudio doc extract ./invoices/ --output-s3 my-bucket --path output/
antstudio doc extract ./invoices/ --output-webhook "https://api.example.com/results"

Python SDK

Same engine, in code:

from antstudio.doc.extract import run as extract
from antstudio.doc.ask import run as ask
from antstudio.ts.forecast import run as forecast
from antstudio.ts.anomaly import run as detect

# Extract from folder of any file type
results = extract("./invoices/", fields=["vendor", "amount", "date"])
results.to_csv("output.csv")
results.to_excel("output.xlsx")
results.to_database("postgresql://...", table="results")
print(results.quality)     # llmevalkit scores
print(results.audit)       # AntGuard report

# Forecast
fc = forecast("./sales.csv", target="revenue", horizon=30)
fc.to_csv("forecast.csv")
fc.save_chart("chart.png")

# Anomaly detection
anom = detect("./sensors.csv", target="temperature", method="zscore")
anom.to_csv("anomalies.csv")

# Document Q&A
answer = ask("./report.pdf", "What are the payment terms?", rag="auto")
print(answer.text, answer.confidence)

Pipeline Tracking

Every command creates a tracked pipeline run:

# List all past runs
antstudio runs

  ID         Pipeline                                 Steps        Status     Time
  ────────── ──────────────────────────────────────── ──────────── ────────── ────────
  a1b2c3d4   Document Extraction: ./invoices/         4/4 passed   success    12.3s
  e5f6g7h8   Forecast: ./sales.csv                    3/3 passed   success    3.1s
  i9j0k1l2   Anomaly Detection: ./sensors.csv         3/3 passed   success    0.5s

# Show detailed step-by-step view
antstudio run-detail a1b2c3d4

  Pipeline: Document Extraction [a1b2c3d4]
  Status: SUCCESS | 12.3s | 2026-09-05T10:30:00
  ============================================================
  [+] Scan Input                        15ms
      |
      v
  [+] Extract Fields                  11800ms
      |
      v
  [+] Quality Check                      1ms
      |
      v
  [+] Privacy Audit                      0ms
  ============================================================
  4/4 steps passed

Responsible AI — Always On

Three pillars run on every command. Never configured. Never skipped.

Pillar Library What It Does
Routing Adaptive Intelligence Auto-detects file type, routes to correct pipeline
Quality llmevalkit (78 metrics) Scores every output. Flags low confidence.
Privacy AntGuard Monitors file/network. Proves data stayed local.
Every command output includes:
  Quality: 44 passed, 3 flagged
  Privacy: data_left: NO | risk: LOW

All Commands

# Document Intelligence
antstudio doc extract <source> [options]    # Extract fields from documents
antstudio doc ask <source> "question"       # Ask questions about documents

# Temporal Intelligence
antstudio ts forecast <source> [options]    # Forecast time-series
antstudio ts anomaly <source> [options]     # Detect anomalies

# Pipeline Tracking
antstudio runs                              # List all pipeline runs
antstudio run-detail <run_id>               # Detailed step-by-step view
antstudio history                           # Execution history with quality scores

# System
antstudio models                            # List Ollama models
antstudio status                            # Library + system status

Ant Intelligence Ecosystem

Library Domain Tagline
DocQWise Documents Read. Extract. Retrieve.
WavQWise Temporal Sense. Forecast. Alert.
SightRAG Vision See. Search. Retrieve.
SonarWise Audio Hear. Search. Retrieve.
Adaptive Intelligence Routing Learn. Remember. Adapt.
llmevalkit Quality Evaluate. Score. Improve.
AntGuard Privacy Guard. Detect. Protect.

Testing

pip install pytest
python -m pytest tests/ -v

License

Apache 2.0


Ant Studio
Venkatkumar Rajan — One ecosystem. Limitless possibilities.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antstudio-0.1.0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antstudio-0.1.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file antstudio-0.1.0.tar.gz.

File metadata

  • Download URL: antstudio-0.1.0.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.0

File hashes

Hashes for antstudio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a53e94e3f32f76aed5e854a5f4a02c7264d36ad9467f4c6b6f17d9e8f60dbdf0
MD5 a9d4bcea23671e52f7e722fa87c61dd4
BLAKE2b-256 980a9429cad693fa84bc71f935ae3969f2d5231827812667ac71bcaaae2032bc

See more details on using hashes here.

File details

Details for the file antstudio-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: antstudio-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.0

File hashes

Hashes for antstudio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7168181b22deefdf900542dd767d006323b842126529ebc67d514d5a010f33c0
MD5 43a44f351dd040ec276e8ddff5039ba6
BLAKE2b-256 5ae28d7fad2c95bb39e784d6b7d7e8e20a74b1c29bc832dfc8849b47283f60cd

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 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