Catalog PyPI
PACKAGE EXPLORERView in registry

agentassert-typec-proxy

PyPI

Deprecated — use agentassert-abc[proxy] instead.

agentassertai-agentsbehavioral-contractsdeprecatedmiddlewareproxyqualixarruntime-enforcementtypec
Versions collected1
Direct dependencies6From release 0.7.0
Last observed20 Oct, 21:30 UTC

README

Version 0.7.0 documentation

agentassert-typec-proxy

HTTP forwarding proxy — formal behavioral contracts middleware with zero code change.

This is the flagship. Drop it between any agent harness and any LLM API. Set one env var. Done.

Quickstart

pip install agentassert-typec-proxy
agentassert-proxy proxy start --contract contract.yaml

Then in your agent environment:

export ANTHROPIC_BASE_URL=http://localhost:9000/anthropic
export OPENAI_BASE_URL=http://localhost:9000/openai

Supported Providers

ProviderRoute PrefixEnv Var
Anthropic/anthropicANTHROPIC_BASE_URL
OpenAI/openaiOPENAI_BASE_URL
Gemini/geminiGEMINI_BASE_URL
OpenRouter/openrouterOPENROUTER_BASE_URL

Endpoints

MethodPathDescription
GET/healthHealth check, returns contract name and Θ
GET/statusFull status: Θ, JSD, violation count
POST/admin/reloadTrigger contract hot-reload

Performance

  • p99 overhead < 30ms (excluding provider RTT)
  • All regex patterns pre-compiled at startup
  • Hot-reload via SHA256 file polling (500ms interval)
  • Fail-safe: invalid contract → keeps old monitor

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.7.011 Aug 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
qualixar/agentassert-typec

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:30 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c4567f47cfe0ddabf3db582fade6a2f8d9b19c8aa17730b5eef7344bc3ffd02c