Experts.js simplifies building and deploying OpenAI's Assistants, enabling you to create interconnected AI agents with advanced memory and attention to detail. Use our innovative framework to build complex multi-agent systems effortlessly, integrating tools and managing vast knowledge sources. Transform your AI capabilities without the complexity.
Experts.js is an innovative JavaScript library that simplifies the creation and deployment of OpenAI's Assistants, empowering developers to build advanced Multi AI Agent Systems with ease. This framework not only enhances your ability to link Assistants together as Tools but also provides enhanced memory management and meticulous attention to detail.
Key Features
- Next-Level Usability: Built upon OpenAI's new Assistants API, Experts.js streamlines the integration of AI agents, allowing seamless interactions with large language models (LLMs) like the GPT-4o mini.
- Thread Management: The library introduces a unique managed context window called a Thread, where messages and files can be stored. This enhances communication efficiency among Assistants.
- Complex Workflows Made Simple: Experts.js provides a straightforward interface for creating assistants, managing tools, and overseeing the orchestration of workflows, minimizing the complexity of managing Run objects.
Getting Started
Overview of Classes
- Assistant: The main object that represents an AI agent, enabling you to create intelligent systems tailored to specific tasks.
- Tool: An Assistant that can function as a reusable component within other Assistants, enhancing flexibility and modularity.
- Thread: A context management system that retains memory, allowing for more personalized and relevant interactions.
Example Usage
Using Experts.js is straightforward. Here's a quick example:
import { Assistant, Thread } from "experts";
const thread = await Thread.create();
const assistant = await Assistant.create();
const output = await assistant.ask("Say hello.", thread.id);
console.log(output); // Hello
Advanced Features
Experts.js not only allows for the creation of Assistants but also supports streaming events, non-LLM Tools, and token usage metrics, making it a comprehensive solution for building scalable AI applications. You can easily set up your environment and leverage global model configurations for streamlined development.
For further details, check out the examples and test suite available in our repository.
Get started with Experts.js today and harness the power of AI in your applications!