Skip to main content

Bootstrap installer and wrapper for the Vera CLI

Project description

vera-ai

Code search for AI agents. Vera indexes your codebase using tree-sitter parsing and hybrid search (BM25 + vector similarity + cross-encoder reranking), then returns ranked code snippets as structured JSON.

This package downloads and wraps the native Vera binary for your platform.

Current benchmark snapshot: on Vera's local 21-task, 4-repo release benchmark, v0.7.0 reaches 0.78 Recall@5, 0.83 Recall@10, 0.91 MRR@10, and 0.84 nDCG@10 with the local Jina CUDA ONNX stack. Full details live in the main repo docs.

Install

pip install vera-ai

Usage

# Index a project
vera-ai index .

# Search
vera-ai search "authentication middleware"

# Local ONNX inference (no API keys needed. downloads models automatically)
vera-ai index . --onnx-jina-cpu
vera-ai search "error handling" --onnx-jina-cpu

# GPU acceleration (NVIDIA/AMD/DirectML/CoreML)
vera-ai index . --onnx-jina-cuda

What you get

  • 60+ languages via tree-sitter AST parsing
  • Hybrid search: BM25 keyword + vector similarity, fused with Reciprocal Rank Fusion
  • Cross-encoder reranking for precision
  • Compact JSON output with file paths, line ranges, code content, and optional symbol info (use --markdown for markdown codeblocks, --raw for verbose output, --timing for step durations)

For full documentation, see the GitHub repo.

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

vera_ai-0.8.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

vera_ai-0.8.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file vera_ai-0.8.3.tar.gz.

File metadata

  • Download URL: vera_ai-0.8.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for vera_ai-0.8.3.tar.gz
Algorithm Hash digest
SHA256 90c39fed40f99a15b028aa1a37235d8f0350c724224782abf58d109695c06ab8
MD5 9e78a5fafdbe88d0fb79002b9a442aa6
BLAKE2b-256 706c0bca449db886d0c748bd4200a2bd635f9984c8e675a21f70bcd09f1a9e10

See more details on using hashes here.

File details

Details for the file vera_ai-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: vera_ai-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for vera_ai-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 33432373c1221de0006b9bde2246a4c022d61f8e448062f0ad5651092fee320c
MD5 26b06868668b3d4a7a7eee09a6056716
BLAKE2b-256 17d55970c4d81eb26f6f2ec12aabf59400962a6a562aa1a40842c981657906b4

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