Introducing a new way to review your PRs.

Read the announcement

zipstack / unstract

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

View on GitHub

28 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Unstract knowledge base

Orientation

Unstract is a document-processing platform: a Django backend manages organizations, configurations, APIs, workflows, and platform domains; a React browser application lets users configure and operate those capabilities.

Asynchronous document execution is performed by workers, queue infrastructure, connectors, tools, and standalone conversion/support services. Deployment assets compose these components for local, containerized, and end-to-end environments.

Critical durable state resides in backend domain storage and PostgreSQL-backed queue mechanisms; Redis provides cache- and coordination-oriented state where configured. Workers handle execution state and results through task, callback, and queue protocols.

System map

flowchart LR
  UI[Frontend application] --> API[Django backend API]
  API --> DB[(Platform database)]
  API --> Cache[(Redis)]
  UI --> V1[Frontend v1 foundation]
  API --> WF[Workflow management]
  WF --> Q[Queue orchestration]
  Q --> Workers[Worker operations]
  Workers --> Tools[Tool runtime]
  Workers --> Conn[Connector platform]
  Workers --> X2[X2Text service]
  Workers --> SDK[SDK LLM runtime]
  API --> MCP[MCP server]
  API --> Metrics[Metrics and audit domains]
  Deploy[Compose and test infrastructure] --> API
  Deploy --> Workers
  Deploy --> X2

Glossary

  • Structure tool: a worker file-processing operation that prepares structured extraction inputs and outputs.
  • X2Text: the standalone document-conversion service used to prepare files for extraction workflows.
  • Tool sidecar: the service/runtime boundary for registered workflow tools.
  • Inbox: organization-scoped backend records that surface execution failures and related operational events.
  • MCP server: the backend Model Context Protocol surface that exposes platform-aware tools and information.

Codebase-wide invariants

  • Browser navigation and shared top-bar behavior are implemented and tested together under frontend/src/components/navigations/top-nav-bar/**.
  • Worker file-processing operations must preserve their execution and result-handling contract with the surrounding worker pipeline; see workers/file_processing/** and workers/tests/**.
  • Queue-backed execution must tolerate retries, recovery, idempotency, and result signaling; see workers/**queue**/** and orchestration modules.
  • Backend API capabilities remain bounded by their owning Django domain applications under backend/** and versioned API modules.
  • Container and end-to-end environments must compose service dependencies explicitly through Docker and test fixture configuration under docker-compose*, docker/**, and test infrastructure paths.

Routing table