Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Autonomous AI desktop agent powered by local Ollama LLM — automates files, Excel, web, shell and GUI tasks on Windows.
Fetched from the repository for this visit.
A fully autonomous AI agent powered by a local Ollama LLM that can plan, execute, and verify desktop automation tasks on Windows.
| Category | Capabilities |
|---|---|
| 📄 Files | Create, read, edit, delete, copy, move, search, append text files |
| 📊 Excel | Create workbooks with formatted tables, auto-sum, charts (bar/line/pie) |
| 📸 Screenshots | Full-screen or region capture, saved automatically to screenshots/ folder |
| 🌐 Web | Open URLs, fill forms, click buttons, scrape page content |
| 💻 Shell | Execute CMD & PowerShell commands, get system info |
| 🤖 GUI Automation | Mouse clicks, keyboard typing, hotkeys |
| 📈 Charts | Generate bar, line, pie, scatter charts via matplotlib |
| 📝 Word Documents | Create .docx with headings, paragraphs, bullet lists |
Make sure Ollama is installed and running:
ollama serve
ollama pull jobautomation/OpenEuroLLM-Polish:latest
💡 You can use any Ollama model instead of the default one. See Changing the Model in the Configuration section.
git clone https://github.com/yourusername/atlas-agent.git
cd atlas-agent
pip install -r requirements.txt
# Interactive mode
python atlas.py
# Single task mode
python atlas.py --task "Create a file hello.txt on Desktop with text Hello World"
# Custom model
python atlas.py --model "your-model:latest"
🤖 ATLAS> Create a budget Excel on Desktop with food, transport, bills and add a pie chart
🤖 ATLAS> Take a screenshot of my screen
🤖 ATLAS> Open wikipedia.org and scrape the main page title
🤖 ATLAS> List all .txt files on my Desktop
🤖 ATLAS> Create a Word document with a quarterly report
🤖 ATLAS> Run systeminfo in PowerShell
🤖 ATLAS> Create a bar chart of monthly sales: Jan 100, Feb 150, Mar 200
| Command | Description |
|---|---|
/help | Show help and examples |
/tools | List all 29 available tools |
/status | System & dependency status |
/history | View past tasks |
/clear | Clear conversation memory |
/exit | Quit ATLAS |
User Request
│
▼
┌─────────────┐
│ Ollama LLM │
│ (Planning) │
└──────┬──────┘
│ JSON Plan
▼
┌─────────────┐
│ Response │
│ Parser │
└──────┬──────┘
│ TaskPlan
▼
┌─────────────┐
│ Execution │◄──── Retry + Self-Heal
│ Engine │
└──────┬──────┘
│
┌──────┬───────┬───┴────┬────────┬─────────┐
▼ ▼ ▼ ▼ ▼ ▼
┌──────┬───────┬───────┬───────┬────────┬─────────┐
│ File │ Excel │ Web │ Shell │ Screen │ Chart │
│ Tools│ Tools │ Tools │ Tools │ Tools │ Tools │
└──────┴───────┴───────┴───────┴────────┴─────────┘
│
▼
┌─────────────┐
│ Ollama LLM │
│(Verification)│
└─────────────┘
atlas/
├── atlas.py # Main agent script (single file)
├── requirements.txt # Python dependencies
├── README.md # This file
├── LICENSE # MIT License
├── screenshots/ # Auto-created: saved screenshots
└── logs/ # Auto-created: execution logs
└── atlas_YYYYMMDD_HHMMSS.log
| Tool | Parameters | Description |
|---|---|---|
create_text_file | path, content | Create or overwrite a text file |
read_file | path | Read file contents |
edit_file | path, old_text, new_text | Find & replace text in file |
delete_file | path | Delete a file |
list_files | directory | List directory contents |
create_directory | path | Create directory tree |
copy_file | source, destination | Copy a file |
move_file | source, destination | Move or rename a file |
search_files | directory, pattern | Recursive glob search |
append_to_file | path, content | Append text to file |
| Tool | Parameters | Description |
|---|---|---|
create_excel | path, data, sheet_name | Create formatted workbook |
edit_excel | path, sheet_name, cell, value | Set a cell value |
add_excel_chart | path, chart_type, title | Add bar/line/pie chart |
read_excel | path | Read all rows from workbook |
| Tool | Parameters | Description |
|---|---|---|
take_screenshot | filename | Full-screen capture |
screenshot_region | x, y, width, height, filename | Region capture |
| Tool | Parameters | Description |
|---|---|---|
open_url | url | Open URL in browser |
web_fill_form | url, fields | Fill form fields |
web_click | selector | Click a web element |
web_scrape | url, selector | Extract page data |
| Tool | Parameters | Description |
|---|---|---|
run_shell | command | Execute CMD command |
run_powershell | command | Execute PowerShell command |
get_system_info | - | Get system information |
| Tool | Parameters | Description |
|---|---|---|
mouse_click | x, y | Click at screen coordinates |
type_text | text | Type text via keyboard |
hotkey | keys | Send keyboard shortcut |
wait_seconds | seconds | Wait / sleep |
| Tool | Parameters | Description |
|---|---|---|
create_chart | data, chart_type, title, filename | Matplotlib chart |
create_word_document | path, content | Word .docx document |
By default ATLAS uses jobautomation/OpenEuroLLM-Polish:latest, but you can use any model available in Ollama. To switch:
1. See what models you have installed:
ollama list
2. Pull a different model (if you don't have it yet):
ollama pull qwen2.5:1.5b-instruct
3. Run ATLAS with your chosen model:
python atlas.py --model "qwen2.5:1.5b-instruct"
💡 Models with good instruction-following work best (e.g.
qwen2.5,llama3,mistral,gemma2). Larger models produce more reliable JSON plans but require more RAM.
To change the default model permanently (without using --model every time), edit atlas.py in two places:
# 1. In OllamaEngine.__init__:
model_name: str = "your-model:latest"
# 2. In main() argparse:
default="your-model:latest"
| Flag | Description | Default |
|---|---|---|
--model | Ollama model name | jobautomation/OpenEuroLLM-Polish:latest |
--task | Run single task then exit | (interactive mode) |
| Parameter | JSON mode | Chat mode | Purpose |
|---|---|---|---|
| temperature | 0.1 | 0.5 | Lower = more deterministic plans |
| num_predict | 768 | 1024 | Max tokens generated |
| num_ctx | 2048 | 2048 | Context window (RAM-friendly) |
| repeat_penalty | 1.2 | 1.2 | Prevents repetitive output |
format, del /s /q c:, shutdown, rm -rf /PathResolver - no accidental system file accesslogs/ directoryKey Python dependencies: ollama, openpyxl, matplotlib, selenium, webdriver-manager, pillow, rich, python-docx, beautifulsoup4, requests
LLM doesn't generate a valid plan / JSON errors This usually means the model is too small or not instruction-tuned well enough. Try a larger or better model. Models with at least 7B parameters work most reliably. Smaller models (1.5B–3B) may struggle with complex multi-step tasks.
"Model not found" error
Make sure the model name in the command matches exactly what ollama list shows - including capitalisation and tag (e.g. :latest).
Selenium / Chrome not working
Make sure Google Chrome is installed. The webdriver-manager package downloads the correct ChromeDriver automatically, but it requires an internet connection on first run.
Screenshots not working
Requires either Pillow or pyautogui to be installed. Run pip install Pillow pyautogui and try again.
Tasks work but results are wrong
Try increasing num_ctx in the code (default: 2048). For complex tasks, the LLM may lose context. Setting it to 4096 helps but requires more RAM.
PyAutoGUI FailSafeException Move your mouse to the top-left corner of the screen triggers a safety stop. This is intentional - just rerun the task.
git checkout -b feature/new-tool)git commit -m 'Add new tool')git push origin feature/new-tool)This project is licensed under the MIT License - see the LICENSE file for details.
GitHub checked 616h ago - refresh overdue. Recently viewed repositories target hourly refresh.