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. On musl-based Linux (Alpine, NixOS), the correct static binary is selected automatically. Set VERA_TARGET to override target detection (e.g., VERA_TARGET=x86_64-unknown-linux-musl uvx vera-ai install).

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

Quick Start

vera-ai setup --api
vera-ai index .
vera-ai search "authentication logic"

vera-ai setup only configures the backend. Run vera-ai agent install to set up skill files for your agents. The interactive flow can also update AGENTS.md / CLAUDE.md style project instructions for you.

Common Tasks

Task Command
Use API mode (recommended) vera-ai setup --api
Use the interactive setup wizard vera-ai setup
Use a local NVIDIA backend vera-ai setup --onnx-jina-cuda
Search semantically vera-ai search "authentication middleware"
Keep the index up to date vera-ai update .
Watch for file changes vera-ai watch .
Diagnose setup issues vera-ai doctor
Run the deeper ONNX probe vera-ai doctor --probe
Repair missing local assets vera-ai repair
Inspect binary upgrades vera-ai upgrade
Install agent skills vera-ai agent install

For the full backend matrix, model options, Docker setup, and troubleshooting, see the main README and Installation Guide.

What you get

  • 61+ 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 and --timing work with vera search and vera grep, before or after the subcommand)

For full documentation, including custom local ONNX embedding models and manual install steps, 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.12.13.tar.gz (5.7 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.12.13-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vera_ai-0.12.13.tar.gz
  • Upload date:
  • Size: 5.7 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.12.13.tar.gz
Algorithm Hash digest
SHA256 5b069526ed3c675166388dc017ed0e8569145e4ae39aeedf380d631ad33602f1
MD5 86d6bc0e8876e513904e2cdfa51c4432
BLAKE2b-256 603ed2d3d6e2b3fa88d9de475df0b4f12f64283eaf89739bbcc57015384f7f16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vera_ai-0.12.13-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.12.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa4dd47c08c670aa935c17f8993ef0c3f3534b2a7e333ae0ebf908c3da7ac08
MD5 e97c19dff9273971053877d3d3eff6d4
BLAKE2b-256 ba2ef0f6f90274740ab33d0759a32a7eea9f28fc5b99ec0043907fa051c3a932

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