4.1 ZAI versions of the core ~8 Foundry getting started demos (rewritten 26.1122)
This page describes
- the ZAI versions of 7 Palantir Foundry hands-on demos (mainly “speedruns”) and
The target audience
- hands-on learners. Those like myself who want minimal text/diagrams and maximum useful info for getting hands-on experience.
See also (these pages are very outdated … I will update later)
- PAL demo strategy.
- Important info about doing these demos. The advantages of website tutorials over Youtube videos (at least for beginners) and the critical importance of FDE (Foundry’s built-in AI chat tool).
TOC
HANDS-ON DEMOS (WIP)
- DEMOS 1) NO AI. These demos show that you dont need AI to do analysis (this is the safest option for sovereignty if viable).
- D1 (from PAL) (NO AI)
- DEMOS 2) Data protection (NONE). NONE = There are so far no specific demos for this functionality. But Data Protection is always there.
- DEMOS 3) AIP external (Agentic 1) (no automation; sovereignty risk via AI calls). You are using external LLMs. Processing occurs whenever data changes (there is no central loop running).
- D2 (from PAL)
- DEMOS 4) Automation (Agentic 2) (AI external; major sovereignty risk via automated AI calls). You have automation which watches for data changes and then invokes actions (and AI). Major sovereignty risks.
- D3
- DEMOS 5) ALPHA – Mining (how frontier models steal your “alpha”). This demo is primitive and uses black box Foundry functionality (“mining”), but Frontier model labs are certainly experts at such techniques.
- D5. This demo “mines” (extracts the alpha of) the workflows based on example data.
- DEMOS 6) AIP internal (Agentic 3). The best solution. Calls to AI are only to internal models. These demos show how to create and deploy your own model using Foundry.
- Other demos. Duplicate or unimportant demos (or demos I could not get to work).
- D4: Palantir ontology function “speedrun” (quick start) (26.0717).
- D6: Deep Dive: Building Your First APPLICATION (xxxPipeline???) (26.0719).
- D7: Deep Dive: Building Your First Pipeline (26.0720).
- DD19: Deep Dive: transform_data_w_code_repos (26.0805).
DEMOS 1) NO AI
Foundry’s core value proposition predates generative AI. It integrates data from different systems, represents entities and relationships through the Ontology, and helps users discover patterns, anomalies, connections, and business processes that are difficult to see in isolated datasets. In these demos, the LLM is an optional analytical assistant; the underlying data integration, Ontology, analysis, applications, and Actions remain useful without it.
Palantir emerged in the post-9/11 period with the broader objective of helping organizations connect signals across fragmented data and identify unusual patterns relevant to security and intelligence. The same architecture is now applied to commercial and operational problems.
D1 (from PAL) (NO AI)
SEE ALSO: 1.1 D1 = “Speedrun – Your First End-to-End Workflow” (26.0818).
- The action is called from the UI
- Classification of the demo:
- No analysis, just pipeline transforms and ontology action.
- [2] Data protection (access to the action is controlled.
- Other aspects of this demo:
- D1 is far too complicated for what it demonstrates (it is also the first demo on the PAL site).
- You create the demo from scratch by following the demo instructions (whose H1/H2 headers are not numbered on the PAL site; this significantly complicates the demo).
- ZAI splits the demos into 3 phases (this makes the demo much easier to finish and understand).
- NO AI.
D1 Main workflow diagram (simplified) (for details about this workflow see D1 workflow chats)
Action defition
Action reference in the UI
Upper left: Orignal order. Upper right: After reassigning to different employee. Below: Changes saved to data.
DEMOS 2) Data protection (no demos yet)
DEMOS 3) Agentic 1 (AI external / no automation) (sovereignty risk via AI calls)
D2 (from PAL)
Your first app with AI. This demo was way too complicated. You can save a lot of time by following the ZAI version of the demo (and skip part 3 of 3 that has absolutely nothing to do with AI, but requires a lot of effort).0
See also: 1.2 D2 (WIP) = “Speedrun – Your First AIP Workflow” (26.0828).
In this demo you use ai 3 times (and each time a different model)
- 1 Summarize text chunk
- 2 Create embedding of summary (embedding)
- 3 Send selected text chunks to LLM to answer question (RAG)
NOTE: Selecting the text chunks using the embedding does not involve AI. The comparison is done in AIP_logic.
D2 (AI external (3) / no automation)
Diagram below shows more detail:
- Use AI (external models) to clean up extracted chunks of text from PDFs, to extract text keywords (“entities” in the demo) from the chunk, to match a question to chunks via embeddings (machine language representation of the question/chunks meanings (not keywords)), make a RAG call with the question/chunks to answer the question.
- About half of the demo has nothing to do with AI (the ZAI version splits the demo into 3 phases; phase 3 is the no-AI part; you can skip it).
Demo D2 first AIP workflow (ZAI) diagram (26.0828) (3 different AI models are used)
This is the diagram you really need when doing the demo. A diagram of the configuration steps for demo D2 (I spent days on my initial attempts to recreate D2 without this diagram; with this diagram its fairly simple; its even simpler if you do it in 3 separate phases as described in the latest version of the docx and if you simply ignore the shaded out parts of the demo).

DEMOS 4) Agentic 2 (AI external + automation) (major sovereignty risk via automated AI calls)
(4) D3
See also: 1.3 D3 (WIP) = “Speedrun: Your First Agentic AIP Workflow” (26.0902).
This demo builds the first autonomous operational agent in this sequence.
- (1) A new Patient is added through the UI and written to the Ontology.
- (2) Automate detects that the Patient entered the monitored object set.
- (3)(4a) AIP Logic evaluates the Patient against the selected Clinical Trial.
- (3)(4b) The governed Action automatically writes the initial eligibility decision and reasoning.
- (5) Staff review the result and may manually adjust the eligibility decision through the UI. This last step is important: Automation makes the initial operational decision, but staff retain oversight and can override it through a governed Action.
D3 xxx
D3 xxx
D3 xxx
D3 xxx
Both D2 and D3 send enterprise data to external LLMs—why does Palantir call D3 the first “agentic” demo? (26.0902)
Follow the above header link for details. See also the complete chat with FDE/GPT.
My own simple explanation (refer to diagram below)
- Demo D2 made calls to external LLM. That is (in my opinion)
- an AI agent
- that shares internal data with an external LLM.
- However, D3 (the next demo) does several things that D2 did not:
- (3)(4) Foundry AIP_Logic (a no-code function definition) calls an LLM like D2, but it also modifies the ontology (core objects)
- (2) Foundry Automation (event-driven automation service) provides a main loop that automatically processes (in D3 this means calling API_logic) any incoming onotology data changes.
[3] Demo D3 Foundry agent
DEMOS 5) ALPHA (Mining)
(5) D5 (TO-UPDATE): Speedrun: Mining Your First Business Process (26.0718)
FDE: The demo starts with claims, customers, and claim-history logs. After ingesting these datasets into Foundry, the data is modeled as Ontology objects such as Customers and Claims. Machinery then uses the process logs to reconstruct how claims move through the business process over time. Once the process map is built, you can inspect where claims get stuck, identify why some remain unresolved, and embed the process view into an interactive application.

DEMOS 6) Agentic 3 (AI internal)
Other demos
Duplicate or unimportant demos (or demos I could not get to work).
D4: Palantir ontology function “speedrun” (quick start) (26.0717).
- At the end of this page is good demo of how FDE/GPT5.5 fixed a problem with the demo.
- #615_.docx
- Speedrun
D6: Deep Dive: Building Your First APPLICATION (xxxPipeline???) (26.0719).
- Some of this failed. FDE/GPT/OPUS could not fix.
- Outdated (2+ years) demo? MAKE THE DEMOS SIMPLER AND KEEP THEM UPDATED.
- #617_.docx
- Speedrun
D7: Deep Dive: Building Your First Pipeline (26.0720).
DD19: Deep Dive: transform_data_w_code_repos (26.0805).
26.1122 (0915, v1 26.0725)