ERNIE-SDK  by PaddlePaddle

LLM agent framework powered by ERNIE Bot, Baidu's LLM

Created 2 years ago
370 stars

Top 76.3% on SourcePulse

GitHubView on GitHub
Project Summary

ERNIE Bot Agent is a framework for building large language model (LLM) agents, powered by Baidu's ERNIE Bot and Baidu AI Studio. It targets developers seeking to create AI-native applications with LLM orchestration, tool integration, and knowledge base capabilities, offering a low-code interface and pre-built components for rapid development.

How It Works

The framework leverages ERNIE Bot's Function Calling capabilities for multi-tool orchestration and automatic scheduling, supporting mixed orchestration of tools, plugins, and knowledge bases. It provides a rich component library, including over 30 pre-built tools from Baidu AI platforms and PaddlePaddle models, as well as platform-level knowledge bases. Developers can also integrate custom local or remote tools and use popular libraries like Langchain or LlamaIndex for knowledge base management.

Quick Start & Requirements

  • Installation: pip install --upgrade erniebot-agent or pip install --upgrade erniebot-agent[all] for all modules.
  • Prerequisites: Python >= 3.8. Requires an AI Studio account and an Access Token for API calls.
  • Quick Start Example: Demonstrates agent creation, tool integration (e.g., text-to-speech), and conversational interaction.
  • Documentation: 开发文档

Highlighted Details

  • Supports zero-code interface for agent building via AI Studio.
  • Enables rapid agent development with as few as 10 lines of code.
  • Offers platform-level memory mechanisms (in development).
  • Provides convenient access to ERNIE Bot's core functionalities: text generation, dialogue, semantic vectors, and image generation.

Maintenance & Community

  • Actively developed by PaddlePaddle.
  • Community contributions are welcomed.
  • Links to application experiences are available on AI Studio.

Licensing & Compatibility

  • Licensed under Apache-2.0.
  • Permits commercial use and integration with closed-source projects.

Limitations & Caveats

The framework is under active development, with features like ERNIE-Yiyan plugins and platform-level memory mechanisms still in progress. While it supports Linux, Windows, and macOS, specific tool compatibility or performance may vary.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Starred by Wes McKinney Wes McKinney(Author of Pandas), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
22 more.

autogen by microsoft

0.5%
50k
Agentic framework for multi-agent AI applications
Created 2 years ago
Updated 19 hours ago
Feedback? Help us improve.