Skip to content

mini007

0.5.0Package record

Lightweight Framework for Orchestrating Multi-Agent Large Language Models

0packages depend
61.1Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Provides tools for creating agents with persistent state using R6 classes https://cran.r-project.org/package=R6 and the 'ellmer' package https://cran.r-project.org/package=ellmer. Tracks prompts, messages, and agent metadata for reproducible, multi-turn large language model sessions.

Changes in 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:

  • **The LLM provider itself is unreachable** (network issue, invalid API key, provider outage, timeout). $invoke() (and every other direct LLM call inside Agent and LeadAgent) now catches the raw provider error and raises a clear, actionable message explaining the likely cause, while still preserving the original error for debugging.
  • **A registered tool call fails** (e.g. the API a tool wraps - like a weather service - is down). ellmer records this as a result with an empty value and an error attached; mini007 was feeding that empty value straight into sprintf(), which silently produced a zero-length string and crashed the vapply() call that assembles message history. $invoke() now survives this and records the actual tool error (e.g. "ERROR: connection refused: weather API is down") in the conversation history instead of crashing.
Show all changes in 0.5.0Hide the rest of the changes in 0.5.0

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:

  • mode = "console" (default) — unchanged: blocks on readline() exactly as before.
  • mode = "pause" — $run() / $invoke() return immediately with a mini007_pending object describing the paused step instead of blocking. Inspect it, then call the new $resume(request_id, action, value) method (action is one of "continue", "edit", "abort") to continue execution from that point.

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
  • Adding the per-station retry features to the Workflow class
  • Adding the fallback handlers to the Workflow class

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-16
  • WARNING12 OK, 1 WARNING2026-07-14
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.0
READMEYes · 564 wordsVignettesNoNEWSYes · 100% structured · mentions 0.5.0Citation fileNo
Help pages
6
Examples that run
100%3 run in a plain check
Exported functions with examples
60%
Documented parameters
100%
Return-value docs
20%
Help pages citing references
0%

Downloads

61.1K
CRAN downloads in the past year
Rank #10,220 · ~167/day · ~5.1K/mo
Daily download trend is not available in this view yet.
41030 days
98490 days
61.1K1 year
Compare downloads with other packages →
Also on96 r2u4 autocran

Repository

41Stars
4Forks
1Open issues
1Open PRs
7Releases
136Commits
2Commit identities
136 commits · Last activity 2026-10-15 · -2.4% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
17%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-07 · 142026-10-16 · 41
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/feddelegrand7/mini007 on 2026-10-18.

Governance and community (2)
Code of conduct

The repository owner accepts GitHub Sponsors

Docs source (3)
README.RmdQuarto project

GitHub Pages site last deployed 2026-10-15

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen 2025-09-23
    Named in .Rbuildignore: .cursor
    Pull request it wrote: opened by a project member
  • Claude Codefirst seen 2025-12-04
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing mini007 adds 78 packages (42 with compiled code, 62 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, igraph 4.8 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Listed in earlier versions (1)
Ihaddaden
no longer listed · 0.1.0 to 0.5.0
Releases (7)

Pick two releases to compare their code metrics.

Package metadata

First published
2025-09-05
Total releases
7 / 1 yrs
License
MIT + file LICENSE OSI
Download size
435 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mini007")
Ihaddaden, M. E. F. (2026). mini007: Lightweight Framework for Orchestrating Multi-Agent Large Language Models (Version 0.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.mini007

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mini007 version 0.5.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy