HomeWinBuzzer NewsHugging Face Introduces Agents.js: A New Library for Giving Tool Access to...

Hugging Face Introduces Agents.js: A New Library for Giving Tool Access to LLMs

Agents.js is a new JavaScript library from Hugging Face that makes it easy to give tools access to large language models (LLMs).

-

, a leading company in natural language processing, has recently launched a new project called Agents.js. Agents.js is a JavaScript library that allows developers to create conversational agents that can run in the browser or on the server. Agents.js is based on the Transformers library, which provides state-of-the-art models for various natural language tasks, such as text generation, sentiment analysis, question answering, and more.

Agents.js aims to make it easy and fun to create interactive and engaging conversational agents that can be deployed on any platform that supports . For example, developers can use Agents.js to create chatbots, voice assistants, interactive stories, games, educational tools, and more. Agents.js also supports multimodal input and output, such as text, speech, images, and video.

One of the main features of Agents.js is that it allows developers to use pre-trained models from the Hugging Face Hub, a platform that hosts thousands of models from the community. Developers can also fine-tune or train their own models using the Hugging Face ecosystem and upload them to the Hub. This way, developers can leverage the power and diversity of the Transformers models without having to worry about the technical details.

Another feature of Agents.js is that it provides a high-level API that abstracts away the complexity of natural language processing. Developers can simply define the agent's personality, skills, and memory using a JSON configuration file. Then, they can use the agent's methods to interact with the user, such as agent.say(), agent.ask(), agent.listen(), and agent.see(). Agents.js also handles the state management and context awareness of the conversation.

Agents.js is still in beta and under active development. The project is open-source and welcomes contributions from the community. Hugging Face also provides tutorials and examples to help developers get started with Agents.js. To learn more about Agents.js, visit the official website or check out the GitHub repository.

The Growing Role of Hugging Face in AI Development

Hugging Face is becoming an increasingly important player in the growing AI market. In February, the company announced a strategic partnership with Amazon Web Services (AWS), selecting Amazon as its preferred cloud provider for the future.

With this partnership, developers and companies can harness the power of machine learning models and deliver NLP features more quickly. The Hugging Face community can tap into AWS's machine learning offerings and infrastructure. They can use Amazon SageMaker, the cloud machine-learning platform, AWS Trainium, the custom machine-learning processor, and AWS Inferentia, the machine learning accelerator, to train, fine-tune and deploy their models.

In March, that Azure Machine Learning now has Hugging Face foundation models. and Hugging Face has been in partnership since last year. That initial collaboration focused on building Hugging Face Endpoints – a machine learning inference service that is underpinned by Azure ML Managed Endpoint.

Last month, Hugging Face also struck a partnership with chip giant AMD. The partnership will allow developers to train and deploy large language models (LLMs) on AMD hardware, which will significantly improve performance and reduce costs.

Luke Jones
Luke Jones
Luke has been writing about all things tech for more than five years. He is following Microsoft closely to bring you the latest news about Windows, Office, Azure, Skype, HoloLens and all the rest of their products.

Recent News