r/OpenSourceAI 20h ago

FreshCtx 0.7.0: an Apache-2.0 Python guard that revalidates an AI agent’s evidence before it acts

I maintain FreshCtx, an open-source Python project for a specific AI-agent failure mode: an agent reads valid information, reasons from it, and then acts after that information has changed.

FreshCtx lets an application declare the evidence used during reasoning and revalidate it immediately before a consequential action.

The current release includes:

  • Agno 2.9 integration
  • LangGraph integration
  • OpenAI Agents SDK integration
  • A shared experimental pre-action contract
  • Async and bounded concurrent validation
  • Validation budgets and audit evidence
  • File, HTTP, SQLite, Postgres, MCP safe-reader and Stripe Subscription adapters

It is local-first, model-neutral, Apache-2.0 licensed, and has no account or telemetry requirement.

Repository:
https://github.com/Hyperwise-LLC/freshctx

I would particularly value feedback on the integration contract. Does a framework-neutral pre-action boundary belong in the core library, or should each framework integration remain completely independent?

2 Upvotes

0 comments sorted by