# Fox SDK Plugins

Plugins live under `src/plugins` and expose protocol-specific tools plus reusable primitives. A plugin should keep protocol mechanics in Fox and leave product/session orchestration to consumers such as `agentic-sdk`.

Available plugins:

- [`polymarket`](./polymarket/README.md): Polymarket V2 read tools and stateless primitives for Polygon/Amoy market discovery, quotes, deposit wallets, pUSD funding, allowance preflight, order placement, cancellations, and position/order reads.
- `calldata-decoder`: Read-only calldata decoding helpers.

Consumers import plugins from their package export paths, for example `@metamask/fox-sdk/plugins/polymarket`. Write flows that require confirmations, persistence, or resumable jobs should compose Fox primitives in a higher layer rather than adding stateful logic here.
