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 for verbose output, --timing for step durations)

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.12.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.12-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vera_ai-0.12.12.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.12.tar.gz
Algorithm Hash digest
SHA256 7eb0c0f88ed5fc10ce524096b823d74ed7912c9e3499f796ff73f33aa788ad3c
MD5 6f06e23b06aaefbd878da16cde7060a7
BLAKE2b-256 f206067e78076085276f9c85e4556d27168f52192771f759177fbf256a743caa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vera_ai-0.12.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 12ce9d111c2b8e39d0427fc7c5dc092d3ada39098667cfc70f7b801c6f2c3371
MD5 9683e623cbffa7389cbfa84fc1f161c6
BLAKE2b-256 601029054c123d24bdb0dd688b2827b4c4f175ed5b57ac4c15c48ca246acc1cb

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