Open-Source Agent Framework Update: Multimodal Input and Sub-Agent Orchestration in Practice

    This article reviews a recent release candidate of an open-source agent framework, focusing on three key improvements: native multimodal input, pluggable sub-agent orchestration, and concurrent tool calling with result delivery. It discusses practical usage patterns, architectural trade-offs, cost and risk considerations, and provides a pre-deployment checklist for developers building complex agent workflows.

    What Changed in This Update

    A recent release candidate of an open-source agent framework was published just two days after the previous version. The changes concentrate on four areas: multimodal input, sub-agent orchestration, tool calling, and terminal adaptation plus underlying storage. This article focuses on the first three, as they have the most direct impact on building complex agent workflows. The specific changes in terminal adaptation and storage are not verified here. The version number and official documentation links are not confirmed either; please refer to the project release page and changelog before integrating.

    Multimodal Input: Native Image Handling and Mixed Text-Image Prompts

    The model adaptation layer in the framework now supports native image requests. Previously, a common approach was to extract text from images using OCR tools and then pass the text to the model. The new approach sends images directly to vision-capable models. The two methods are not simple substitutes; each fits different scenarios.

    Native vision input is suitable for understanding overall meaning in UI layouts, design mockups, charts, and error screenshots. OCR is better for content requiring character-level precision, such as contract clauses, raw logs, and table numbers. Models may miss small text or misread digits when reading images; extracting such content with OCR before sending it to the model yields more reliable results. The two can also be combined: extract key text with OCR first, then let the model interpret the full context with the image.

    At the command level, common commands like /goal (set objective) and /plan (task planning) now accept mixed text-image input. Developers can attach interface screenshots or error screenshots alongside instructions, so the agent references both text and images. This reduces the effort of describing interfaces in words.

    Another change: the @ menu can reference local files and historical sessions. Referencing local files lets you hand existing code and documents to the agent. Referencing historical sessions brings context from previous conversations into a new task. There are several boundaries to observe: references should be limited to files within the project directory. Exclude .env, secret files, certificates, and credential directories to avoid leaking sensitive information into the model context. Long context increases token consumption and response latency, so only reference files and conversation segments relevant to the current task.

    Sub-Agent Orchestration: External Agents as Profile Bundles

    The new version abstracts external coding agents as pluggable Profile Bundles. These bundles can be installed on demand, and the framework invokes them as sub-agents when needed. One type of external agent adds a non-interactive permission mode and supports running multiple named instances simultaneously, which is suitable for parallel execution of independent coding tasks. For specific installation commands and configuration file formats, refer to the official documentation.

    Architecturally, the design has two layers. The upper layer is an orchestrator responsible for task decomposition, workflow orchestration, and result aggregation. The lower layer is an open execution resource pool that can attach different execution units based on task characteristics. This decoupling between orchestration and execution brings three main benefits.

    First, flexibility: code refactoring tasks and documentation generation tasks can be assigned to execution units with different strengths. Second, extensibility: new execution units can be integrated by following the Profile Bundle specification without modifying the orchestrator code. Third, observability: all subtasks are displayed uniformly in the task panel, enabling monitoring, troubleshooting, and traceability.

    The non-interactive permission mode skips step-by-step confirmation, so permission risks must be managed in advance. Before integration, list the directories the sub-agent can read and write, the commands it can execute, and the network addresses it can access. Grant only the minimum permissions required to complete the task. For operations that delete files, push code, or deploy, keep a human approval step.

    More sub-agents are not always better. Here is how to decide.

    Consider splitting into sub-agents when: subtasks have no dependencies, the result of each subtask can be verified independently, and contexts can be isolated.

    Prefer a single agent when: task steps strongly depend on the output of the previous step, frequent sharing of details is needed, or the task is small. Splitting increases coordination overhead and token consumption, and the benefits may not offset the cost.

    Tool Calling: Concurrent Search and Result Delivery

    The web search tool now supports concurrent queries. For research tasks that need to retrieve multiple information sources at the same time, concurrent execution can reduce total elapsed time. Actual gains depend on the search service’s quota, per-query latency, and whether the task can be broken into independent subtasks. Before enabling concurrency, measure serial and concurrent timings with the same set of queries to decide.

    After a sub-agent finishes, it can deliver results through the reportDelivery mechanism and wake the parent task that is waiting. The parent task does not need to poll repeatedly; it receives results from subtasks one by one and incrementally aggregates them. A typical state transition is: the parent creates subtasks, subtasks enter running state, subtasks complete or fail, they notify the parent via the delivery mechanism, and the parent updates state and summarizes results.

    Before deployment, confirm the following:

    • Timeout: Set a time limit for each subtask. If it times out, mark it as failed rather than waiting indefinitely.
    • Retry: Retry only idempotent operations, such as read-only search requests. Retrying write operations can produce duplicate side effects, like duplicate submissions or writes.
    • Idempotency: If the same result is delivered twice, the parent should recognize and deduplicate it.
    • Failure reporting: A failed subtask must also report error information. Otherwise, the parent will remain stuck waiting.
    • Concurrency and rate limits: Concurrency is limited by the search service’s quota. Exceeding the quota may trigger rate limiting or incur additional costs.

    Below is illustrative pseudocode; field and function names are examples and do not represent the actual framework API.

    1. for query in queries:
    2. spawn_subagent(query, timeout=120, max_retries=2 if read_only else 0)
    3. on_report(child_id, result, status):
    4. if already_seen(child_id): return
    5. record(child_id, status, result)
    6. if status == "failed": mark_partial(child_id)
    7. if all_children_done(): summarize()

    Cost and Risk Considerations

    Multimodal input adds cost. Images typically consume more tokens than plain text. Higher screenshot resolution means higher cost. Consider compressing screenshots and cropping to only the relevant region.

    Concurrent invocation amplifies quota consumption. As the number of sub-agents increases, search requests and model calls grow accordingly. Set a concurrency cap.

    The non-interactive permission mode reduces human intervention frequency, so permission scope must be tightened, and a permission inventory for each sub-agent should be recorded.

    Before going live, check the following in order:

    1. Run small-scale tasks to measure elapsed time, token consumption, and failure rate.
    2. Document which directories, commands, and network addresses each sub-agent can access.
    3. Set timeouts and a maximum concurrency for subtasks.
    4. Add sensitive files and key directories to an exclusion list.
    5. Retain human confirmation for delete, push, and deploy operations.

    Conclusion

    This update shows that the competitive focus of agent frameworks is shifting from individual agent capabilities to multi-agent orchestration and collaboration. The input side has added multimodal support, the architecture side has standardized external agent integration, and the execution side has optimized concurrency and result delivery.

    For developers building their own agent workflows, it is useful to design four independent modules: task orchestration, execution unit management, context referencing, and result aggregation. This improves extensibility and maintainability. In future releases, sub-agent permission governance and cost control for multimodal contexts are worth continued attention.