Skip to content

[feature] Please allow running multiple credentials concurrently #12

Description

@minhoryang

Preconditions

  • I searched existing issues and this request is not a duplicate.
  • This request focuses on user value, not just implementation details.

Problem Statement

Currently, aisw only supports executing a single credential (profile) at a time. This limitation prevents users from running parallel workflows across different credentials, which is especially problematic for use cases such as multi-account operations, workload isolation, and concurrent experimentation. As a result, users must serialize executions or manually orchestrate multiple processes, leading to inefficiency and operational complexity.

Proposed Solution

New command: aisw run <tool> <profile> (<workdir> <prompt>)

Alternatives Considered

No shared state between profiles unless explicitly configured.
Independent lifecycle management (start, stop, monitor).
Clear identification of each execution (e.g., run ID or profile tagging).

UX/DX Details

CLI remains unchanged for basic usage, preserving backward compatibility.
Users can invoke multiple aisw run commands in parallel without conflict.
Optional enhancements:

  • --run-id or auto-generated identifiers for tracking.
  • Structured logs per execution (e.g., per profile or run ID).
  • Improved output formatting to distinguish concurrent runs.
    Clear error messages when resource contention occurs (e.g., port conflicts, file locks).

Acceptance Criteria

  • Multiple aisw run processes can execute simultaneously using different profiles without interference.
  • Each execution maintains isolated authentication and runtime context.
  • Logs and outputs are clearly distinguishable per execution.
  • No regression in single-run behavior.
  • System remains stable under concurrent load (e.g., no race conditions or shared state corruption).

Impact Area

  • CLI command surface
  • Auth/profile management
  • Shell integration
  • Output format/JSON contract
  • Documentation

Additional Context

  1. Please allow tools to run in isolated environments.
    (aisw run --isolate-profile=docker-isolate-1 )
  2. Please enable management of tool plugins, skills, and MCPs.
  3. Please allow specifying particular plugins, skills, and MCPs when running a tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions