maborak.com~/products/legalaisoftware & infrastructure engineering
Maborak software

Legal research

LegalAI / PactoLegal

The LegalAI project, branded PactoLegal, combines legal corpus ingestion, document processing, vector retrieval and model orchestration to support research across Bolivian legal codes and court decisions with cited responses.

Product capabilities

  • Search across legal codes and jurisprudence
  • Responses with citations to source material
  • Tools for researching fees and procedural deadlines

Platform architecture

Application, data and infrastructure.

Legal corpus ingestion, document processing, retrieval, model integration, research interfaces and supporting infrastructure.

System architectureLegalAI / PactoLegalApplication and processing components
  • IngestionLegal sources and document OCR
  • RetrievalEmbeddings and Qdrant search
  • GenerationLanguage-model adapters
  • ApplicationResearch, documents and accounts

Data flow

  1. Legal sources
  2. Ingestion / OCR
  3. Search indexes
  4. Retrieval
  5. Cited responses

Corpus and documents

Source adapters ingest legal norms and court decisions. Document ingestion and OCR services turn source material into content for indexing and research.

Retrieval and model orchestration

Retrieval services connect to Qdrant vector search. Separate embedding and language-model adapters keep retrieval, model selection and response generation behind explicit application interfaces.

Application infrastructure

The research application includes authenticated accounts, document workflows, subscriptions and notifications. The container stack separates the API and interface from PostgreSQL, connection pooling, Redis and Qdrant.

  • FastAPI
  • React / TypeScript
  • PostgreSQL
  • Qdrant
  • Redis
  • OCR / model adapters

Technologies we work with

  • Argo CD
  • Kubernetes
  • Docker
  • Podman
  • Ansible
  • Jenkins
  • Chef
  • Proxmox VE
  • Google Cloud
  • Linux
  • Red Hat
  • CentOS
  • NGINX
  • Apache
  • Traefik
  • Prometheus
  • Grafana
  • PostgreSQL
  • MySQL
  • MariaDB
  • Redis
  • etcd
  • Qdrant
  • Elasticsearch
  • Logstash
  • Kibana
  • PagerDuty
  • Go
  • Python
  • FastAPI
  • PHP
  • TypeScript
  • React