Project89: Analysis of the Next Generation Modular High-Performance AI Agent Framework

Analyzing Project89: A Modular, High-Performance Next-Generation AI Agent Framework

Project89 adopts a brand new approach to designing the Agent Framework, which is a high-performance Agent Framework tailored for game development. Compared to the currently used Agent Framework, it is more modular and offers better performance.

Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design

Developer Background

The founder of Project89 previously participated in the development of the Magick project, which is a software that uses AI for programming. He ranked fourth among the developers in that project.

Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design

Why Use ECS to Design the Agent Framework

ECS (Entity-Component-System) is an architecture pattern commonly used in game development and simulation systems. It completely separates data from logic to efficiently manage various entities and their behaviors in large-scale scalable scenarios.

The ECS architecture consists of three main components:

  1. Entity( Entity): is merely an ID, containing no data or logic.
  2. Component(: Used to store the specific data or state of an entity.
  3. System (System ): Responsible for executing logic related to certain components.

In ArgOS, each Agent is regarded as an Entity and can register different components, such as Agent Component, Perception Component, Memory Component, and Action Component, etc.

There is no direct calling relationship between different systems; each system will independently execute once within the specified cycle. For example:

  • Perception System updates external perception every 2 seconds
  • Memory System executes once every second, extracting data from the Perception Component.
  • The Plan System executes every 1000 seconds, formulating plans.
  • The Action System executes every 2 seconds, responding to external information.

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-69e16ae3b5af8c39e1fc522358584cef.webp(

ArgOS System Architecture

ArgOS divides the System into three levels:

  1. Conscious )CONSCIOUS( system: high update frequency, such as every 10 seconds.
  2. 潜意识)SUBCONSCIOUS( system: update frequency is low, such as every 25 seconds
  3. Unconscious ) UNCONSCIOUS ( system: update frequency is slower, such as more than 50 seconds.

The main systems include:

  • PerceptionSystem: Collect external stimuli
  • ExperienceSystem: Transforming stimulation into experience
  • ThinkingSystem: Think and generate actions
  • ActionSystem: Execute Action
  • GoalPlanningSystem: Evaluate Goal Progress
  • PlanningSystem: Generate Execution Plan
  • RoomSystem: handle room-related updates
  • CleanupSystem: Clean up unused entities

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-59f1984837d6636d7efc378c731a01eb.webp(

ArgOS Overall Architecture

  1. Core architecture layering: includes layers such as Component, System, Manager, and Runtime.

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-c37bd7442c3743f80a4fd9ba8afc123b.webp(

  1. Component Classification:
    • Core Identity Class
    • Behavior and Status Class
    • Perception and Memory
    • Environment and Space Category
    • Appearance and Interaction Types
    • Auxiliary or maintenance type

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-19636582e09b473536b17c2de0c61fbc.webp(

  1. Manager Architecture: Provide system-level functions, such as event management, room management, status management, etc.

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-b0180b99743a98bafb2b2d066900d65c.webp(

  1. Database Interaction: Loading, updating, and persisting data through StateManager

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-6a3ba796aae66b8a9f977ec99b5bb1c8.webp(

Architectural Innovations

  • Each System operates independently, with no coupling relationship.
  • Easy to expand and trim features
  • Performance is better than traditional object-oriented architecture
  • Divide the System into different levels of consciousness to simulate the human cognitive process.

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-aadac69287c878cdd84a72c6b8929ef2.webp(

Overall, Project89 provides an extremely modular and high-performance Agent framework suitable for game development and other complex AI scenarios.

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-4f9f7656a99298c7a027a5e4722ce4d5.webp(

![Deconstructing Project89: A Modular, High-Performance Next-Generation AI Agent Framework Design])https://img-cdn.gateio.im/webp-social/moments-62bbe0d65d3748c5bc0027c5ffa39288.webp(

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 9
  • Share
Comment
0/400
TokenTherapistvip
· 07-13 05:04
Once again, I optimized the performance and finally understood the reason why I couldn't run fast.
View OriginalReply0
CryptoSurvivorvip
· 07-12 03:11
Talking about the new game framework again? Boring.
View OriginalReply0
RuntimeErrorvip
· 07-11 05:56
Is this thing really reliable?
View OriginalReply0
RugPullProphetvip
· 07-10 07:17
Modularization again, it's a trap doll.
View OriginalReply0
RetailTherapistvip
· 07-10 07:15
I was completely bewildered after watching it.
View OriginalReply0
PseudoIntellectualvip
· 07-10 07:10
The new framework is astonishing!
View OriginalReply0
PoetryOnChainvip
· 07-10 07:07
Performance pump to the max, let's see the effect~
View OriginalReply0
fren.ethvip
· 07-10 06:51
Framework Party Climb
View OriginalReply0
GlueGuyvip
· 07-10 06:48
You dare to play games only with a toolkit.
View OriginalReply0
View More
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)