# `Arcana.Agent.Searcher.Arcana`
[🔗](https://github.com/georgeguimaraes/arcana/blob/main/lib/arcana/agent/searcher/arcana.ex#L1)

Default searcher using Arcana's built-in pgvector search.

Uses `Arcana.search/2` to perform semantic similarity search against
the configured PostgreSQL database with pgvector.

## Usage

    # With Agent pipeline (this is the default)
    ctx
    |> Agent.search()
    |> Agent.answer()

    # Explicitly specifying the searcher
    ctx
    |> Agent.search(searcher: Arcana.Agent.Searcher.Arcana)
    |> Agent.answer()

## Options

- `:repo` - The Ecto repo (required)
- `:collection` - Collection name to search
- `:limit` - Maximum chunks to return (default: 5)
- `:threshold` - Minimum similarity threshold (default: 0.5)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
