Skip to content
bahulam.
STARTChatInstall CodeCloud IDEWorkflowsMobile guide
DownloadEnterprisePricing
Sign inInstall Code
Back to plugins

raspberry-pi

v0.2.0

Raspberry Pi GPIO and I2C sensor operations runtime. The Pi operator connects to a board — running locally on the Pi, remotely over SSH, or fully simulated for testing/demos without hardware — discovers its GPIO/I2C state, declares pin roles, and reads or writes hardware with every GPIO write gated behind explicit user approval.

by Rohit·Source
gpiohardwaresensorssshsimulationiotstateapprovalsadvisorllmos
bahulam install raspberry-pi

Runs locally via the Bahulam CLI from github.com/codehive-sr/awesome-bahulam-plugins

Tools (12)

pi_board_connect

Create or reuse a tracked Raspberry Pi board target. Use target_kind=local when this runtime is on the Pi itself, target_kind=ssh to drive a remote Pi over the network, or target_kind=virtual for a fully simulated board (no hardware or network) used for testing and demos. auth_env must name an environment variable holding an SSH private key path or password — never pass the secret value itself as a tool argument.

pi_board_discover

Probe a connected board: model info, GPIO pin state (pinctrl/ raspi-gpio), and I2C devices found on the bus (i2cdetect). For a virtual board this synthesizes the same shaped output from seeded simulation state instead of touching real hardware. Use this before claiming a pin or sensor is unavailable.

pi_pin_configure

Declare a pin's mode and role before reading or writing it. Set is_actuator true for any pin with a real-world physical effect (relay, motor, lock, valve) so reports and reviewers can flag it.

pi_gpio_write

Set a digital pin level or PWM duty cycle. Every write is gated — including on virtual boards: without approved=true the request is validated and recorded as blocked, pending explicit user approval. Never call this with approved=true unless the user has explicitly authorized this exact write in this turn.

pi_gpio_read

Read a digital pin's current level. No approval required, on any target_kind.

pi_sensor_read

Read an I2C sensor register (i2cget). No approval required, on any target_kind.

pi_sim_seed

Virtual boards only. Preload a simulated board's pin levels, PWM duty cycles, and I2C register values, and optionally inject a fault (write_fails on a pin, or read_fails on a pin or register) to script a deterministic test/demo scenario. Throws on non-virtual boards.

pi_action_record

Record a board action, approval, error, or freeform note on the shared blackboard.

pi_board_report

Build a structured PI_HANDOFF report of board state, pin map, action trail, and pending approval gates.

pi_board_diagram

Render a board's declared pins as a Mermaid flowchart: one subgraph per mode (in/out/pwm/i2c/spi), pins labeled with their role, and actuator-flagged pins visually highlighted. Returns both raw Mermaid source and a ```mermaid fenced markdown block ready to paste into a chat reply or report. The workspace panel also renders this diagram live.

pi_llm_advisor

Recommend a local-LLM setup (model size class, quantization, runtime, swap/storage advice) for a Pi 5's RAM tier and a stated use case. Never installs or downloads anything — it returns a recommended snapshot for the user to act on, and records it as an advisory. Pass board_id to use a board's declared ram_gb, or ram_gb directly to advise without a connected board.

pi_os_advisor

Recommend an OS image, boot media, and starter config for a stated workload (headless server, home assistant, media center, kiosk, desktop) on a Pi 5. Never installs, flashes, or configures anything — it returns a recommended snapshot for the user to act on, and records it as an advisory. Pass board_id to use a board's declared ram_gb, or ram_gb directly to advise without a connected board.

Agents (3)

Raspberry Pi Operator/raspberry-pientry

Entry agent for the Raspberry Pi plugin. Connects to a board (local, over SSH, or a fully simulated virtual board), discovers its GPIO/I2C state, declares pin roles, and reads or writes hardware with every GPIO write gated behind explicit user approval.

delegatepi_board_connectpi_board_discoverpi_pin_configurepi_gpio_writepi_gpio_readpi_sensor_readpi_sim_seedpi_action_recordpi_board_reportpi_board_diagrampi_llm_advisorpi_os_advisorlist_pi_boardslist_pi_actionslist_pi_advisoriesread_filelist_files
Pin Planner/pin-planner
pi_pin_configurepi_action_recordread_filelist_files
Pi Safety Reviewer/safety-reviewer
pi_board_reportpi_action_recordlist_pi_actions

Workspace views (1)

Raspberry Pipanel

./workspace/index.html

bahulam.

Intelligence, put to work.

A product of axplusb.tech

Products

Product overviewChatBahulam CodeMobile companionCreative StudioVideo StudioDownload

Workspaces & tools

Cloud IDEWorkflowsVertical AIPluginsModels

Resources

DocumentationBenchmarksMethodologyPricingFAQSupport

Company

About BahulamEnterpriseSecurity & controlFor investorsFeedback
© 2026 axplusb.tech
PrivacyTermsCookiesAcceptable useGitHub
बहुलम् · Abundance