Documentation Index
Fetch the complete documentation index at: https://docs.pixeltable.com/llms.txt
Use this file to discover all available pages before exploring further.
Why Pixeltable
Every multimodal AI app needs the same five things: store media, run models, index embeddings, serve endpoints, version everything. Most teams glue together 5-8 services (Postgres + Pinecone + S3 + Airflow + LangChain + …) and spend more time on infrastructure than on the product. Pixeltable is a single system that handles all five. Onepip install, one Python API, one place to store, transform, index,
retrieve, serve, version, observe, and debug.
For developers and vibe coders: Pixeltable’s declarative API means
AI assistants generate correct, production-grade code. No glue logic, no
orchestrator configs, no serialization code. Experimenting on multimodal
data (extract a frame, run a model, draw bounding boxes) is one
expression, not a pipeline. Install the Pixeltable
Skill and prompt.
For teams evaluating infrastructure: Transaction integrity, async
execution, parallelization, caching, retries, and observability are
built in. One system to operate, monitor, and maintain. Schema changes
are one line. Model upgrades are zero-downtime.
Extensible via @pxt.udf, @pxt.uda, @pxt.query. 20+ AI
providers built
in. Skill | MCP
Server
| Starter Kit
| llms.txt: docs.pixeltable.com/llms.txt
Note: you may need to restart the kernel to use updated packages.
Note: you may need to restart the kernel to use updated packages.
- Store: Multimodal Tables
Video, audio, images, and documents are first-class column types.
pip install pixeltable is all you need.
Created directory ‘demo’.
Created table ‘videos’.
- Orchestrate: AI as Computed Columns
Add a computed column; Pixeltable calls Gemini on every insert, caches
results, retries failures, keeps embeddings in sync.
Added 0 column values with 0 errors in 0.01 s
Added 0 column values with 0 errors in 0.03 s
- Insert: One Call Triggers the Full Pipeline
insert() downloads videos, runs Gemini, extracts text, computes
embeddings. Open the Dashboard to watch in real time.
Inserted 2 rows with 0 errors in 22.85 s (0.09 rows/s)
2 rows inserted.
- Retrieve: Semantic Search
Embedding index stays in sync automatically. No separate vector DB.
- Experiment on Media Data
Extract a frame, run DETR object detection, draw bounding boxes, all in
one expression. Change timestamp and re-run to explore different
frames.
- Serve: Queries Become API Endpoints
@pxt.query becomes an HTTP endpoint via FastAPIRouter. In
production, use pxt serve service.toml. See HTTP
Serving.
{‘rows’: [{‘title’: ‘The Pursuit of Happiness’,
‘description’: ‘In this clip from the movie “The Pursuit of Happyness,” Chris Gardner (played by Will Smith) has just finished an interview for a competitive internship at a brokerage firm. Despite his disheveled appearance—wearing a grey work jacket and looking tired—he is approached by Jay Twistle, a senior manager at the firm.\n\nDetailed Scene Breakdown:\n\n* The Approach: The scene opens with Chris looking down, appearing stressed or emotional. A voice calls out “Chris…”, and he turns to see Mr. Twistle walking toward him with a wide, congratulatory smile. They are in a professional office lobby with people moving in the background and a reception desk visible.\n* The Interaction: Mr. Twistle expresses his admiration, saying, “I don't know how you did it dressed as a garbage man, but you really pulled it off in there.” This refers to Chris's impressive performance during the interview despite his unconventional attire (having come straight from a night in a jail cell due to unpaid parking tickets).\n* Building Rapport: Chris politely thanks him, addressing him as “Mr. Twistle.” In a sign of newfound respect and a positive result, Twistle insists, “Hey, now you can call me Jay. We'll talk to you soon.” He gives Chris a friendly pat on the shoulder before walking away.\n* Gardner's Reaction: Chris is left standing in the hallway, a look of immense relief and quiet triumph washing over his face. The scene highlights a pivotal moment where his intelligence and determination overcame his difficult circumstances.\n\nThe video features the “Binge Society” logo in the top left corner and copyright information at the bottom for Columbia Pictures Industries, Inc. and GH One LLC from 2006.’,
‘similarity’: 0.4487778141613705},
{‘title’: ‘Bangkok Street Tour’,
‘description’: “The video is a static, high-angle shot overlooking a busy multi-lane city street in what appears to be Bangkok, Thailand, indicated by the presence of tuk-tuks and brightly colored taxis. The scene captures the constant flow of traffic throughout the entire clip.\n\nIn the foreground on the left, a blue hatchback and a traditional three-wheeled tuk-tuk with a pink delivery bag on its back are either stationary or moving very slowly. Throughout the video, various vehicles, including white sedans, silver SUVs, motorcycles, and the city’s signature pink and green-yellow taxis, navigate the lanes. \n\nThe road is divided by a narrow median with small green bushes. Traffic moves in both directions, with vehicles heading away from the camera and towards it. On the left side of the street, large multi-story buildings feature several prominent billboards, one of which displays a woman’s face. On the right, a row of trees lines the sidewalk, behind which several large, white-roofed structures with pink accents are visible. In the background, a pedestrian overpass crosses the busy road, and taller city buildings can be seen in the distance under a bright, overcast sky. The overall atmosphere is one of a typical, bustling urban afternoon.”,
‘similarity’: 0.13178936719516832}]}
- Version: Automatic History
Every insert, update, and delete is versioned. history() returns the
full changelog.
- Agents: Tool Calling and Memory as Computed Columns
An agent is just more computed columns. Define tools from @pxt.query
functions, wire tool calling and context assembly as a chain of columns,
and every insert triggers the full reasoning pipeline. Memory is a table
with an embedding index.
This pattern scales to production. See the Starter
Kit for a
complete implementation with documents, images, video, and cross-modal
search.
Created table ‘chat’.
Created table ‘agent’.
Added 0 column values with 0 errors in 0.01 s
Bonus: Cloud Storage (Optional)
Free managed bucket with Pixeltable Cloud. Set two config values; computed media flows to cloud. See Cloud Services.Summary
Links
- 10-Minute Tour
- Starter Kit (FastAPI + React reference app)
- Cookbooks (50+ recipes)
- Docs
- GitHub (Apache 2.0)