What is Connery?
Connery is an open-source plugin infrastructure for AI. With Connery, you can easily create a custom plugin with a set of actions and seamlessly integrate them into your LangChain agent. Connery will take care of critical aspects such as runtime, authorization, secret management, access management, audit logs, and other vital features. Furthermore, Connery, supported by our community, provides a diverse collection of ready-to-use open-source plugins for added convenience. Learn more about Connery:- GitHub: github.com/connery-io/connery
- Documentation: docs.connery.io
Setup
Installation
You need to install thelangchain_community
package to use the Connery tools.
Credentials
To use Connery Actions in your LangChain agent, you need to do some preparation:- Set up the Connery runner using the Quickstart guide.
- Install all the plugins with the actions you want to use in your agent.
- Set environment variables
CONNERY_RUNNER_URL
andCONNERY_RUNNER_API_KEY
so the toolkit can communicate with the Connery Runner.
Toolkit
In the example below, we create an agent that uses two Connery Actions to summarize a public webpage and send the summary by email:- Summarize public webpage action from the Summarization plugin.
- Send email action from the Gmail plugin.