Publishing an AIP Logic function is the step that lets Workshop apps, actions and automations use it. This guide follows one function from draft to release, using Palantir's own documentation. It also covers what to check when callers already depend on the function.

We have already covered testing a new model on your AIP Logic functions in AIP Evals before you switch. This piece picks up after that test. In our view, the release step deserves as much planning as the model test.

Before you start: you need an AIP Logic function you have finished iterating on and a Foundry branch to work in. You also need the Workshop module, action or automation that will call the function.

What you are releasing

Palantir describes the tool in its AIP Logic overview: "AIP Logic is a no-code development environment for building, testing, and releasing functions powered by LLMs."

The core concepts page explains what a function does: "A Logic function takes inputs like Ontology objects or text strings, and returns an output that can be a value (such as a string), an object, or an edit to the Ontology itself." We think those inputs and outputs are the contract your callers rely on.

The getting started guide lists the inputs: "Supported inputs include array, boolean, date, double, float, integer, long, media reference, model, object, object list, object set, short, string, struct, and timestamp." On outputs, it says: "This can be either a Value (primitive or object) or all the Ontology edits that your function has made."

From draft to published version

  1. Work on a branch. Palantir's overview says: "Use Foundry Branching to develop Logic functions in isolation." The getting started guide adds: "You can publish them for use in branch-aware applications such as Workshop and merge the changes through an approved proposal."
  2. Run the function as a test. Palantir says that when you run the function in Logic, the Debugger shows the Ontology edits it proposes for your scenario. Those edits are not executed.
  3. Publish. "When you are done iterating on your Logic function, find and select the Publish option located next to save to publish the Logic function."
  4. Back an action if the function edits data. The core concepts page says: "To edit the Ontology, Logic functions must be published and called from an action." The getting started guide continues: "Next, create a new action backed by the Logic function you have just published."
  5. Put it in front of users. "You can now use this new action in a Workshop module to power an operational workflow."

Actions are not the only callers. Palantir says a Logic function can back a Markdown widget in Workshop. Other Logic functions and functions on objects can also call it, through the Ontology function tool.

Automations can call a Logic function too. Palantir says you can start a new automation from the Logic dashboard, using the Automations option on the right-hand side.

Where AIP Evals fits

Palantir says builders can configure evaluations after publishing a Logic function. It says evaluations let you write detailed tests for your functions.

Palantir lists what those tests can do. You can compare models on your functions and examine variance across multiple runs. Palantir also says AI FDE can diagnose failures: it identifies root-cause patterns in failing test cases and suggests improvements to your prompts.

In our view, the practical gate uses three tools together: build on a branch, run your evaluations, and merge only through an approved proposal. To find functions with failing tests, see our guide to Workflow Lineage's Evals color mode.

Changing a function your callers already use

Start with version history. The getting started guide says: "In the version history tab you can compare two versions of a logic to see what changed between them. Specifically what blocks were edited, added, or removed."

Does upgrading a function update the automations that use it automatically? Palantir's July 2026 announcements describe upgrading function-backed automations to target versions through Workflow Lineage. "Bulk function upgrades for automations are now available in Workflow Lineage, allowing you to keep your function-backed automations up to date without updating each one individually."

Palantir says: "Bulk upgrades work for both AIP Logic functions and code repository functions." It describes the change this way: "Previously, updating the functions behind your automations meant handling changes individually. Now, you can review and upgrade all your automation functions to target versions in a single, streamlined action."

Palantir's steps for a bulk upgrade:

  1. Open Update Automations in the bottom panel of Workflow Lineage.
  2. Select the automations to update. A pop-up window lists the ones queued for the upgrade.
  3. Choose an option. Palantir says "All or nothing" upgrades functions only if all of them can upgrade without breaking changes. "Partial" upgrades only the functions without breaking changes and leaves the rest untouched.
  4. Select Upgrade. A summary shows which automations upgraded successfully and which failed.

Seeing who depends on what

Palantir's announcement says: "A Workflow Lineage graph shows every relationship between your resources in a single graph, so you can see dependencies without piecing them together manually."

We covered the graph's success-rate color mode for AIP Evals results on November 25. We think it is worth checking the dependency graph and the color mode together before any upgrade.

The Uses tab covers callers outside Foundry: "In the Uses tab you can copy a curl request to run the logic outside of Foundry in your terminal. Note this is not available for Logics that return ontology edits."

If a release goes wrong

Start in version history. Compare the problem version with the last one that worked, and see which blocks were edited, added or removed.

Next, check the function's health. Palantir's overview says you can monitor success and failure counts and execution duration through metrics.

We think the safest recovery follows the same path you used to ship. Make the fix on a branch, rerun your evaluations and merge through a proposal. Then upgrade your function-backed automations to the fixed version through Workflow Lineage. We suggest rehearsing this in a test environment before you rely on it in production.

Watch out for

  • Markdown widgets need text. Palantir says a Logic function that backs a Markdown widget in Workshop must return a string. We suggest checking for this before you change a string output to an object.
  • Debugger edits are proposals. Palantir says the Ontology edits shown in the Logic Debugger during a test run are not executed.
  • Edits need an action. Palantir says a function that edits the Ontology must be published and called from an action.
  • No curl request for edits. Palantir says the Uses tab's curl request is not available for functions that return Ontology edits.
  • Read the upgrade summary. Palantir says the Partial option leaves functions with breaking changes untouched. In our view, the summary is your record of which automations still need attention.
  • Evaluations come after publishing. Palantir says builders can configure evaluations once a function is published. We think branching and proposals are the way to keep untested changes away from users.

What to watch

In our view, the main parts of a release workflow for LLM functions are already in Foundry: branching, version comparison, evaluations and upgrades driven from Workflow Lineage. Palantir's monthly announcements are the place to follow further updates to Workflow Lineage and AIP Logic.