eino-examples  by cloudwego

Agent and orchestration examples for AI development

Created 1 year ago
489 stars

Top 63.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This repository provides practical examples and demonstrations for the CloudWeGo Eino framework, enabling developers to quickly understand and leverage its capabilities for building AI-powered applications and agents. It serves as a hands-on guide for Eino's features, from basic agent creation to complex orchestration and multi-agent systems.

How It Works

Eino Examples showcases Eino's modular architecture through distinct directories: Agent Development Kit (ADK) for building agents, Compose for orchestration (chains, graphs, workflows), Flow for agent patterns (ReAct, multi-agent), and Components for reusable modules (models, retrievers, tools). The examples illustrate data flow, agent interaction, session management, and advanced patterns like Human-in-the-Loop and Plan-Execute-Replan. This approach facilitates rapid prototyping and development of sophisticated AI applications by combining pre-built components and orchestration strategies.

Quick Start & Requirements

The quickstart directory offers end-to-end examples, including a basic LLM chat and a complete RAG application with a web UI. Running these examples requires the Eino framework itself, likely Python, and potentially specific LLM provider access or vector database configurations depending on the example. Links to the core Eino framework (https://github.com/cloudwego/eino), extensions (https://github.com/cloudwego/eino-ext), and official documentation (https://www.cloudwego.io/docs/eino/) are provided for setup and deeper dives.

Highlighted Details

  • Comprehensive coverage of agent development patterns, including Human-in-the-Loop, Multi-Agent systems, and ReAct agents.
  • Detailed examples of orchestration techniques: sequential chains, state graphs, tool-calling agents, and batch processing with interrupt/resume support.
  • Demonstrates reusable components for models (A/B testing, logging), retrievers (multi-query, router), and tools (JSON Schema, MCP, middlewares).
  • Features practical end-to-end application examples, such as a RAG system with a web UI and tools for debugging and visualizing Eino constructs.

Maintenance & Community

This repository is part of the CloudWeGo organization, indicating potential backing and stability. Specific community channels (e.g., Discord, Slack) or notable contributors are not detailed within this README. Links to the main Eino framework and its extensions are provided for further exploration.

Licensing & Compatibility

This project is licensed under the Apache-2.0 License. This permissive license generally allows for commercial use and integration into closed-source projects without significant restrictions.

Limitations & Caveats

This repository exclusively contains examples and demonstrations; the core Eino framework must be obtained and managed separately. Setting up and running advanced examples may necessitate substantial computational resources and specific environment configurations not fully detailed herein. Users should consult the main Eino framework repository for comprehensive installation instructions and potential framework-level limitations.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
15
Issues (30d)
3
Star History
32 stars in the last 30 days

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Jack Lukic Jack Lukic(Author of Semantic UI), and
5 more.

ag2 by ag2ai

0.9%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 1 year ago
Updated 1 day ago
Starred by Gagan Bansal Gagan Bansal(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
1 more.

agent-framework by microsoft

1.4%
7k
AI agent and multi-agent workflow framework
Created 9 months ago
Updated 20 hours ago
Feedback? Help us improve.