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/OpenVINO)
vera-ai index . --onnx-jina-cuda

# Diagnose or repair local setup issues
vera-ai doctor
vera-ai doctor --probe
vera-ai repair

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
  • Markdown codeblock output by default with file paths, line ranges, and optional symbol info (use --json for compact JSON, --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.9.2.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.9.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vera_ai-0.9.2.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.9.2.tar.gz
Algorithm Hash digest
SHA256 049452439725b48809b44c903c4d2ab37e5a60e86abd6d2e508f64e50d4caaba
MD5 e568e307e4e268380f06e7ef6584d9e1
BLAKE2b-256 93b68249263545c52da0d83f7b2baad1861e331028aa9e2c0f8eef3e4599ed4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vera_ai-0.9.2-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.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d46fbaf0ef28b96ab6da0616dfa5a298bbe7abe0e5387611155d821dc65902c4
MD5 7702414f60d313c837c524f985d21815
BLAKE2b-256 252532ed0f962f34665bb38d796c717b7068def89742c1b00a0fde94fe831354

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