mini007 0.5.0

Bugfix: clearer errors on LLM/tool failures instead of an opaque crash

Two related failures previously surfaced as a cryptic internal error - Error in vapply(): ! values must be length 1, but FUN(X[[1]]) result is length 0 - deep inside Agent$invoke()’s message-sync internals, with no indication of what actually went wrong:

Non-blocking Human-In-The-Loop: pause and resume

HITL no longer requires a blocking readline() prompt inside an interactive console. $set_hitl() on both Workflow and LeadAgent gains a mode argument:

This makes HITL usable outside an interactive console - e.g. from a Shiny app, a Plumber endpoint, or any batch job that needs to persist a paused run and resume it later.

New: - Workflow$resume() / LeadAgent$resume() - is_pending() — check whether a value is a paused mini007_pending object

Changed: - Workflow$set_hitl() / LeadAgent$set_hitl() gain a mode argument ("console" default, "pause")

Parallel Station Execution for Workflows

Major feature addition enabling 2-4x speedup for independent processing units.

New Methods: - $set_daemons(n) — Configure n parallel worker processes using mirai package - $add_parallel_group(from, stations, to, merge_fn) — Define stations to execute concurrently - from: predecessor station - stations: vector of station names to run in parallel - to: optional successor station (receives merged results) - merge_fn: custom function to combine parallel results (default: newline concatenation)

Enhanced Methods: - $visualize() — Now displays parallel routes in red with ∥ symbol to distinguish from sequential routes

Use Cases: - Multi-agent analysis (e.g., technical, business, UX perspectives in parallel) - Parallel tool calling and independent data transformations - Ensemble model voting and comparison - Significant latency reduction for embarrassingly parallel workflows

Performance: - 3 parallel agents: ~3x faster than sequential execution - Compatible with existing caching, retry, fallback, and HITL features - Full integration with Agent and WorkflowAgent handlers

Documentation: - Comprehensive parallel stations section in workflow.qmd with working example - Real-world example in example_real_llm.R demonstrating 3 parallel agents analyzing “AI in Healthcare” - Updated README.Rmd with parallel execution overview

Technical Details: - Built on mirai package for reliable async execution - Each parallel station inherits retry/fallback configuration - Parallel results automatically cached with same mechanism as sequential stations - Graceful daemon cleanup and reinitialization

mini007 0.4.0

Implementing the Workflow class which allows one to have full control over a workflow of agents

Adding new methods:

mini007 0.3.0

Adding new methods to work with tools:

Adding the agents_dialog() methods that allows 2 agents to interact with each other in order to come up with a better outcome.

mini007 0.2.2

Adding the following new methods: - validate_response() - clone_agent()

Deletion

Dependency

mini007 0.2.1

mini007 0.2.0

Adding the following new methods: - keep_last_n_messages() - update_instruction() - clear_and_summarise_messages() - judge_and_choose_best_response() - set_budget() - export_messages_history() and load_messages_history() - reset_conversation_history() - add_message() - generate_execute_r_code() - visualize_plan() - set_budget_policy()

Adding the following new parameters: - Adding the force_regenerate_plan boolean parameter to the invoke method of the LeadAgent, this will allow taking into account if the LeadAgent has already generated a plan or not. If a plan is detected, no need to generate the plan from scratch, except if the user set the force_generate_plan to TRUE.

Deleting the following method: - delegate_prompt(), not needed anymore as the generate_plan() method has the same behavior.

mini007 0.1.0