agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
19 lines • 1.02 kB
JavaScript
/**
* ag-ui — the AG-UI protocol adapter over agentfootprint's event stream.
*
* `agUi()` is the adapter a host takes (`streamHandler` on
* `agentfootprint/hosting`): it reads an untrusted request (a `RunAgentInput`,
* or a gateway's own body through a `reader`), plans the turn against what the
* server holds, translates the run and frames it (`agUiSse`, or a gateway's
* own envelope through `framing`).
* `agUiSerializer` turns one run's served events into AG-UI events; `agUiSse`
* frames them for the wire with the official `@ag-ui/encoder`. Published
* through the `agentfootprint/ag-ui` door. The fixed sentences and the id
* grammar stay internal — tests import them by module path.
*/
export { agUiSerializer, AG_UI_CUSTOM_EVENTS, } from './serializer.js';
export { agUiSse } from './framing.js';
export { agUi, } from './adapter.js';
export { AG_UI_MAX_ID_LENGTH, readAgUiRunInput, } from './request.js';
export { AG_UI_PROTOCOL_VERSION, } from './types.js';
//# sourceMappingURL=index.js.map