AxAgentDemos
type AxAgentDemos<IN, OUT, PREFIX> =
| {
programId: `${PREFIX}.actor`;
traces: Record<string, AxFieldValue>[];
}
| {
programId: `${PREFIX}.responder`;
traces: OUT & Partial<IN>[];
};Demo traces for AxAgent’s split architecture.
Actor demos use the runtime code field (javascriptCode for JavaScript,
<language>Code for other runtimes such as pythonCode).
Responder demos use the agent’s output type + optional input fields.
Type Parameters
| Type Parameter | Default type |
|---|---|
IN extends AxGenIn | - |
OUT extends AxGenOut | - |
PREFIX extends string | string |