UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

28 lines (27 loc) • 1.55 kB
/** * ontology/instruction — the always-on ask `.ontology(...)` registers. * * Pattern: one versioned string constant and its injection id; a * zero-import leaf (`AgentBuilder` imports it on the default graph, * so it carries nothing else). * Role: Lens. It says what the model may DO with the served map and * promises nothing about serving; the map itself is the request-only * piece `serve.ts · ontologyPiece` composes. Registered through * `defineInstruction` the way `outputSchema()` and `.findings()` * register theirs, so it is a system piece the receipt hashes per * request and never a `history` turn. Judged by `unprovable` in * `test/modelFacingSurfaces.test.ts`. * Emits: N/A. */ /** The injection id under which the ask is registered — one per agent. */ export declare const ONTOLOGY_INSTRUCTION_ID = "ontology"; /** * Ontology v3 — at most six lines (v3, 9.108.0: the tool → skill line). Every sentence is about the model's own * conduct with a map that holds no data: read the question in its terms, * look where a source and its tool are declared, walk a relation from what * is held to what is needed, say where an unmet need WOULD be met, never a * value read off a definition — and speak to the person of sources, tools * and terms, never of the map (v1 made the model cite "the ontology" in five * of eight measured answers; docs/design/2026-09-ontology.md § Measured). */ export declare const ONTOLOGY_INSTRUCTION: string;