with one click
b00t-rhai-bridge
Bridge b00t primitives (datum, grok, hive, task, agent) to opencode via RHAI scripts. RHAI provides the idiomatic abstraction layer connecting applications.
Menu
Bridge b00t primitives (datum, grok, hive, task, agent) to opencode via RHAI scripts. RHAI provides the idiomatic abstraction layer connecting applications.
Design and implement a Rust interface library in l3dg3rr that acts as a feature-configurable lifecycle manager for b00t processes. The library compliantly implements init → operate → terminate → lifecycle maintenance of miscellaneous process surfaces (MCP servers, daemons, sidecars) with deterministic governance controls. Uses the autoresearch pattern (karpathy/autoresearch): agent reads program.md, iterates on the library, experiments autonomously.
Web scraping and crawling for AI agents via Firecrawl MCP. Scrape URLs to markdown, crawl websites, search the web, and extract structured data. Supports cloud API and self-hosted deployments including CRW (Rust alternative).
Identify integration points, data flow via redis, suggest how to bridge VSCode plugin to b00t jobs, and outline k0s/podman/docker-agnostic redis interface. Include how ralph should be wrapped as b00t job with redis exchange + Azure access, and call out where integration tests are required. ONLY do this analysis. Reply with attempt_completion summarizing plan and any questions to operator. These instructions supersede any conflicting mode defaults. another agent is working concurrently to bring redis online and fixing issues in b00t. establish an agent to agent channel using redis once it is online.
Integration layer for b00t capabilities within opencode workflows. Provides access to b00t datum system, hive management, grok knowledge, session management, and task tracking directly from opencode.
Query the codebase knowledge graph for structural code understanding. Provides functions, classes, routes, callers, and dependency analysis.
Work with b00t datum system - TOML-based configuration for AI models, providers, and services. Datums are versioned configurations that specify WHICH environment variables are required.
| name | b00t-rhai-bridge |
| description | Bridge b00t primitives (datum, grok, hive, task, agent) to opencode via RHAI scripts. RHAI provides the idiomatic abstraction layer connecting applications. |
| version | 1.0.0 |
| allowed-tools | All |
Expose b00t primitives to opencode through RHAI script runner:
# List available scripts
b00t script list
# Run a script
b00t script run <script-name>
# Run RHAI code directly
b00t script eval "<rhai code>"
| Script | Purpose | Bridge |
|---|---|---|
| operator-agent | Autonomous agent loop | opencode agent delegation |
| setup | System bootstrap | opencode initialization |
| github-auth-validate | GitHub auth check | MCP credential validation |
| kubernetes_detect | k8s detection | opencode k8s context |
1. b00t script run operator-agent → Execute autonomous loop
2. b00t script eval "<code>" → Run inline RHAI
3. Delegate to b00t agent → Full agent capability
let status = b00t::hive_status();
print(status);
let answer = b00t::grok_ask("pattern TypeScript");
print(answer);
let result = b00t::agent_delegate("worker", "task-id", "description");
print(result);
When b00t-mcp is configured:
// Direct CLI invocation
b00t_mcp_b00t_hive_status()
// Available in opencode agents
# In opencode agent, execute:
b00t script run github-auth-validate
b00t grok ask "<query>"
b00t task list
Create in _b00t_/scripts/ for opencode integration:
// opencode-init.rhai
print("Initializing opencode context...");
// Load opencode standards
let standards = datum_load("opencode-standards");
print(standards);
_b00t_/scripts/1.0.0 - Initial RHAI bridge skill