Hi everyone, Paimon is increasingly used from AI stacks - the docs already cover Torch, Ray, Daft, multimodal tables and vector search - but there is still no defined way for an AI agent to operate a Paimon table. Today an agent writes ad-hoc pypaimon code per question, and it fails in predictable ways: unbounded scans, scripts that nobody reviews, wrong assumptions about table modes (append vs primary key vs data evolution), and options invented from the model's training data instead of the current docs. DeepSeek Harness (DSH) makes the agent primitives first-class: a tool registry, installable bundles, sidebar panels and settings pages, MCP resources, skills, and multi-agent and workflow orchestration - so an agent is not a chat window but an executor that can operate real infrastructure. I plugged Paimon into it. An optional bundle (paimon-python/dsh-plugin, about 12,800 lines of JavaScript and Python plus 3,300 lines of tests) puts three tools and two UI surfaces in front of pypaimon, so an agent can read, write, profile and evolve Paimon tables and look up the current documentation on demand. The effect is that using Paimon drops to "ask a question in natural language": no code and no commands to create a table, append rows, aggregate, or evolve a schema. The plugin manages the environment and the pypaimon version itself, and the docs are read live instead of waiting for a release. The data layer the AI era needs - streaming and batch in one table, multimodal data such as video and BLOBs, vector and full-text search, data evolution - is what Paimon already has. What was missing is the layer that lets an agent use it by default. With that layer, Paimon can move from "an optional lakehouse format" to "the default data layer for AI applications", and take its rightful place in the AI era. What it is An optional bundle (currently at paimon-python/dsh-plugin) that puts three tools and two UI surfaces in front of pypaimon, inside DSH: paimon - 14 actions over a warehouse: database and table DDL, get_table, alter_table (9 change kinds, no data rewrite), read, aggregate (count/countDistinct/sum/avg/min/max with groupBy, filter and orderBy), write (append/overwrite/partition overwrite), delete, truncate, list_snapshots. Append, primary-key and data-evolution semantics are handled explicitly, and delete refuses append and data-evolution tables with an actionable message. pypaimon_runtime - a private virtualenv with an installable pypaimon version (status/versions/install/uninstall). It targets 2.1.0 and feature-detects 1.2-1.4, so a call those releases cannot serve answers UnsupportedError naming the release, not a traceback. paimon_docs - list/read over the whole official documentation, read live from https://paimon.apache.org: 223 documents in 16 sections on master today, 7 versions, markdown plus the official URL of each page. A documentation panel and a settings page, backed by the same objects the tools use, so the user and the agent read the same catalog. Why it is shaped this way A bounded vocabulary beats a code sandbox. The agent does not write Python, shell or SQL: it picks one of 14 actions with a fixed schema. Every call is reviewable, and statistics stay inside the tool - aggregate answers in one call instead of scanning rows into the model. Guardrails live in the tool, not in the model's discipline. By default every call reads and writes the single warehouse configured in Settings - a per-call warehouse argument is dropped and the deviation is reported - results are capped at 60,000 characters with truncation flags, one aggregate scans at most 5,000,000 rows, and every error carries a type (ValidationError / UnsupportedError / PaimonError / RuntimeError) instead of a traceback. Documentation is read, not memorized. Nothing is generated at build time: the catalog is crawled from the live site (66 requests, about 9 seconds cold, 8-way parallel), cached for 6 hours, and a stale cache is served when the site is unreachable. An option that landed on master last week is visible to the agent without waiting for a release. Two alternatives were rejected on the way here: letting the model write and run pypaimon snippets (unbounded, unreviewable), and bundling a snapshot of the documentation (stale the day after a release). Effect in practice "Create demo.events, append these rows, then show the top three channels by amount" takes three tool calls and no generated code, because the statistics round-trip is a single call: {"action":"aggregate","identifier":"demo.events","groupBy":["channel"], "aggregations":[{"op":"sum","field":"amount","as":"total"}], "orderBy":{"field":"total","direction":"desc"},"limit":3} Setup is one click: a private virtualenv is created and pypaimon installed (about a minute); nothing global is touched, and the pypaimon sdist is unchanged (MANIFEST.in ships only pypaimon/). Zero impact on existing users: one additive directory, no new Maven module, no dependency for any engine integration, and no change to table semantics or storage. Next steps I will send a PR with the bundle, a short page under the "PyPaimon & AI" documentation section, and the test/CI wiring. A working prototype is in my checkout today, so I can also open a draft PR first if that is easier to review.
Thanks, Yubin Li
