Foundry News

Foundry News · Independent news and analysis on Palantir, Foundry, AIP and the Ontology

Products · Ontology

Ontology SDK (OSDK)

The Ontology SDK (OSDK) gives developers access to the Ontology from their own development environment, with generated types and functions for TypeScript, Python, Java and other languages.

Kind
Developer tool, part of Foundry
Areas
Developer tools, Ontology
Status
Available
Palantir’s page
palantir.com/docs/foundry/ontology-sdk/overview
Last checked
Dec 5, 2026

What it is

The OSDK lets developers treat Foundry as the backend for their own applications. It is distributed through npm for TypeScript, pip or Conda for Python and Maven for Java, with an OpenAPI spec for other languages. Applications that use it are created and managed in Developer Console.

The generated types and functions cover only the part of the Ontology the application needs, and carry Ontology metadata such as property names and descriptions into the editor. The OSDK uses a token scoped to the chosen ontological entities, on top of the user's own permissions.

The OSDK can also be used within compute modules. Teams that define their Ontology in code can use a SuperRepo instead, where the OSDK is generated locally and regenerated when definitions change.

“The Ontology Software Development Kit (OSDK) allows you to access the full power of the Ontology directly from your development environment. The OSDK supports npm for TypeScript, pip or Conda for Python, Maven for Java, and OpenAPI spec for any other language.”
Palantir’s documentation

What it looks like

The demo app setup page, with example code and documentation.
The demo app setup page, with example code and documentation. Image: Palantir
The Application SDK overview panel in Developer Console.
The Application SDK overview panel in Developer Console. Image: Palantir

What people build with it

  • Read from and write back to the Ontology from an external application
  • Build React applications on Foundry with the TypeScript bindings
  • Query and explore Ontology types directly in a code editor
  • Bootstrap a TypeScript, Python or Java application against the Ontology

Where it stops

  • OSDK applications are created and managed in Developer Console
  • Row and column access controls filter what a user can read, but do not extend to the response payload or to what the application does with the data
  • Palantir advises pairing those controls with a marking or Classification-based Access Control to protect data downstream

What changed

From Palantir’s monthly announcements, newest first. Each line opens the announcement.

Our stories

Works with

Developer ConsoleSuperRepoCompute modulesOntologyOSDK React applicationsFunctions

More in ontology

Agent SDKCode RepositoriesCode WorkspacesCustom EndpointsCustom widgetsFoundryTSGlobal BranchingOntology MCPPalantir extension for Visual Studio CodePalantir MCPPro-code agentsPython transformsVS Code workspaces

Every Palantir product