Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bojieli/ai-agent-book
/ functions
Functions
13,003 in github.com/bojieli/ai-agent-book
⨍
Functions
13,003
◇
Types & classes
1,574
↳
Endpoints
161
Function
q3_dept_highest_avg_level
(emps, sals, today)
chapter5/erp-agent/reference.py:44
Function
q4_hires_this_and_last_year
(emps, sals, today)
chapter5/erp-agent/reference.py:52
Function
q5_deptA_avg_salary_range
(emps, sals, today)
chapter5/erp-agent/reference.py:68
Function
q6_deptAB_avg_salary_last_year
(emps, sals, today)
chapter5/erp-agent/reference.py:77
Function
q7_avg_salary_by_level_this_year
(emps, sals, today)
chapter5/erp-agent/reference.py:88
Function
q8_avg_latest_salary_by_tenure
(emps, sals, today)
chapter5/erp-agent/reference.py:98
Function
q9_top10_raise
(emps, sals, today)
chapter5/erp-agent/reference.py:116
Function
query_index
Query the RAPTOR or GraphRAG index.
chapter3/structured-index/api_service.py:224
Function
reaction_audit_log
(event, st)
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:161
Function
reaction_counter
(event, st)
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:187
Function
reaction_notification
(event, st)
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:175
Function
read_cv
()
chapter9/browser-use-rpa/browser-use/examples/use-cases/find_and_apply_to_jobs.py:70
Function
read_dates
(job: tuple[str, str])
scripts/git_revision_dates.py:43
Method
read_file
Read file content using file-specific read method and return appropriate message to LLM
chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py:256
Function
read_jobs
()
chapter9/browser-use-rpa/browser-use/examples/use-cases/find_and_apply_to_jobs.py:64
Function
read_metadata
()
chapter4/perception-tools/src/expanded_catalog.py:748
Function
read_webpage
抓取网页并抽取纯文本正文,供 Agent 阅读 README / API 文档。
chapter9/self-evolving-tools/base_tools.py:109
Function
reader_ctx
()
chapter5/permission-embedded-data-objects/tests/test_core.py:44
Method
rebuild_index
Rebuild the index if necessary.
chapter3/dense-embedding/indexing.py:36
Method
record_browser
(self, receipt: dict)
chapter10/parallel-web-research/run_official_experiment.py:92
Method
record_llm
(self, receipt: dict)
chapter10/parallel-web-research/run_official_experiment.py:100
Method
record_llm_decision
(self, **data)
chapter10/voice-werewolf/test_user_simulator.py:25
Function
record_provider
(receipt: dict)
chapter10/multi-role-transfer/run_comparison.py:165
Method
record_provider
(self, receipt: dict)
chapter10/multi-role-transfer/run_official_experiment.py:87
Function
record_request
(request: httpx.Request)
chapter6/computer-use-open-model/main.py:108
Function
record_response
(response: httpx.Response)
chapter6/computer-use-open-model/main.py:128
Function
record_tavily
(receipt: dict)
chapter10/multi-role-transfer/run_comparison.py:168
Method
record_tavily
(self, receipt: dict)
chapter10/multi-role-transfer/run_official_experiment.py:94
Function
recruiter
()
chapter5/permission-embedded-data-objects/tests/test_scenarios.py:24
Method
recursively_replace_secrets
(value: str | dict | list)
chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py:438
Function
refresh
()
web-astro/src/scripts/reader-navigation.ts:105
Method
refresh_pricing_data
Force refresh of pricing data from GitHub
chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py:538
Function
register_image_transfer_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:182
Function
register_mcp_tools
Register MCP tools with a browser-use registry. Args: registry: Browser-use action registry mcp_command: Command to start MCP server mcp_args:
chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py:238
Function
register_process
Register a background process for monitoring
chapter6/agent-with-event-trigger/server_fastapi.py:347
Function
register_process
Register a background process for monitoring
chapter6/agent-with-event-trigger/server.py:353
Function
register_secret_storage_types
user (self-owner) and secret (owner-only access).
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:30
Function
register_shopping_cart_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:149
Function
register_user_creation_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:91
Function
registry
()
chapter9/browser-use-rpa/browser-use/tests/ci/test_agent_sensitive_data.py:20
Function
registry
Create a fresh registry for each test
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:92
Function
reject_redirect
(response: httpx.Response)
chapter1/web-search-agent/parallel_search.py:40
Function
reload_mcp_tools
Manually trigger MCP tools reload
chapter6/agent-with-event-trigger/server_fastapi.py:259
Function
reload_mcp_tools
Manually trigger MCP tools reload
chapter6/agent-with-event-trigger/server.py:265
Function
remove_duplicate_frames
(example)
chapter8/orpheus/orpheus_sft_unsloth.py:174
Function
renderAll
()
extras/mermaid-init.js:16
Function
renderFinish
()
tests/js/auto-translate.test.js:64
Function
repl
(m)
book-en/svg_lib.py:210
Function
repl
(m)
book-tr/svg_lib.py:210
Function
repl
(m)
book-ar/svg_lib.py:226
Function
repl
(m)
book-ru/svg_lib.py:210
Function
repl
(m)
book-es/svg_lib.py:210
Function
repl
(m)
book-mn/svg_lib.py:210
Function
repl
(m)
book-id/svg_lib.py:210
Method
replace_file_str
(file_name: str, old_str: str, new_str: str, file_system: FileSystem)
chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py:909
Method
replace_file_str
Replace old_str with new_str in file_name
chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py:349
Function
replace_height
(hm)
book-en/strip_titles.py:77
Function
replace_height
(hm)
book-tr/strip_titles.py:76
Function
replace_height
(hm)
book/strip_titles.py:76
Function
replace_height
(hm)
book-zhtw/strip_titles.py:76
Function
replace_height
(hm)
book-mn/strip_titles.py:78
Function
replace_height
(hm)
book-id/strip_titles.py:76
Function
replace_height
(hm)
book-ta/strip_titles.py:77
Method
replace_sensitive
(value: str)
chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py:386
Method
replace_url
Url can only have 1 query and 1 fragment
chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py:1021
Function
replace_viewbox
(vbm)
book-en/strip_titles.py:61
Function
replace_viewbox
(vbm)
book-tr/strip_titles.py:60
Function
replace_viewbox
(vbm)
book/strip_titles.py:60
Function
replace_viewbox
(vbm)
book-zhtw/strip_titles.py:60
Function
replace_viewbox
(vbm)
book-mn/strip_titles.py:62
Function
replace_viewbox
(vbm)
book-id/strip_titles.py:60
Function
replace_viewbox
(vbm)
book-ta/strip_titles.py:61
Method
request_approval
(self, _operation, _details)
chapter4/execution-tools/test_github_idempotency.py:12
Function
request_router_factory
( router_id: str, capability_score_model: CapabilityScoreModel | None = None )
chapter2/prompt-engineering/tau_bench/model_utils/api/router.py:74
Method
requires_browser
(text: str, browser_session: BrowserSession)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:387
Function
requires_confirmation
判断调用是否属于高风险,需要用户显式确认。
chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:47
Function
requires_confirmation
判断调用是否属于高风险,需要用户显式确认。
chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:48
Method
requires_llm
(text: str, browser_session: BrowserSession, page_extraction_llm: BaseChatModel)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:405
Method
rerank
(self, query: str, documents: Sequence["Chunk"], top_k: int)
chapter7/user-memory-system-evaluation/experiment.py:347
Method
rerank
(self, query: str, documents: Sequence["Chunk"], top_k: int)
chapter7/user-memory-system-evaluation/experiment.py:368
Method
reset
Reset agent state
chapter5/coding-agent/agent_new.py:268
Method
reset
(self, instruction: Optional[str] = None)
chapter2/prompt-engineering/tau_bench/envs/user.py:17
Method
reset
(self, instruction: str)
chapter2/prompt-engineering/tau_bench/envs/user.py:30
Method
reset
(self, instruction: Optional[str] = None)
chapter2/prompt-engineering/tau_bench/envs/user.py:159
Method
reset
(self, instruction: Optional[str] = None)
chapter2/prompt-engineering/tau_bench/envs/user.py:211
Method
reset
(self, instruction: Optional[str] = None)
chapter2/prompt-engineering/tau_bench/envs/user.py:260
Method
reset
(self, instruction: Optional[str] = None)
chapter2/prompt-engineering/tau_bench/envs/user.py:374
Method
reset
Reset the agent's state
chapter2/context-compression/agent.py:670
Method
reset
Reset agent state.
chapter4/active-tool-selection/agent.py:394
Method
reset
Reset agent state.
chapter4/active-tool-selection/agent.py:533
Method
reset
Reset the agent's state for a new conversation
chapter3/user-memory/agent.py:963
Method
reset
Reset the agent state
chapter3/contextual-retrieval-for-user-memory/contextual_agent.py:480
Function
reset_agent
Reset agent state
chapter6/agent-with-event-trigger/server_fastapi.py:332
Function
reset_agent
Reset agent state
chapter6/agent-with-event-trigger/server.py:338
Method
reset_conversation
Reset conversation history
chapter2/attention_visualization/agent.py:531
Function
reset_telemetry_singleton
Reset the telemetry singleton between tests.
chapter9/browser-use-rpa/browser-use/tests/ci/test_telemetry.py:18
Function
resolve_rate
(command: str)
chapter6/async-agent/tasks.py:65
Method
resolve_refs
(obj: Any)
chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py:443
Function
respond
(request)
chapter1/web-search-agent/tests/test_parallel_search.py:172
Function
respond
(request)
chapter4/active-tool-discovery/test_selection_ablation.py:29
← previous
next →
9,701–9,800 of 13,003, ranked by callers