Context Plugins Overview
Give AI coding agents accurate, current context about your API and SDKs.
AI coding agents are good at writing code. They struggle with API integrations.
The problem isn't code generation; it's context. When an agent draws on stale training data or scraped docs, it produces code that calls endpoints that don't exist, uses wrong SDK versions, or mishandles authentication.
APIMatic Context Plugins give agents accurate, current context about your API, so developers get production-ready integrations without needing to read your docs or switch context. Developers go from your portal to a working integration in minutes, not hours. In production, teams have seen a 63% reduction in implementation time and a 78% decrease in rework.
What an APIMatic Context Plugin contains
- Your full API reference: endpoints, parameters, and request and response models
- Authentication details for each endpoint
- Versioned SDK code in the developer's language of choice
- Integration workflows and code samples from your documentation
- Skills for each language, covering client setup, authentication, calling endpoints, working with models, handling errors, configuration, and testing
Load an APIMatic Context Plugin into Claude Code, Cursor, VS Code, or Codex and the agent gains task-aware, grounded context. It can suggest the correct endpoint, generate type-safe SDK calls, handle authentication properly, and surface real integration patterns.
Generate and publish a plugin
1. Publish your SDKs (recommended)
For the best results, publish each SDK with source code first, so the plugin can point AI agents at your SDK repositories on GitHub. Run this once per SDK language:
apimatic sdk publish --profile-id=<id> --language=<lang> --version=<version> --publish-type=sourcecodeTo publish the package to its registry at the same time, add --publish-type=package as well. To be walked through the options instead, run apimatic sdk publish with no flags for guided mode. See Publish SDKs for setting up a publishing profile.
Generating a plugin without published SDKs
If your SDKs aren't published, apimatic plugin generate builds a local plugin that you can preview. We recommend publishing your SDKs first for a better experience.
2. Generate the plugin
apimatic plugin generateYou'll be asked for the plugin's ID, display name, and version. For every flag, see plugin generate in the CLI Reference.
3. Publish the plugin
apimatic plugin publishThis prints the git commands that publish your plugin to GitHub. It doesn't run them, so you can review what becomes public first. For every flag, see plugin publish in the CLI Reference.