📖 Documentation | 🎯 Examples
- 🕹️ 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
- 🎮 Virtual game companions
- 🤖 Real-time gameplay analysis
- 🧑🤝🧑 Emotional support avatars
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
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;
-
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: () => {}, };
- GitHub Issues. Best for reporting bugs and suggesting features.