DEV Community

Orquesta𝄢
Orquesta𝄢

Posted on • Originally published at orquesta.live

Choosing Between Auto, SSH, Agent, and Batuta in Orquesta

Originally published at orquesta.live/blog/choosing-between-auto-ssh-agent-batuta-orquesta

When developing Orquesta, a major decision point was how to offer flexibility in executing AI-driven workflows while maintaining the highest efficiency. This led us to design four distinct execution modes: Auto, SSH, Agent, and Batuta. Each mode has its own strengths, and knowing when to use each can significantly enhance your team's productivity.

Understanding Execution Modes

Auto Mode

Auto mode is designed for simplicity and adaptability. The AI evaluates the situation and selects the most appropriate execution mode based on the context and the task at hand. This is ideal for teams that want to leverage Orquesta without getting into the nuances of each mode.

When to Use Auto Mode:

  • When team members are unsure of the best execution method for a particular task.
  • For straightforward operations where optimal efficiency isn't crucial.
  • When experimenting with different workflows and methods.

Auto mode takes the guesswork out of the equation, enabling teams to stay focused on their primary tasks rather than execution logistics.

SSH Mode

SSH mode is all about precision and control. If your task involves running quick, single-line commands on remote machines, this is your go-to. It provides direct command execution over SSH, ensuring minimal overhead and maximum speed.

When to Use SSH Mode:

  • For executing simple, well-defined tasks quickly.
  • When you need precise control over a remote environment.
  • For tasks with minimal complexity that do not require AI-driven decision making.

In scenarios where time and simplicity are of the essence, SSH mode shines by cutting through the layers of abstraction.

Agent Mode

Agent mode unleashes the full potential of the Claude CLI on your local machine. This means that all AI operations occur within your infrastructure, preserving data security and integrity. It's perfect for tasks that require the comprehensive capabilities of the Claude CLI.

When to Use Agent Mode:

  • When dealing with complex tasks that can benefit from AI capabilities.
  • If data security is a top priority and you want to ensure that nothing leaves your infrastructure.
  • For continuous integration and deployment workflows where detailed manipulations are necessary.

Agent mode offers the best of both worlds: robust AI processing with the security of local execution.

Batuta Mode

Batuta mode is the epitome of autonomous operations. It operates on a loop of 'Think > Act > Observe > Repeat', allowing it to perform complex sequences of tasks. This is particularly useful for repetitive or evolving tasks where human intervention would otherwise be necessary.

When to Use Batuta Mode:

  • For repetitive tasks that can benefit from automation.
  • When tasks require adaptive behavior based on changing conditions.
  • For scenarios where human oversight is limited or costly.

Batuta mode brings a level of autonomy that can free up significant team resources, enabling them to focus on higher-level strategic initiatives.

Decision Framework for Teams

To effectively decide which execution mode suits your needs, consider the following:

  1. Task Complexity:

    • Simple tasks are best served by SSH or Auto.
    • Complex tasks may benefit from Agent or Batuta.
  2. Security Requirements:

    • If data security is paramount, opt for Agent mode.
  3. Need for Autonomy:

    • Use Batuta for tasks that can run with minimal oversight.
  4. Resource Availability:

    • Auto mode can optimize resource allocation by selecting the best mode automatically.
  5. Immediate Needs vs. Long-Term Strategy:

    • Quick, immediate tasks are ideal for SSH, whereas strategic, ongoing tasks might require Batuta’s autonomous capabilities.

Conclusion

Each execution mode in Orquesta serves a unique purpose, designed to fit various team needs and task requirements. Understanding the strengths and appropriate applications of Auto, SSH, Agent, and Batuta modes empowers teams to make informed decisions, optimally leveraging Orquesta’s platform to streamline their AI-driven workflows.

Top comments (0)