0.12.4 • Published 3 months ago

agentica v0.12.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Agentica CLI Tool

npx agentica start <directory>
npx agentica backend <directory>
npx agentica client <directory> 

GitHub license npm version Downloads Build Status

Agentica CLI Tool cloning boilerplate project.

  • start: a frontend application creating agent in browser
  • backend: backend application serving the agent through websocket protocol
  • client: frontend application connecting to above websocket server

Introduction

agentica-conceptual-diagram

import { Agentica } from "@agentica/core";
import typia from "typia";

const agent = new Agentica({
  controllers: [
    await fetch(
      "https://shopping-be.wrtn.ai/editor/swagger.json",
    ).then(r => r.json()),
    typia.llm.application<ShoppingCounselor>(),
    typia.llm.application<ShoppingPolicy>(),
    typia.llm.application<ShoppingSearchRag>(),
  ],
});
await agent.conversate("I wanna buy MacBook Pro");

The simplest Agentic AI library, specialized in LLM Function Calling.

Don't compose complicate agent graph or workflow, but just deliver Swagger/OpenAPI documents or TypeScript class types linearly to the @agentica. Then @agentica will do everything with the function calling.

Look at the below demonstration, and feel how @agentica is easy and powerful.

import { Agentica } from "@agentica/core";
import typia from "typia";

const agent = new Agentica({
  controllers: [
    await fetch(
      "https://shopping-be.wrtn.ai/editor/swagger.json",
    ).then(r => r.json()),
    typia.llm.application<ShoppingCounselor>(),
    typia.llm.application<ShoppingPolicy>(),
    typia.llm.application<ShoppingSearchRag>(),
  ],
});
await agent.conversate("I wanna buy MacBook Pro");

https://github.com/user-attachments/assets/01604b53-aca4-41cb-91aa-3faf63549ea6

Demonstration video of Shopping AI Chatbot