Osaurus Agents provide autonomous task execution with built-in issue tracking, planning, and file operations. Use Agents for complex, multi-step tasks that benefit from systematic execution and progress tracking.
Agents extend Osaurus beyond simple chat interactions. While Chat Mode is ideal for quick questions and single-turn interactions, Work Mode excels at:
- Multi-step tasks — Building features, refactoring code, or writing documentation
- File operations — Reading, writing, and editing files within a project
- Systematic execution — Breaking work into trackable issues with dependencies
- Parallel workflows — Running multiple tasks simultaneously
- Open the Chat window
- Click the Agent tab (or use the keyboard shortcut)
- You'll see the Work Mode interface with the issue tracker sidebar
Before starting a task that involves file operations:
- Click Select Folder in the Agent interface
- Choose the project directory you want to work in
- Grant folder access when prompted
The working directory determines where file operations can occur. All file paths are relative to this directory.
- Type your task description in the input field (e.g., "Add a dark mode toggle to the settings page")
- Press Enter or click Send
- The agent will:
- Analyze your request
- Create an initial issue
- Enter the reasoning loop, iteratively calling tools and evaluating progress
- Complete the task with a summary artifact
A Task represents a complete unit of work requested by the user. Each task:
- Has a unique identifier
- Contains one or more issues
- Is associated with a agent
- Tracks cumulative token usage
You can run multiple tasks in parallel, allowing you to work on different projects or features simultaneously.
Issues are the building blocks of task execution. Each issue represents a discrete piece of work:
| Property | Description |
|---|---|
| Status | open, in_progress, blocked, closed |
| Priority | P0 (critical), P1 (high), P2 (medium), P3 (low) |
| Type | task, bug, discovery |
| Title | Brief description of the work |
| Description | Detailed explanation and context |
| Result | Outcome after completion |
When working on an issue, the agent enters a reasoning loop -- an iterative cycle where the model autonomously decides what to do next:
- Each iteration: the model observes context, reasons about the next action, calls a tool, and evaluates progress
- Loops are bounded to max 30 iterations per issue
- The model narrates its thinking and explains actions as it works
- When finished, the model calls
complete_taskto signal completion with a summary
Issues can have dependencies that control execution order:
| Relationship | Description |
|---|---|
blocks |
One issue must complete before another can start |
parent_child |
Child issue created from a parent task |
discovered_from |
Issue was discovered during execution of another |
During execution, the agent may discover additional work and create follow-up issues using the create_issue tool:
- Bugs — Compilation errors, runtime failures found during execution
- Related work — Additional tasks identified while working on the current issue
- Prerequisites — Missing dependencies or setup steps
Follow-up issues are automatically tracked in the issue list and linked to the originating issue.
The working directory provides a sandboxed environment for file operations.
Osaurus automatically detects your project type based on manifest files:
| Project Type | Detected By |
|---|---|
| Swift | Package.swift, .xcodeproj, .xcworkspace |
| Node.js | package.json |
| Python | pyproject.toml, setup.py, requirements.txt |
| Rust | Cargo.toml |
| Go | go.mod |
- File tree generation — Respects project-specific ignore patterns (
.gitignore,node_modules, etc.) - Manifest reading — Understands project structure and dependencies
- Git integration — Access to repository status and history
- Security-scoped bookmarks — Persistent folder access across sessions
Agents have access to specialized tools for file and system operations:
| Tool | Description |
|---|---|
file_tree |
List directory structure with filtering |
file_read |
Read file contents (supports line ranges) |
file_write |
Create or overwrite files |
file_edit |
Surgical text replacement within files |
file_search |
Search for text patterns across files |
file_move |
Move or rename files |
file_copy |
Duplicate files |
file_delete |
Remove files |
dir_create |
Create directories |
file_metadata |
Get file information (size, dates, etc.) |
| Tool | Description |
|---|---|
shell_run |
Execute shell commands (requires permission) |
| Tool | Description |
|---|---|
git_status |
Show repository status |
git_diff |
Display file differences |
git_commit |
Stage and commit changes (requires permission) |
| Tool | Description |
|---|---|
complete_task |
Mark the current task as complete with a summary artifact |
create_issue |
Create a follow-up issue for discovered work |
request_clarification |
Pause execution to ask the user a question |
generate_artifact |
Generate a standalone document (report, analysis, etc.) |
All tools:
- Validate paths are within the working directory
- Log operations for undo support
- Respect permission policies
Run multiple agent tasks simultaneously:
- Start a new task while others are running
- Each task maintains its own issue list and execution state
- Background tasks continue running independently
- View all active tasks in the sidebar
Every file operation is logged for transparency and reversibility:
- Create — New file created
- Write — File contents replaced
- Edit — Specific text replaced
- Delete — File removed
- Move — File relocated
- Copy — File duplicated
Use the Undo feature to revert individual operations or all changes for an issue.
Tasks continue running even when:
- The Agent window is closed
- You switch to Chat Mode
- Osaurus is minimized
Background task progress appears in:
- Toast notifications
- Activity feed
- Menu bar indicators
When a task is ambiguous, the agent pauses to ask for clarification:
- Questions appear in the chat interface
- May include predefined options for quick selection
- Execution resumes after you respond
Monitor resource consumption per task:
- Input tokens — Context sent to the model
- Output tokens — Generated responses
- Cumulative total — Running count across all issues
Each task is associated with a agent:
- The active agent when you start a task is used throughout
- Agent's system prompt guides the agent's behavior
- Tool permissions from the agent apply to the task
Agents use two-phase capability selection:
- Catalog phase — Lightweight skill descriptions loaded initially
- Selection phase — Agent chooses relevant skills for the task
- Execution phase — Full skill instructions loaded for selected items
This reduces token usage while maintaining access to all capabilities.
┌─────────┐ ┌─────────────┐ ┌─────────┐ ┌────────┐
│ open │ ──▶ │ in_progress │ ──▶ │ blocked │ ──▶ │ closed │
└─────────┘ └─────────────┘ └─────────┘ └────────┘
│ │ │
│ │ │
▼ ▼ ▼
Created Reasoning loop Waiting on
by user iterating dependencies
or agent
Status Transitions:
| From | To | Trigger |
|---|---|---|
open |
in_progress |
Agent starts working on issue |
in_progress |
blocked |
Dependency not yet resolved |
in_progress |
closed |
Issue completed successfully |
blocked |
in_progress |
Blocking issue resolved |
| Any | closed |
User manually closes issue |
- Be specific — "Add a logout button to the navbar" vs "Update the UI"
- Provide context — Mention relevant files, frameworks, or patterns
- Define success — Describe the expected outcome
- Use different working directories for unrelated projects
- Review task progress regularly in the sidebar
- Cancel stuck tasks and retry with clearer instructions
- Answer promptly to avoid blocking execution
- Choose from predefined options when available
- Provide additional context if the question is unclear
- Verify the working directory is set correctly
- Check that folder permissions were granted
- Ensure the file path is within the working directory
- Check for pending clarification requests
- Review the issue status in the sidebar
- Look for blocked dependencies
- Use the file operation log to review changes
- Undo specific operations or all changes for an issue
- Check git status for uncommitted modifications
- Skills Guide — Creating and managing AI capabilities
- Plugin Authoring Guide — Extending with custom tools
- Features Overview — Complete feature inventory