AgenticRetrievalSession#

class scikitplot.corpus.AgenticRetrievalSession(query, budgets=<factory>, steps=<factory>, evidence_ids=<factory>, errors=<factory>)[source]#

Ephemeral state for one investigation.

Notes

Developer. Not persisted, no storage backend, and not a fourth role alongside document storage, vector store and graph store. Ephemerality is what lets durable agent memory be deferred honestly rather than half-built.

Parameters:
budgets: BudgetPolicy[source]#
errors: list[ErrorRecord][source]#
evidence_ids: set[str][source]#
query: str[source]#
record(step)[source]#

Append a step to the trace.

Parameters:

step (str)

Return type:

None

steps: list[str][source]#
to_dict()[source]#

Return a JSON-compatible mapping.

Return type:

dict[str, Any]