BACK_TO_CASE_STUDIES
// PLATFORM_CASE_STUDY / AVERQEL

Documents to evidence.Research to reviewable work.

AverQel is an open-source web and desktop workspace for private documents, retrieval-backed questions, and longer tool-assisted tasks. Documents Hub, Query, and DeepSpace have distinct workflows; configured models provide responses, while identity, tenant access, and tool policy stay in the application.

PUBLIC_RELEASE::V1.3.4WEB + DESKTOP AVAILABLESELF_HOSTING REQUIRES OPERATOR CONFIGURATION
PUBLIC_RELEASE
v1.3.4
SOURCE_COMMIT
e3f7556
ROLE
Backend Engineer
SCOPE
API · ingestion · retrieval · runtime
CLIENTS
Web + Electron
DESKTOP_ASSETS
Linux .deb / Windows .exe
API_SURFACE
FastAPI /api/v1
DATA_PLANE
PostgreSQL / pgvector / MinIO
LICENSE
Apache-2.0
// RELEASE_STATE

Public release v1.3.4

The current public GitHub release is v1.3.4, published from commit e3f7556. The release page lists Linux .deb and Windows .exe desktop packages; the product website currently advertises both web and desktop availability.

// DEPLOYMENT_STATE

Published does not mean universal

AverQel has public web and desktop distribution paths. Self-hosting uses a separate manual Docker/VPS workflow and depends on configured services, secrets, providers, workers, backups, and staging checks.

// FEATURE_STATE

Some capabilities remain gated

The repository marks Qel Connect as experimental beta. Browser research, sandboxing, schedules, push, email, and voice need their respective services and configuration; storage archive automation remains disabled until documented restore gates pass.

// THE_PROBLEM

One task crosses several trust boundaries.

A document question or research task can touch source files, retrieval, a model provider, and external tools. Each part has its own permissions, state, and failure modes. The reviewer needs to see which source was retrieved, what context crossed a provider boundary, and whether an action waited for approval.

// DESIGN_APPROACH

Keep evidence and authority separate.

Documents Hub owns source documents, Query performs scoped retrieval and returns source references, and DeepSpace manages persistent tasks and tool calls. The model can produce an answer or request a tool; authorization and execution policy are handled by the backend runtime.

// ARCHITECTURE_BLUEPRINT

The application and service boundaries.

Browser and desktop clients enter through the web/API boundary. Product workflows call tenant-scoped services and background workers; data stores, model providers, and optional external services remain separate components.

SYSTEM BLUEPRINT / RELEASE SOURCE

Request, work, and data planes

V1.3.4 · E3F7556
/01 CLIENTS

The same workspace is offered in a browser and an Electron desktop shell.

WEB / NEXT.JS

Browser workspace and API proxy.

DESKTOP / ELECTRON

Packaged client; release assets are published separately.

/02 APPLICATION EDGE

Authenticated routes establish user, tenant, and request context.

FASTAPI /api/v1

API routes and orchestration.

AUTH + RBAC

Identity, role, session, and capability checks.

TENANT SCOPE

Ownership filters apply to protected workflows and records.

/03 WORKSPACE SERVICES

Product areas keep source files, focused questions, and longer tasks in distinct workflows.

DOCUMENTS HUB

Upload, organization, extraction, and sharing.

QUERY

Retrieval-first answers with source references.

DEEPSPACE

Persistent conversations, runs, tools, and artifacts.

CONNECTOR POLICY

Approved MCP catalog, credentials, scopes, and action checks.

/04 STATE + WORKERS

Durable data and queued work are separate from model output.

POSTGRESQL + PGVECTOR

Relational records, chunks, and vector search.

REDIS + CELERY

Queues, coordination, and dedicated worker roles.

MINIO + CLAMAV

Private object storage and configured malware scanning.

WORKER ROLES

Ingestion, DeepSpace, Library, datasets, MCP, and scheduled work.

CONFIGURED EXTERNAL / OPTIONAL BOUNDARIES
MODEL PROVIDERS

Local inference or configured hosted providers for chat, embeddings, and optional reranking.

MCP + OAUTH

Reviewed remote servers and user or tenant credentials; connection and policy are required.

RESEARCH SERVICES

SearXNG and the isolated renderer are deployment services for supported web research paths.

OTHER SERVICES

Sandbox, SMTP, push, and voice features require their own configuration and service gates.

The diagram follows the v1.3.4 production service map. It describes code and Compose boundaries; it does not assert that every optional service is enabled in the public deployment.
// END_TO_END_WORKFLOWS

Two paths through the system.

The first path turns a source file into evidence used by Query. The second runs a longer DeepSpace task and puts tool policy between model output and external effects.

DOCUMENT PATH / QUERY PATH

From an uploaded source to a cited answer

/01 INGEST SOURCE
  1. 01Authenticated upload is scoped to the user and tenant.
  2. 02Format, archive, quota, and malware checks run before acceptance.
  3. 03Clean source bytes go to private object storage; a job is queued.
/02 EXTRACT + INDEX
  1. 01Workers parse supported text and Office formats; OCR is available for supported image or scanned content.
  2. 02Extracted text is quality-checked, divided into chunks, and embedded by the configured embedding path.
  3. 03Tenant-linked document, chunk, and vector records are persisted for retrieval.
/03 RETRIEVE + ANSWER
  1. 01Query authorization limits retrieval to accessible sources.
  2. 02Vector and keyword candidates are fused; a configured reranker may reorder them.
  3. 03The answer provider receives selected context; the response carries citation metadata and source snippets.
Retrieval and citations make the source trail inspectable, but do not prove that every generated statement is correct. Hosted model calls send the prompt and selected context to that configured provider; local inference is a separate deployment option.
DEEPSPACE / MODEL AND TOOL CONTROL

The model proposes; runtime policy decides

/01 START + CONTEXT
  1. 01User starts a conversation turn or queued task.
  2. 02Run state, ownership, selected documents, and relevant memory are loaded.
  3. 03The runtime records status and checkpoint data for the turn.
/02 MODEL TURN
  1. 01Configured chat provider receives the prompt and selected context.
  2. 02It returns a user-facing answer or a structured request to call a tool.
  3. 03The model does not receive direct shell or unrestricted filesystem capability.
/03 POLICY GATE
  1. 01Runtime checks the tool, caller, tenant, connector, and requested capability.
  2. 02Permitted read calls may proceed through a bounded broker.
  3. 03Side-effecting calls transition to an approval pause before execution.
READ PATH

A policy-allowed read tool runs through a native or connected-tool broker; its bounded result returns to the model turn.

SIDE-EFFECT PATH

A write or other external side effect pauses in an approval state. The user can review before the connector call continues.

PERSISTED RESULT

Ordered activity events, run checkpoints, and approval decisions support inspection, cancellation, and resume paths; supported outputs can be stored as private artifacts.

This is an application orchestration path, not a claim that AverQel trains its own foundation model. Provider choice, tool availability, and optional sandbox or browser services depend on deployment configuration.
// IMPLEMENTED_CONTROLS

Controls visible in the source.

The release source contains explicit authorization, scanner, connector-policy, run-state, and recovery code paths. Their effective protection still depends on the target deployment using the required settings and services.

Document upload checks authenticate the actor, apply tenant ownership, validate supported files and quotas, and call the configured malware scanner before bytes are stored.

The ingestion service persists job state and processes extraction, chunking, embeddings, and indexing through background worker paths.

Query retrieval carries tenant filters into vector and keyword candidate paths, then records reranking and citation metadata.

DeepSpace run state, ordered events, checkpoints, approval pauses, and user-owned resume paths are modeled outside the language model.

Connected tools pass through a catalog, credential, scope, and runtime policy boundary; side effects use an approval state.

Production Compose separates the API, frontend, database, queues, object store, scanner, and worker roles; the release workflow does not deploy VPS images automatically.

// RELEASE_VALIDATION

Evidence tied to a revision.

The chart counts test files in the v1.3.4 source tree. The executed results shown below are older local runs against v1.2.12 and are labeled as such.

STATIC SOURCE INVENTORY / V1.3.4

Test files in the tagged source tree

Backend pytest-named Python files259 source files
Frontend Vitest files in configured include132 test files
Frontend Playwright specs12 spec files
Counts were taken from the v1.3.4 tag at e3f7556. They describe files selected by the repository layout and Vitest include rule; they are not a passed-test count.
// TEST_EVIDENCE

What ran, and on which version.

Local pass totals below belong to the v1.2.12 checkout on 2026-09-03. They are not attributed to the later v1.3.4 release.

NO CURRENT PASS TOTAL
V1.3.4 SUITES NOT RUN IN THIS AUDIT

These are static file counts at commit e3f7556: 259 backend Python files named for pytest collection, 132 frontend .test.ts/.test.tsx files matched by the configured Vitest include pattern, and 12 separately tracked frontend Playwright specs. This audit did not execute those suites, so no v1.3.4 pass total is claimed.

A recorded full local pytest run completed with 806 passed and one dependency deprecation warning against the v1.2.12 source tree. It is retained as historical evidence only and is not presented as a test result for v1.3.4.

UNIT
109 files
544 declared functions
INTEGRATION
65 files
177 declared functions
SECURITY
16 files
39 declared functions
END_TO_END
7 files
11 declared functions
CONTRACT
2 files
3 declared functions
API / PERFORMANCE
2 files
3 declared functions

A recorded full frontend Vitest run completed with 80 files passed and 280 tests passed against the v1.2.12 source tree. It is separate from the later v1.3.4 source inventory and is not evidence that the current release passed the same run.

The v1.3.4 frontend tree contains 12 Playwright spec files under frontend/e2e. They are a static inventory only for this review; no browser run is claimed.

SOURCE TREE
12 files
frontend/e2e
EXECUTION
not run
no pass total claimed
EVIDENCE_NOTE:: v1.3.4 file counts are static inventory at commit e3f7556; they are not pass totals. The 806 backend and 280 frontend passes are recorded local runs from v1.2.12 on 2026-09-03. This case study does not claim the v1.3.4 suites ran, nor that either result establishes customer adoption, uptime, or production readiness.
// TRUST_MODEL

Capability is never authority.

Model output does not itself grant document access or connector authority. The application applies user and tenant checks, evaluates tool policy, and stores run and approval state. These controls reduce risk but do not guarantee that a deployment is secure without correct configuration and operation.

// TECHNICAL_SURFACE
Python 3.12FastAPIPostgreSQL + pgvectorRedis + CeleryMinIO + ClamAVSSEMCPConfigured model providersSearXNG + research rendererNext.js / ElectronOpenTelemetryDocker Compose
// AVAILABILITY_AND_LIMITS

Public release; deployment-specific operation.

The website currently lists web and desktop availability. GitHub v1.3.4 publishes Linux .deb and Windows .exe desktop assets.
Self-hosting is a separate manual Docker/VPS workflow. Database, queue, object storage, malware scanning, workers, secrets, model providers, backups, and staging checks must be configured for the target environment.
Hosted model calls can send the prompt and selected source context to the configured provider. Local inference is available as a separately configured path; the application does not claim model training.
Qel Connect is marked experimental beta. Browser research, sandbox execution, scheduled tasks, email, push, and voice have separate service or configuration requirements.
// REVIEW_THE_IMPLEMENTATION

Source references at v1.3.4.

The links below are pinned to the release tag so reviewers can compare this description with the code and deployment map it describes.

Evidence checked against the public website and GitHub release on 2026-10-21. A later release may change the current version and source details.

// END_OF_CASE_STUDY

AverQel combines source-document management, retrieval-backed questions, and persistent tool-assisted work with explicit data and action boundaries.