@banumeow/n8n-nodes-oci-generativeai-agent
v0.3.14
Published
n8n custom node using OCI SDK for Generative AI Agent Runtime
Readme
n8n-nodes-oci-generativeai-agent
This is an n8n community node. It lets you use OCI Generative AI Agent in your n8n workflows.
Installation (in n8n)
Follow the official guide: https://docs.n8n.io/integrations/community-nodes/installation/
- In n8n, go to Settings > Community Nodes > Install, then search for
n8n-nodes-oci-generativeai-agent(after it’s published) or paste the package name.
Operations
- Create session
- Get session
- Delete session
- Chat
Note: The current implementation contains a placeholder "Chat" operation that echoes the provided message. You can wire this to the OCI Generative AI Agent Runtime SDK by replacing the placeholder call with actual SDK client calls.
Credentials
If your node needs OCI credentials (tenancy OCID, user OCID, private key, etc.), create an n8n Credential type and reference it from this node’s credentials property. For now, this sample does not use credentials.
Development
Prerequisites:
- Node.js LTS
- npm
Install dependencies:
npm installBuild the node:
npm run buildFor development with live rebuilds:
npm run build:watchLint:
npm run lint
npm run lint:fixLocal test in n8n:
- Build the project (
npm run build). - Copy the produced
distinto your n8n custom nodes directory or install the package from a local tarball created bynpm pack.
Publishing to npm
- Ensure
package.jsonhas a uniquename, correctversion, andn8nsection points to your built node file indist. - Build the project:
npm run build. - (Optional) Verify the package contents:
npm packand inspect the generated.tgz. - Log in to npm:
npm login(if not already logged in). - Publish:
npm publish.
License
MIT © Vivek Chakraborty
