import type { DeepAgentDefinition, DefineDeepAgentConfig } from "./types.js"; /** * Define a Managed Deep Agent. * * `defineDeepAgent` is the v0 authoring contract for MDA. It accepts the full * `createDeepAgent` surface except the managed keys (`backend`, `store`, * `checkpointer`, `systemPrompt`) and returns a pre-runtime spec — not a * compiled graph. * * The return type carries `~agentTypes` / `~deepAgentTypes` phantoms and * preserves the authored config type, so evaluators and `useStream` can take * `typeof agent` and unwrap invoke state. * * At deploy time, `mda` generates an entry module that hands this definition to * the managed runtime, which injects the platform-owned backend/store/ * checkpointer, embeds the system prompt from `instructions.md`, and compiles * it into a Deep Agent. * * @example * ```ts * import { defineDeepAgent } from "managed-deepagents"; * import { queryDB } from "./tools/query-db"; * * // The system prompt comes from instructions.md next to this file. * export const agent = defineDeepAgent({ * name: "research-assistant", * model: "openai:gpt-5.5", * tools: [queryDB], * }); * ``` */ export declare function defineDeepAgent(config: TConfig): DeepAgentDefinition; //# sourceMappingURL=define-deep-agent.d.ts.map