FreshCtx 0.7.0 adds an optional OpenAI Agents SDK integration for custom function tools.
Highlights:
- validates declared FreshCtx dependencies through an SDK input guardrail immediately before function-tool execution
- translates stale or unverifiable blocking results into the SDK native input-tool tripwire
- correlates tool name and tool-call ID without persisting raw tool arguments
- preserves structured FreshCtx check evidence on the guardrail result
- includes a model-free example using the real Agents SDK runner
Install:
python -m pip install 'freshctx[openai-agents]==0.7.0'
Boundary: SDK hosted tools, built-in execution tools, handoffs, and Agent.as_tool() remain outside this function-tool guardrail surface.
Verification: protected CI passed on Python 3.10-3.13, package and Windows onboarding checks passed, and a clean public PyPI installation was verified on Python 3.13.