connery-sdk

connery-sdk

The open-source SDK for creating AI plugins and actions

Stars: 258

Visit
 screenshot

Connery SDK is an open-source NPM package that provides an SDK and CLI for developing plugins and actions. The SDK offers a JavaScript API to define plugins and actions, which are then packaged into a plugin server with a standardized REST API. This enables automation in the development process and simplifies handling authorization, input validation, and logging. Users can focus on the logic of their actions while the standardized API allows various clients to interact with actions uniformly. Actions can communicate with external APIs, databases, or services, making it versatile for creating AI plugins and actions.

README:

The open-source SDK for
creating AI plugins and actions

Release License

πŸ€” What is Connery SDK?

Connery SDK is an NPM package that includes both an SDK and a CLI, designed for the development of plugins and actions.

The CLI automates many things in the development process. Meanwhile, the SDK offers a JavaScript API for defining plugins and actions and packaging them into a plugin server with a standardized REST API generated from the metadata. The plugin server handles authorization, input validation, and logging. So you can focus on the logic of your actions.

The standardized API enables various clients to interact with actions in a unified way, regardless of the underlying implementation.

An action consists of JavaSctipt code that defines its logic and metadata that describes its input and output. The action can communicate with external APIs, databases, or other services.

πŸ‘‰ Example: Send email is an action in the connery-io/gmail plugin.

Connery diagram

πŸš€ Quickstart

Initialize a new plugin with a sample action:

npx connery@latest dev init

Install the dependencies:

npm install

Run the plugin server:

npm start

Open the plugin in the browser: localhost:4201.

πŸ‘‰ Check out the full quickstart guide to learn more.

βœ… Example 1: Send email from an OpenAI GPT

Send email from an OpenAI GPT

πŸ‘‰ Learn more: OpenAI GPT client.

βœ… Example 2: Summarize a webpage and send it by email from OpenGPTs

Summarize a webpage and send it by email from OpenGPTs

πŸ‘‰ Learn more: LangChain OpenGPTs client.

βœ… Example 3: Scale back-end service on AWS from Slack

Scheduled scaling of Back End service on AWS Fargate from Slack using Connery

πŸ‘‰ Learn more: Slack client.

🌟 Support us and stay up-to-date

Please give the repository a star to support the project and stay up-to-date with the latest news.

Give the repository a star

πŸ’‘ Use cases

🌳 Ecosystem

We aim to build a community-driven ecosystem of open-source plugins and clients. So, anyone can benefit from the shared knowledge and resources to accelerate innovation.

Below are manually curated lists of open-source plugins built with Connery SDK and clients for interacting with them:

πŸ“– Documentation

Check out the documentation to learn more.

πŸ’¬ Feedback & Support

Connery is still in early beta, so not everything is perfect yet. Please let us know of any suggestions, ideas, or bugs you encounter, and we will use your feedback to improve our upcoming releases.

You can reach us via the following channels:

  • Discussions - for feedback, questions, and discussions.
  • Issues - for bug reports and feature requests.
  • Discord - for community collaboration.
  • Twitter - for updates and announcements.

πŸ—„οΈ Repository structure

This is a monorepo that contains the following components:

Name Path Description
SDKΒ &Β CLI ./packages/connery The connery package that contains both the SDK and CLI for plugins and actions development.
Docs ./apps/docs The documentation website.

πŸ‘¨β€πŸ’» Contributing

We are open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see our contributing guide.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for connery-sdk

Similar Open Source Tools

For similar tasks

For similar jobs