Skip to main content

Reasoning-native document intelligence engine for AI

Project description

Vectorless

Agentic-based Document Engine

PyPI PyPI Downloads Crates.io Crates.io Downloads Docs License

Reason, don't vector.

Vectorless is an agentic-based document engine with the core written in Rust. It will reason through any of your structured documents — PDFs, Markdown, reports, contracts — and retrieve only what's relevant. Nothing more, nothing less.

Quick Start

pip install vectorless
import asyncio
from vectorless import Engine, IndexContext, QueryContext

async def main():
    engine = Engine(api_key="sk-...", model="gpt-4o", endpoint="https://api.openai.com/v1")

    # Index a document
    result = await engine.index(IndexContext.from_path("./report.pdf"))
    doc_id = result.doc_id

    # Query
    result = await engine.query(
        QueryContext("What is the total revenue?").with_doc_ids([doc_id])
    )
    print(result.single().content)

asyncio.run(main())

What It's For

Vectorless is designed for applications that need precise document retrieval:

  • Financial analysis — Extract specific figures from reports, compare across filings
  • Legal research — Find relevant clauses, trace definitions across documents
  • Technical documentation — Navigate large manuals, locate specific procedures
  • Academic research — Cross-reference findings across papers
  • Compliance — Audit trails with source references for every answer

Examples

See examples/ for complete usage patterns.

Contributing

Contributions welcome! If you find this useful, please ⭐ the repo — it helps others discover it.

Star History

Star History Chart

License

Apache License 2.0

Project details


Download files

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

Source Distribution

vectorless-0.1.10.tar.gz (303.9 kB view details)

Uploaded Source

Built Distribution

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

vectorless-0.1.10-cp310-cp310-manylinux_2_34_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file vectorless-0.1.10.tar.gz.

File metadata

  • Download URL: vectorless-0.1.10.tar.gz
  • Upload date:
  • Size: 303.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for vectorless-0.1.10.tar.gz
Algorithm Hash digest
SHA256 fd958b04289bfedde0ae2506340a3b561cb0948bd74643b51e3c2b6bc06f2421
MD5 426f449ca4666835b9e2c59fb92eec30
BLAKE2b-256 bc3d4997cda1a599cbf562a6874ce9826b940e89bdd7f9712618f27ca4505add

See more details on using hashes here.

File details

Details for the file vectorless-0.1.10-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for vectorless-0.1.10-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8ec047414f054321f9868082a5b7bbe2789c90660bc576a5e98a450db10072fe
MD5 6130fab61b76cde695fd5e9cbaff9cfc
BLAKE2b-256 54eecc30e4606dd808e06f6baa8d6ac275ef24ef1654aeef37e14fa7b54298cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page