From 7ffe2bbdaeb095b23ba599db1deb8e395a8cbc3c Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 6 May 2026 14:52:53 -0700 Subject: [PATCH] feat(agent-sdk): add public surface re-exports --- sdks/typescript-agent-sdk/src/index.ts | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sdks/typescript-agent-sdk/src/index.ts diff --git a/sdks/typescript-agent-sdk/src/index.ts b/sdks/typescript-agent-sdk/src/index.ts new file mode 100644 index 00000000000..c4700231a78 --- /dev/null +++ b/sdks/typescript-agent-sdk/src/index.ts @@ -0,0 +1,35 @@ +/** + * @litellm/agent-sdk — public surface. + * + * Three-level hierarchy: + * Agent — definition (model, system prompt, tools) + * ↓ + * Session — VM sandbox running under an agent + * ↓ + * Run — single execution within a session + */ + +export { Agent, AgentHandle } from "./agent.js"; +export { SessionHandle } from "./session.js"; +export { Run } from "./run.js"; + +export type { + AgentCreateOptions, + AgentInfo, + ClientOptions, + ConversationTurn, + CreateSessionOptions, + ListOptions, + ListResult, + Message, + ModelRef, + RunEvent, + RunInfo, + RunResult, + RunStatus, + SDKImage, + SessionInfo, + SessionStatus, +} from "./types.js"; + +export { LiteLLMAgentError } from "./types.js";