I put together a small open source starter for a problem I kept wanting a cleaner answer to: how to test the TypeScript contract layer around a Foundry oriented workflow before deployment or later platform evaluation.
Repo: https://github.com/vitron-ai/aip-foundry-themis-starter
This is an unofficial example. It is not affiliated with, endorsed by, or maintained by Palantir.
The repo is intentionally narrow. It uses one intake-triage workflow to show how to:
-
shape a request payload
-
validate raw agent or function output with runtime schemas
-
normalize that output into a stable app-facing contract
-
preserve telemetry like request ID, latency, retry count, and fallback usage
-
export a local handoff artifact for later evaluation work
It also includes deterministic local tests for failure modes like malformed JSON, missing fields, unsupported status values, and empty output, plus a small React demo and an OSDK-like seam showing where a real client could plug in.
The point is not to replace AIP Evals or simulate the full runtime locally. It’s just a local contract-testing layer around the code you control, using Themis, so app integration is safer before you get to platform level evaluation.
If anyone here is working on similar workflows, I’d be interested in feedback on a few things:
-
Is this a useful layer to have before platform evaluation?
-
Does the integration seam look like the right place to swap in a real client?
-
Are there better example workflows to demonstrate than intake triage?
Thanks in advance
Best,
Higgs