Metadata-Version: 2.4
Name: taisce-agent-framework
Version: 0.1.1
Summary: Microsoft Agent Framework adapter for Taisce: a context provider that injects governed memory as one untrusted user message and records the turn afterwards.
License-Expression: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: taisce>=0.1.1
Requires-Dist: agent-framework-core>=1.18.0

# taisce-agent-framework

The Microsoft Agent Framework has a context-provider seam, and `TaisceContextProvider` fills it: before
each model call it fetches the deployment's context for the subject and injects it as one `user`
message marked untrusted, and after the turn it records the person's message and the assistant's final
reply. Tool calls, tool results and the injected message itself are never stored.

Memory arrives as a user message rather than a system message on purpose. What the deployment returns
was written by somebody else, and a model that reads it as instruction can be steered by anything
anyone ever said to it.

The trigger is a count of loaded non-system messages, because that is what this framework's Python SDK
counts by. The stored history is the application's and is not rewritten; once over the trigger, every
run fetches the context once.

Recall failure is not fatal — the agent runs with more to read, not less. A failed store raises. Held
to the conformance suite through `python -m taisce_agent_framework.conformance`.

Built on [`taisce`](https://pypi.org/project/taisce/), the client for the v1 contract.
