0.0.83 • Published 1 year ago

@llmstudios/cuse v0.0.83

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.82

1 year ago

0.0.81

1 year ago

0.0.80

1 year ago

0.0.79

1 year ago

0.0.78

1 year ago

0.0.77

1 year ago

0.0.76

1 year ago

0.0.75

1 year ago

0.0.74

1 year ago

0.0.73

1 year ago

0.0.72

1 year ago

0.0.7

1 year ago

0.0.6

1 year 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