
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@wrtnlabs/connector-github
Advanced tools
By installing the package, you can use functions for `Github`.
By installing the package, you can use functions for Github.
install the packages related with @agentica/core
npm install @agentica/core @samchon/openapi typia
npx typia setup
install the @wrtnlabs/connector-github package.
npm install @wrtnlabs/connector-github
import { GithubService } from "@wrtnlabs/connector-github";
async function main() {
const agent = new Agentica({
model: "chatgpt",
vendor: {
api: openai,
model: "gpt-4o-mini",
},
controllers: [
{
name: "Github Connector",
protocol: "class",
application: typia.llm.application<GithubService, "chatgpt">(),
execute: new GithubService(),
},
],
});
await agent.conversate("What you can do?");
}
main().catch(console.error);
Define the LLM model to be used through new OpenAI() and create an agent to allow tool calls by injecting the OpenAI class into new Agentica(). And you can define the tool to use by entering Connector package(tool) in the controllers part of the creator. At this time, the protocol must be set to "class" and the methods of the class must be set to "class" so that the methods of the class can be executed through utterance with LLM. typia.llm.applicationOfValidate<GithubService, "chatgpt">() converts the methods implemented in class in Typescript compilation time into openai function scheme.
FAQs
By installing the package, you can use functions for `Github`.
We found that @wrtnlabs/connector-github demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.