๐ 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 installImport 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.