Declarative AI Infrastructure: Define Pipelines, Not Plumbing
Replace thousands of lines of orchestration code with declarative computed columns. Pixeltable handles execution, dependencies, caching, and incremental updates automatically.
The Challenge
Traditional AI infrastructure requires imperative orchestration: loading data, managing state, scheduling jobs, handling retries, tracking dependencies. This code is brittle, hard to test, and grows faster than the actual application logic.
The Solution
Pixeltable's declarative model lets you define what to compute, not how. Computed columns express your pipeline logic. The engine handles execution order, dependency tracking, incremental updates, caching, and error recovery.
Implementation Guide
Step-by-step walkthrough with code examples
Declarative Columns
Express your entire pipeline as computed columns — no orchestrator needed.
1import pixeltable as pxt2from pixeltable.functions import openai34# Define what you want, not how to get it5images = pxt.create_table('app.images', {6 'image': pxt.Image,7 'title': pxt.String,8})910# AI inference as a computed column11images.add_computed_column(12 description=openai.chat_completions(13 model='gpt-4o-mini',14 messages=[{15 'role': 'user',16 'content': [images.image, 'Describe this image.']17 }]18 ).choices[0].message.content19)2021# Dependent columns run in correct order automatically22images.add_computed_column(23 tags=openai.chat_completions(24 model='gpt-4o-mini',25 messages=[{26 'role': 'user',27 'content': images.description.apply(28 lambda d: f"Extract 5 tags from: {d}"29 )30 }]31 ).choices[0].message.content32)
Key Benefits
Real Applications
Prerequisites
Performance
Learn More
Related Guides
Build a complete Retrieval-Augmented Generation pipeline with Pixeltable. Ingest documents, chunk text, generate embeddings, index for retrieval, and generate LLM answers — no vector database or orchestrator required.
Build optimized computer vision workflows with Pixeltable. Run YOLOX, CLIP, and custom models as computed columns with automatic batching, caching, and incremental processing.
Build AI agents with durable memory and tool-calling capabilities using Pixeltable and Model Context Protocol (MCP). Store conversations, images, and documents as queryable tables that agents can read from and write to.
Ready to Get Started?
Install Pixeltable and start building in minutes. One pip install, no infrastructure to manage.