Skip to content

A React-based virtual avatar component for real-time gameplay analysis and emotional support. Integrate with screen capture to provide insights and companionship through advanced LLM integration.

Notifications You must be signed in to change notification settings

rps-agents/agi-game-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AGI Game Live

📖 Documentation | 🎯 Examples

✨ Features

  • 🕹️ React-based virtual avatar component
  • 📺 Real-time screen capture and analysis
  • 🧠 Integration with LLMs for gameplay analysis
  • ❤️ Provides emotional companionship value
  • 🔌 Highly customizable and extensible API

🎯 Use Cases

  • 🎮 Virtual game companions
  • 🤖 Real-time gameplay analysis
  • 🧑‍🤝‍🧑 Emotional support avatars

🚀 Quick Start

Prerequisites

Installation

To get started with AGI Game Live, clone the repository and install dependencies:

git clone https://github.com/rps-agents/agi-game-live.git
cd agi-game-live
npm install

Usage

Import the VirtualAvatar component to integrate the virtual avatar into your application.

import VirtualAvatar from 'agi-game-live';
import ScreenCapture from 'agi-game-live';

function App() {
  return (
    <div>
      <VirtualAvatar />
      <ScreenCapture>
        {/* Your game component here */}
      </ScreenCapture>
    </div>
  );
}

export default App;

API Overview

  • ScreenCaptureManager: Manage real-time analysis settings.

    • enable(reportType: CaptureType, interval: number): Start real-time analysis with specified type and interval.
    • disable(): Stop real-time analysis.
    • captureScreenOnce(type: CaptureType, refer: string): Perform a one-time analysis with specified type and reference.
  • VisibilityProvider: Control the visibility of the virtual avatar.

    const defaultContextValue = {
      isVisible: true,
      toggleVisibility: () => {},
    };

Community & Contact

  • GitHub Issues. Best for reporting bugs and suggesting features.

Contributors

Star History

Star History Chart


About

A React-based virtual avatar component for real-time gameplay analysis and emotional support. Integrate with screen capture to provide insights and companionship through advanced LLM integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published