An open-source framework for building AI agents that can interact with computers
- Computer Control: Display, mouse, and keyboard interaction
- Authentication: Authenticate with credentials
- File Operations: View, create, and edit files
- Shell Access: Execute commands and manage processes
- App Framework: Build custom applications
- Linux Support: Run via Docker containers
Task: Check gmail inbox and send summary to {email}.
cuse.demo.mp4
Install dependencies:
npm install @cusedev/core
Initialize and create a computer:
npx @cusedev/cli init
Create a Computer
instance
import { Computer } from '@cusedev/core';
const computer = new Computer();
Interact with the computer:
// Take a screenshot
const screenshot = await computer.system.display.getScreenshot();
// Type some text
await computer.system.keyboard.type({ text: 'Hello, World!' });
// Execute a command
const output = await computer.system.bash.execute({ command: 'ls -la' });
Visit our documentation to learn more about:
- Getting started with the example project
- Adding cuse to your existing project
- Core concepts and API reference
- CLI commands and usage
- Support for other platforms
- Deployment
- Stateful Machines
- Reusable Workflows
Contributions are welcome! Please check out our GitHub repository.
MIT License — see LICENSE file
- Visit our website
- Join our Discord community