11# ComputerUseAgent
2+
23[ ![ Nightly Build] ( https://github.com/yourusername/ComputerUseAgent/actions/workflows/nightly.yml/badge.svg )] ( https://github.com/yourusername/ComputerUseAgent/actions/workflows/nightly.yml )
34
4- A sophisticated Deno-based CLI tool that provides AI-powered file editing and bash command execution capabilities using Claude 3 API.
5+ A sophisticated Deno-based CLI tool that provides AI-powered file editing and
6+ bash command execution capabilities using Claude 3 API.
57
68## Features
79
810- ** Dual Mode Operation** :
911 - Editor mode for AI-assisted text file manipulation
1012 - Bash mode for intelligent command execution
1113 - Hybrid mode for combined capabilities
14+ - ** Export Functionality**
15+ - Prompt ID-based export system
16+ - Dedicated export paths
17+ - Enhanced session logging
1218- ** Memory Management**
1319- ** Comprehensive Logging**
1420 - Text response content tracking
@@ -23,11 +29,10 @@ A sophisticated Deno-based CLI tool that provides AI-powered file editing and ba
2329
2430## Demo
2531
26-
27-
2832https://github.com/user-attachments/assets/62a67ddb-d94f-4a83-8f50-d63ebe4f4c49
2933
30- This is a trimmed demo, Watch full demo on [ Youtube] ( https://youtu.be/lX_jZ18HoGA )
34+ This is a trimmed demo, Watch full demo on
35+ [ Youtube] ( https://youtu.be/lX_jZ18HoGA )
3136
3237## Prerequisites
3338
@@ -37,18 +42,21 @@ This is a trimmed demo, Watch full demo on [Youtube](https://youtu.be/lX_jZ18HoG
3742## Setup
3843
39441 . Clone the repository:
45+
4046``` sh
4147git clone < repository-url>
4248cd ComputerUseAgent
4349```
4450
45512 . Set up your environment:
52+
4653``` sh
4754# Set your Anthropic API key
4855export ANTHROPIC_API_KEY=" your-api-key"
4956```
5057
51583 . Build the project:
59+
5260``` sh
5361deno task build
5462```
@@ -74,6 +82,7 @@ deno run -A src/main.ts --mode=bash --no-agi "your command"
7482# After building
7583./build/ComputerUseAgent --mode=editor " your prompt"
7684./build/ComputerUseAgent --mode=bash " your command"
85+ ./build/ComputerUseAgent --export " prompt-id" # Export session data
7786```
7887
7988## Project Structure
@@ -91,16 +100,19 @@ deno run -A src/main.ts --mode=bash --no-agi "your command"
91100
92101Key configuration files:
93102
94- - [ ` src/config/constants.ts ` ] ( src/config/constants.ts ) : System-wide constants and API settings
103+ - [ ` src/config/constants.ts ` ] ( src/config/constants.ts ) : System-wide constants
104+ and API settings
95105- [ ` src/config/logging.ts ` ] ( src/config/logging.ts ) : Logging configuration
96106- [ ` src/config/tool_config.ts ` ] ( src/config/tool_config.ts ) : Tool configuration
97107- [ ` deno.json ` ] ( deno.json ) : Deno project configuration
98108
99109## Documentation
100110
101- - See [ CHANGELOG.md] ( CHANGELOG.md ) for detailed version history and latest changes
111+ - See [ CHANGELOG.md] ( CHANGELOG.md ) for detailed version history and latest
112+ changes
102113- Key configuration files:
103- - [ ` src/config/constants.ts ` ] ( src/config/constants.ts ) : System-wide constants and API settings
114+ - [ ` src/config/constants.ts ` ] ( src/config/constants.ts ) : System-wide constants
115+ and API settings
104116 - [ ` src/config/logging.ts ` ] ( src/config/logging.ts ) : Logging configuration
105117 - [ ` src/config/tool_config.ts ` ] ( src/config/tool_config.ts ) : Tool configuration
106118 - [ ` deno.json ` ] ( deno.json ) : Deno project configuration
@@ -117,7 +129,9 @@ deno task buildLocal
117129
118130## Logging
119131
120- Logs are stored in ` app.log ` with both console and file output. The logging system tracks:
132+ Logs are stored in ` app.log ` with both console and file output. The logging
133+ system tracks:
134+
121135- User inputs
122136- API usage
123137- Command execution
@@ -137,9 +151,14 @@ Logs are stored in `app.log` with both console and file output. The logging syst
137151See [ LICENSE] ( LICENSE ) file.
138152
139153## Releases
154+
140155### Installation
156+
141157You can download pre-built binaries for your platform from:
142- - Latest stable release: [ Releases page] ( https://github.com/PrashamTrivedi/ComputerUseAgent/releases/latest )
143- - Nightly builds: [ Nightly Release] ( https://github.com/PrashamTrivedi/ComputerUseAgent/releases/tag/nightly )
158+
159+ - Latest stable release:
160+ [ Releases page] ( https://github.com/PrashamTrivedi/ComputerUseAgent/releases/latest )
161+ - Nightly builds:
162+ [ Nightly Release] ( https://github.com/PrashamTrivedi/ComputerUseAgent/releases/tag/nightly )
144163
145164Binaries are automatically built for Windows, Linux, and macOS.
0 commit comments