Install the eGain Context Plugin, ask your agent for CaseAssist, and open what it builds: a customer question in, a grounded answer with cited articles out, and the loop closed with a rating or a knowledge-gap suggestion, all through the eGain SDK APIMatic generated.
Click the demo to start. Copy and run the install command, then pick the CaseAssist prompt. Interactive portal demo opens the live eGain developer portal inside the demo.
The plugin gives your agent the eGain SDK's real client, auth, methods, models and error types, so the code it writes is right the first time.
One command adds the eGain SDK skills (30 skills and a planner agent) to Claude Code, Cursor, GitHub Copilot or Codex.
$ npx context-plugins install https://egn-apimatic-poc.pages.dev/__downloads/plugin.zipOne prompt. The agent plans first: it reads the plugin's skills and the SDK map, and writes a contract sheet before a line of code.
Paste a customer question, read eGain's grounded answer and its sources, then rate the article or report the gap.
Runs on demo data through the same SDK until a eGain key is set.
All through the APIMatic TypeScript SDK, e-gain-knowledge-api 4.0.0, shipped inside the context plugin.
answers.getBestAnswer
{ portalId, q, lang }search.aiSearch
articleApi.getArticleByIdarticleApi.rateArticle
suggestionApi.makeSuggestionportalApi.getMyPortals
{ lang, acceptLanguage }APIMatic built all three from eGain Knowledge API 4.0.0: 83 operations across 20 groups, in eGain's own branding.
Every operation with request and response examples, code samples in C#, Python and TypeScript, and an llms.txt for AI tools.
See getBestAnswer →Typed clients with retries, timeouts, typed error arms per operation and a single transport seam for testing.
Download the SDKs →Teaches coding agents to use the SDKs correctly: plan first, ground every call in the SDK map, handle every error arm.
Install the plugin →Install the plugin, then ask your assistant for your first eGain integration in C#, Python or TypeScript.
$ npx context-plugins install https://egn-apimatic-poc.pages.dev/__downloads/plugin.zip