// readme

Temporal Agent Harness

Temporal-native agent harness (experimental) β€” build durable, composable AI agents on Temporal, with the AI SDKs you already use.

⚠️ Experimental. An early, fast-moving project from Temporal Technologies. APIs will change.

Demo Video

The Temporal Agent Harness gives your agents capabilities that are painful and error-prone to build yourself:

  • agents survive crashes and resume mid-turn, exactly where they left off (no wasted tokens!);
  • a rich tool-approval policy engine decides exactly when a tool call needs human sign-off β€” handing control to a human only then, and resuming the moment it’s granted β€”
  • agents compose programmatically, through real typed contracts (not limited to just text in, text out);
  • Code Mode β€” one tool that runs a Python script over your toolset β€” so a single turn orchestrates many tool calls with real control flow and concurrency;
  • callback tools let an agent invoke a tool that runs on the client β€” reading a file on a user’s laptop, capturing a photo on their phone β€” even though the agent runs on a remote worker;
  • agents are **fully…