Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RunanywhereAI/RCLI
/ functions
Functions
741 in github.com/RunanywhereAI/RCLI
⨍
Functions
741
◇
Types & classes
161
↓ 502 callers
Method
empty
src/core/ring_buffer.h:123
↓ 443 callers
Method
size
src/rag/vector_index.cpp:106
↓ 105 callers
Method
load
src/rag/bm25_index.cpp:248
↓ 91 callers
Method
clear
src/core/ring_buffer.h:126
↓ 58 callers
Function
now_us
--- Utility ---
src/core/types.h:92
↓ 42 callers
Function
elapsed_ms
src/test/test_pipeline.cpp:77
↓ 42 callers
Method
register_action
src/actions/action_registry.cpp:14
↓ 41 callers
Function
rcli_destroy
src/api/rcli_api.cpp:205
↓ 37 callers
Function
escape_applescript
src/actions/action_helpers.h:63
↓ 36 callers
Method
build_chat_prompt
src/engines/llm_engine.cpp:272
↓ 34 callers
Method
count_tokens
src/engines/llm_engine.cpp:136
↓ 33 callers
Function
run_shell
src/actions/applescript_executor.cpp:126
↓ 32 callers
Method
feed
src/pipeline/sentence_detector.cpp:6
↓ 32 callers
Function
run_applescript
src/actions/applescript_executor.cpp:116
↓ 30 callers
Method
generate
src/engines/llm_engine.cpp:141
↓ 30 callers
Function
json_get_string
src/actions/action_helpers.h:9
↓ 30 callers
Method
write
Write up to count elements. Returns number actually written.
src/core/ring_buffer.h:48
↓ 29 callers
Method
is_initialized
src/engines/tts_engine.h:61
↓ 28 callers
Function
metalrt_models_dir
src/models/model_registry.h:270
↓ 28 callers
Method
synthesize
src/engines/tts_engine.cpp:92
↓ 26 callers
Function
apply_personality
Prepend personality prompt to the base system prompt. Returns base prompt unchanged if personality is DEFAULT or not found.
src/core/personality.h:101
↓ 24 callers
Method
read
Read up to count elements. Returns number actually read.
src/core/ring_buffer.h:72
↓ 22 callers
Method
init
src/audio/audio_io.cpp:21
↓ 22 callers
Method
using_metalrt
src/pipeline/orchestrator.h:102
↓ 21 callers
Function
all_models
--------------------------------------------------------------------------- All supported models — the ONLY place model info needs to be defined. Sort
src/models/model_registry.h:57
↓ 21 callers
Function
format_size
Format size for display: 456 -> "456MB", 2500 -> "2.5GB"
src/models/model_registry.h:430
↓ 20 callers
Method
build_tool_system_prompt
src/engines/model_profile.cpp:452
↓ 19 callers
Function
is_metalrt_model_installed
src/models/model_registry.h:276
↓ 17 callers
Function
escape_shell
Escape for use inside single-quoted shell strings: ' → '\''
src/actions/action_helpers.h:74
↓ 17 callers
Method
get_tool_definitions_json
src/tools/tool_engine.cpp:67
↓ 17 callers
Function
trim_output
src/actions/action_helpers.h:114
↓ 16 callers
Method
gen_tps
src/engines/llm_engine.h:42
↓ 16 callers
Method
generate_raw
src/engines/metalrt_engine.cpp:208
↓ 16 callers
Function
has_word
src/api/rcli_api.cpp:993
↓ 16 callers
Function
is_metalrt_component_installed
src/models/model_registry.h:354
↓ 16 callers
Function
rcli_create
src/api/rcli_api.cpp:184
↓ 15 callers
Function
rcli_init
src/api/rcli_api.cpp:214
↓ 15 callers
Function
rcli_process_command
src/api/rcli_api.cpp:1098
↓ 15 callers
Method
transcribe
src/engines/stt_engine.cpp:238
↓ 14 callers
Function
clean_llm_output
Clean LLM output using the model's profile (strips think blocks, tool tokens, junk)
src/api/rcli_api.cpp:713
↓ 14 callers
Method
clean_output
src/engines/model_profile.cpp:671
↓ 14 callers
Function
sanitize_for_tts
Strip think tags, tool_call tags, markdown symbols, and other non-speakable text so TTS only receives clean conversational text.
src/pipeline/text_sanitizer.h:9
↓ 13 callers
Method
has_prompt_cache
src/engines/llm_engine.h:93
↓ 13 callers
Method
parse_tool_calls
src/tools/tool_engine.cpp:168
↓ 13 callers
Function
rcli_get_context_info
src/api/rcli_api.cpp:2930
↓ 12 callers
Method
is_loaded
src/engines/metalrt_loader.h:56
↓ 11 callers
Method
build_tool_hint
src/tools/tool_engine.cpp:113
↓ 11 callers
Method
is_available
src/engines/metalrt_loader.cpp:105
↓ 11 callers
Function
metalrt_component_models
src/models/model_registry.h:300
↓ 11 callers
Method
sample_rate
Get output sample rate
src/engines/tts_engine.h:56
↓ 10 callers
Function
brief_system_prompt
Build a brief system prompt with personality applied. Used for action summaries, retries, and fallback paths that need personality.
src/api/rcli_api.cpp:147
↓ 10 callers
Method
clear_kv_cache
src/engines/llm_engine.cpp:290
↓ 10 callers
Method
context_size
src/engines/llm_engine.cpp:443
↓ 10 callers
Function
effective_base_prompt
Pick the base system prompt: compact when no tools are active (lower KV overhead → faster multi-turn prefill), full prompt when tools are enabled.
src/api/rcli_api.cpp:132
↓ 10 callers
Method
execute
src/tools/tool_engine.cpp:179
↓ 10 callers
Method
execute
src/actions/action_registry.cpp:149
↓ 10 callers
Function
file_exists
src/test/test_pipeline.cpp:82
↓ 10 callers
Function
find_personality
src/core/personality.h:85
↓ 10 callers
Method
flush
src/pipeline/sentence_detector.cpp:93
↓ 10 callers
Method
flush
src/engines/vad_engine.cpp:87
↓ 10 callers
Method
load
src/engines/metalrt_loader.cpp:110
↓ 10 callers
Method
reset
src/engines/stt_engine.cpp:129
↓ 10 callers
Function
url_encode
src/actions/action_helpers.h:83
↓ 9 callers
Function
config_path
src/models/model_registry.h:445
↓ 9 callers
Method
is_enabled
src/actions/action_registry.cpp:182
↓ 9 callers
Function
is_stt_installed
src/models/stt_model_registry.h:126
↓ 9 callers
Function
is_tts_installed
Check if a TTS model is fully installed (all required files exist)
src/models/tts_model_registry.h:214
↓ 9 callers
Method
reset_conversation
src/engines/metalrt_engine.cpp:420
↓ 8 callers
Function
all_vlm_models
src/models/vlm_model_registry.h:30
↓ 8 callers
Method
feed_audio
src/engines/stt_engine.cpp:67
↓ 8 callers
Method
get_definitions_json
src/actions/action_registry.cpp:26
↓ 8 callers
Function
kokoro_voice_to_speaker_id
Map Kokoro voice name to sherpa-onnx speaker_id. Speaker IDs match the alphabetical order of voices in voices.bin. Returns 0 (af_heart / default) if v
src/core/personality.h:111
↓ 8 callers
Function
picker_cancelled
src/cli/model_pickers.h:43
↓ 8 callers
Function
rcli_speak
src/api/rcli_api.cpp:1420
↓ 8 callers
Method
recache_system_prompt
src/pipeline/orchestrator.cpp:2029
↓ 8 callers
Method
register_defaults
src/tools/tool_engine.cpp:19
↓ 7 callers
Function
all_stt_models
--------------------------------------------------------------------------- All supported STT models -------------------------------------------------
src/models/stt_model_registry.h:53
↓ 7 callers
Function
all_tts_models
--------------------------------------------------------------------------- All supported TTS models — the ONLY place TTS model info needs to be defin
src/models/tts_model_registry.h:59
↓ 7 callers
Method
available_read
--- Queries ---
src/core/ring_buffer.h:112
↓ 7 callers
Method
cache_system_prompt
src/engines/llm_engine.cpp:298
↓ 7 callers
Function
is_vlm_model_installed
src/models/vlm_model_registry.h:79
↓ 7 callers
Method
num_actions
src/actions/action_registry.h:67
↓ 7 callers
Function
read_selected_model_id
Read the user-selected model id from config (empty string if not set)
src/models/model_registry.h:452
↓ 7 callers
Function
resolve_active_model
--------------------------------------------------------------------------- Resolve which model to use: user preference > auto-detect (highest priorit
src/models/model_registry.h:697
↓ 7 callers
Function
resolve_active_stt
Resolve which offline STT to use: user preference > auto-detect (highest priority)
src/models/stt_model_registry.h:256
↓ 7 callers
Function
resolve_active_tts
Resolve which TTS model to use: user preference > auto-detect
src/models/tts_model_registry.h:367
↓ 7 callers
Method
set_system_prompt
src/engines/metalrt_engine.cpp:412
↓ 7 callers
Method
start
src/audio/audio_io.cpp:44
↓ 7 callers
Function
write_engine_preference
Write engine preference to config (preserves other keys)
src/models/model_registry.h:528
↓ 6 callers
Method
build_user_turn
src/engines/model_profile.cpp:395
↓ 6 callers
Method
cancel
Cancel ongoing generation
src/engines/llm_engine.h:81
↓ 6 callers
Method
execute_all
src/tools/tool_engine.cpp:200
↓ 6 callers
Function
format_bytes
src/cli/setup_cmds.h:652
↓ 6 callers
Method
get
Returns pointer to cached embedding, or nullptr if not found. Updates frequency and recency on hit.
src/rag/embedding_cache.h:36
↓ 6 callers
Method
get_def
src/actions/action_registry.cpp:298
↓ 6 callers
Method
has_tool
src/tools/tool_engine.h:44
↓ 6 callers
Method
list_actions
src/actions/action_registry.cpp:274
↓ 6 callers
Function
make_chatml
src/engines/model_profile.cpp:174
↓ 6 callers
Function
metalrt_breadcrumb_remove
src/pipeline/orchestrator.cpp:43
↓ 6 callers
Function
models_exist
src/cli/cli_common.h:155
next →
1–100 of 741, ranked by callers