Sypha AI Docs
Basic Usage

Evolutionary Tool Mechanics

Understanding how Sypha utilizes specialized utilities to interact with your code.

Evolutionary Tool Mechanics

Sypha utilizes a sophisticated suite of specialized tools to interact directly with your workspace. These autonomous helpers carry out precise actions - such as analyzing file structures, applying logic edits, executing terminal commands, or indexing your repository - enabling complex automation without manual intervention.

The Execution Workflow

Once you define a goal in natural language, Sypha manages the following logic:

  1. Strategic Selection: Sypha identifies the optimal tool required to reach the next milestone.
  2. Review & Audit: The tool's intended action and parameters are presented for your inspection.
  3. Authorized Execution: Upon your approval, the tool executes and its output is processed into the conversation.
  4. Iterative Continuation: Sypha cycles through this logic until the final objective is fulfilled.

Primary Tool Categories

DomainTactical PurposeAssociated Tools
AnalysisInspect file contents and codebase anatomyread_file, search_files, list_files, list_code_definition_names
MutationCreate, modify, or remove source assetsapply_diff, delete_file, write_to_file
RuntimeDirect terminal interaction and system opsexecute_command
WebAutomated navigation and browser-based testingbrowser_action
StrategyManage task state and user interactionask_followup_question, attempt_completion, switch_mode, new_task

Control & Trust Framework

Safety is paramount in Sypha's architectural design. Every tool invocation requires your explicit authorization. When a tool is queued, you are presented with:

  • Commit: Authorize and trigger the tool's execution.
  • Dismiss: Reject the proposed operation.
  • Automatic Authorization: Configure specific, high-trust tools to run without interruption.

This security layer ensures that you maintain absolute sovereignty over every modification applied to your project. Always perform a careful audit of tool proposals before committing.

Tactical Tools Reference

Utility NameOperational GoalLogic Class
read_fileParses file content with structural line numbers.Analysis
search_filesExecutes high-speed regex queries across the project.Analysis
list_filesGenerates a map of the file and directory hierarchy.Analysis
list_code_definition_namesPinpoints class, method, and type signatures.Analysis
write_to_fileInitializes new assets or replaces existing files.Mutation
apply_diffPerforms surgical, search-and-replace code edits.Mutation
delete_fileSafely removes assets from the workspace.Mutation
execute_commandInteracts directly with the integrated terminal.Runtime
browser_actionAutomates web-resident interactions and audits.Web
ask_followup_questionPauses for user clarification or design decision.Strategy
attempt_completionSignals objective fulfillment and delivers results.Strategy
switch_modeTransitions between specialized Sypha personas.Strategy
new_taskDelegates work to an isolated sub-thread.Strategy

Further Exploration

For a deep dive into individual tool parameters and strategic usage, consult the Detailed Tool Overview.

On this page