{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/22"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/11"},{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/6"}],"enrichment":{"capability":"CPEX is a plugin framework that lets you intercept and enforce policies on AI agent operations through composable hooks and plugins, without modifying core application logic.","skillfed_tags":["agent-security","policy-enforcement","plugin-framework"],"use_cases":["Enforce access control and rate limiting on tool calls in multi-agent systems without modifying agent code.","Detect and block prompt injection attempts or policy violations at hook points before operations execute.","Collect audit logs, request tracing, and metrics on agent operations through observe-only audit plugins.","Implement data loss prevention by transforming or redacting sensitive data in payloads before they leave the system.","Build approval workflows or compliance validation gates that run automatically at critical agent operations.","Add circuit breakers and response validation to agent tool invocations without changing core agent logic."],"what_it_does":"CPEX is a plugin framework designed to add policy enforcement, security, observability, and governance to AI agents and toolchains without embedding that logic into application code. It works by defining named hook points in your application (e.g., before/after tool invocation, prompt fetching, agent execution), then registering plugins that attach to those hooks and run automatically when triggered. Plugins can allow, block, or modify payloads; they execute in ordered phases (sequential, transform, audit, concurrent, fire-and-forget) to support different enforcement and observability patterns.\n\nThe framework comes with built-in hooks for common AI operations (tool_pre_invoke, tool_post_invoke, prompt_pre_fetch, etc.) and lets you define custom hooks with your own payload types. It handles plugin registration, ordering, timeouts, and error isolation automatically. With 14 runtime dependencies including fastapi, pydantic, prometheus-client, and rich, it's designed for production agent systems that need structured policy pipelines and observability.","worth_installing":"Yes, if you are building AI agents or toolchains that need policy enforcement, security, or governance without tight coupling to application logic. The framework is actively maintained, has no known vulnerabilities, and uses a permissive license. However, it is early-stage (0.1.3, released 2026-03-05) with 12 GitHub stars\u2014evaluate stability and API maturity for your use case before committing to production."},"id":"cpex","links":{"html":"https://skillfed.io/packages/cpex","md":"https://skillfed.io/packages/cpex.md","pypi":"https://pypi.org/project/cpex/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"cpex","python_support":"supports_current","summary":"CPEX - ContextForge Plugin Extensibility Framework"},"popularity":{"monthly_downloads":76505,"position":14621,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
