kmsaiagent
v1.0.0
Published
A Ai agent for small project with all features
Maintainers
Readme
KmsAiAgent
A reusable React component that connects to the Google Gemini API.
🚀 Build locally
npm install
npm run buildOutputs are written to dist/:
- CommonJS:
dist/index.cjs - ES Module:
dist/index.mjs - Types:
dist/index.d.ts
📦 Install (when published)
npm install kmsaiagent📖 Usage
import { GeminiAgent } from "kmsaiagent";
function App() {
return <GeminiAgent apiKey="YOUR_API_KEY" agentName="Support Bot" />;
}⚠️ Notes
- Requires React 18+ and MUI 7 peer dependencies installed in your app.
- The component calls
localStorage; ensure it runs in a browser environment.
