0.0.83 • Published 11 months ago

@llmstudios/cuse v0.0.83

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

🚀 Cuse

AI Computer Use Abstraction Layer — toolkit for implementing computer usage capabilities for AI agents 🤖

✨ Features

  • 💻 Computer Interaction: screenshots, typing, mouse actions
  • 📝 Text Editor Operations: view, create, edit files
  • 🔧 Command Execution: terminal commands, restart
  • 🔌 Extensible Framework: customizable functionalities
  • Currently supports Linux Ubuntu via local Docker image 🚀

🚀 Quickstart

Setup and start the Linux Ubuntu instance:

npx @llmstudios/cuse start

Install the Cuse package:

npm install @llmstudios/cuse

Create a Computer instance

import { Computer } from "@llmstudios/cuse";

const computer = new Computer();

Use the computer.tools in your AI SDK tool parameter

const tools = computer.tools;

const stream = streamText({
	model: anthropic("claude-3-5-sonnet-latest"),
	messages,
	tools: {
		...computer.tools,
	},
	maxSteps: 30,
});

⚡ Usage

  • Linux Implementation Available: Use the Computer class to interact with the Linux Ubuntu instance.
  • Methods for:
    • Computer Interaction: screenshot(), key(), type(), mouseMove(), click(), etc.
    • Terminal Commands: command(), restart()
    • Text Editor: view(), create(), strReplace(), insert(), undoEdit()

🛣️ Roadmap

  • 🌐 macOS, Windows, Cloud VM support
  • 🔑 Authentication Injection
  • ☁️ Hosted Service
  • 🧠 Stateful Machines
  • 📹 React Components for VM video streaming

🤝 Contributing

  • Suggestions, bug reports, feature requests: open issue or pull request

📜 License

💬 Get in Touch

  • Join community discussions, feature requests, or just say hello 👋

📚 References

🌟 Star History

Star History Chart

0.0.83

11 months ago

0.0.82

11 months ago

0.0.81

11 months ago

0.0.80

11 months ago

0.0.79

11 months ago

0.0.78

11 months ago

0.0.77

11 months ago

0.0.76

11 months ago

0.0.75

11 months ago

0.0.74

11 months ago

0.0.73

11 months ago

0.0.72

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago