Skip to contents

Model loading and generation

bebel_model_load()
Load a BebeLM GGUF model
bebel_generate()
Generate a raw continuation from a prompt
bebel_chat()
Generate a single ChatML assistant reply
bebel_agent()
Create a persistent BebeLM agent
bebel_append()
Append raw text to a BebeLM agent transcript
bebel_append_system()
Append a ChatML system turn to a BebeLM agent transcript
bebel_append_user()
Append a ChatML user turn to a BebeLM agent transcript
bebel_append_tokens()
Append token ids to a BebeLM agent transcript
bebel_append_tool_result()
Append a ChatML tool result turn to a BebeLM agent transcript
bebel_agent_generate()
Generate a raw continuation from a BebeLM agent transcript
bebel_assistant_turn()
Generate and close an assistant ChatML turn from a BebeLM agent
bebel_agent_run()
Run a BebeLM agent with R tool dispatch
bebel_tool()
Define a BebeLM R tool
bebel_parse_tool_call()
Parse a BebeLM tool call block
bebel_agent_configure()
Configure a BebeLM agent
bebel_agent_info()
Inspect a BebeLM agent
bebel_clear()
Clear a BebeLM agent transcript and caches
bebel_history()
Return a BebeLM agent token transcript
bebel_transcript()
Decode a BebeLM agent transcript
bebel_event_types()
Return BebeLM stream event types.
bebel_event_handler()
Build a BebeLM generation event handler
bebel_console_event()
Console event handler for generated text and thinking
bebel_tokenize()
Tokenize text with a BebeLM model tokenizer
bebel_detokenize()
Decode BebeLM token ids
bebel_token_ids()
Return BebeLM tokenizer special token ids.
bebel_live_console()
Live terminal console for BebeLM chats
BebelModel
Loaded BebeLM GGUF model.
BebelAgent
Persistent BebeLM conversation agent with transcript and decode caches.

R-native agent layer

bebel_r_agent()
Create an R-native Rbebelm agent session
bebel_r_agent_turn()
Run one user turn through an Rbebelm R agent
bebel_r_agent_console()
Start an interactive Rbebelm console agent
bebel_r_agent_start()
Launch an R-native Rbebelm console from weights
bebel_r_agent_rpc_server()
Serve an Rbebelm R agent over JSON-RPC
bebel_r_agent_clear()
Clear an Rbebelm R agent session
bebel_default_r_tools()
Built-in R session tools for the Rbebelm agent layer
bebel_agent_tool()
Create an Rbebelm agent tool specification
bebel_agent_tool_catalog()
Describe an Rbebelm agent tool catalog

Backend dispatch and diagnostics

rbebelm_set_backend()
Select the Rbebelm native backend
rbebelm_backend_info()
Inspect Rbebelm backend dispatch state
rbebelm_backend_features()
Return feature information reported by the loaded Rust backend.
rbebelm_cpuid_info()
Inspect CPU SIMD support used by backend dispatch

S3 methods

print(<bebelGeneration>)
Print a BebeLM generation result