SmoothOperator.AgentTools 1.0.73

There is a newer version of this package available.
See the version list below for details.
dotnet add package SmoothOperator.AgentTools --version 1.0.73
                    
NuGet\Install-Package SmoothOperator.AgentTools -Version 1.0.73
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SmoothOperator.AgentTools" Version="1.0.73" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SmoothOperator.AgentTools" Version="1.0.73" />
                    
Directory.Packages.props
<PackageReference Include="SmoothOperator.AgentTools" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SmoothOperator.AgentTools --version 1.0.73
                    
#r "nuget: SmoothOperator.AgentTools, 1.0.73"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SmoothOperator.AgentTools&version=1.0.73
                    
Install SmoothOperator.AgentTools as a Cake Addin
#tool nuget:?package=SmoothOperator.AgentTools&version=1.0.73
                    
Install SmoothOperator.AgentTools as a Cake Tool

Smooth Operator Agent Tools - C# Library

This is the official C# library implementation for Smooth Operator Agent Tools, a state-of-the-art toolkit for programmers developing Computer Use Agents on Windows systems.

Overview

The Smooth Operator Agent Tools are a powerful toolkit that handles the complex tasks of interacting with the Windows Automation Tree and Playwright browser control, while providing advanced AI functions such as identifying UI elements through screenshots and textual descriptions.

This C# library provides a convenient wrapper around the Smooth Operator Tools Server API, allowing you to easily integrate these capabilities into your .NET applications.

Installation

dotnet add package SmoothOperator.AgentTools

Or using the NuGet Package Manager:

Install-Package SmoothOperator.AgentTools

Prerequisites

Playwright and Chrome

The Smooth Operator Agent Tools library requires Playwright and Google Chrome to be installed on the system for browser automation features to work. The library does not automatically install these dependencies.

To ensure the required dependencies are installed:

  1. Install Node.js (if not already installed): https://nodejs.org/
  2. Install Playwright globally:
    npm install -g playwright
    
  3. Install the Chromium browser for Playwright:
    npx playwright install chromium
    

If your application has an installer, we recommend including these steps in your installation process.

Usage

using SmoothOperator.AgentTools;
using SmoothOperator.AgentTools.Models;

// Initialize the client with your API key, get it for free at https://screengrasp.com/api.html
var client = new SmoothOperatorClient("YOUR_API_KEY");

// Start the Server - this takes a moment (especially the first time)
await client.StartServerAsync();

// Take a screenshot
var screenshot = await client.Screenshot.TakeAsync();

// Get system overview
var overview = await client.System.GetOverviewAsync();

// Perform a mouse click
await client.Mouse.ClickAsync(500, 300);

// Find and click a UI element by description
await client.Mouse.ClickByDescriptionAsync("Submit button");

// Type text
await client.Keyboard.TypeAsync("Hello, world!");

// Control Chrome browser
await client.Chrome.OpenChromeAsync("https://www.example.com");
await client.Chrome.GetDomAsync();

//you can also use the .ToJsonString() method on lots of these objects
//to get a json string that can easily be used in a prompt to a LLM
//to utilize AI even more for automated decision making

Features

  • Screenshot and Analysis: Capture screenshots and analyze UI elements
  • Mouse Control: Precise mouse operations using coordinates or AI-powered element detection
  • Keyboard Input: Type text and send key combinations
  • Chrome Browser Control: Navigate, interact with elements, and execute JavaScript
  • Windows Automation: Interact with Windows applications and UI elements
  • System Operations: Open applications and manage system state
  • MCP Server: once client.EnsureInstalledAsync() has been called, you find it at %appdata%\smoothoperator\AgentToolsServer\smooth-operator-server.exe

Documentation

For detailed API documentation, visit: https://smooth-operator.online/agent-tools-api-docs/toolserverdocs

License

This project is licensed under the MIT License - see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.102 0 4/7/2025
1.0.101 83 4/6/2025
1.0.100 78 4/6/2025
1.0.97 75 4/5/2025
1.0.96 69 4/5/2025
1.0.95 62 4/5/2025
1.0.91 74 4/5/2025
1.0.89 127 4/4/2025
1.0.88 138 4/4/2025
1.0.87 158 4/4/2025
1.0.86 147 4/4/2025
1.0.85 177 4/3/2025
1.0.84 180 4/3/2025
1.0.83 168 4/3/2025
1.0.82 163 4/3/2025
1.0.81 187 4/3/2025
1.0.79 188 4/3/2025
1.0.78 183 4/3/2025
1.0.77 183 4/3/2025
1.0.75 177 4/3/2025
1.0.74 180 4/3/2025
1.0.73 192 4/3/2025
1.0.71 152 4/2/2025
1.0.33 63 3/29/2025
1.0.32 75 3/29/2025