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
_to
(signum, frame)
chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py:134
Function
_uc_pedo_create
(store, invite_id, user_name, password)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:308
Function
_uc_pedo_invite
(store, email)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:297
Function
_uc_raw_insecure_create
(conn, invite_id, user_name, password)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:278
Function
_uc_raw_insecure_invite
(conn, email)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:265
Function
_uc_raw_secure_create
(conn, invite_id, user_name, password)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:237
Function
_uc_raw_secure_invite
(conn, email)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:225
Function
_usage
(response_payload: dict[str, Any])
chapter9/browser-use-rpa/run_experiment_9_5.py:111
Function
_validate_cart_no_negative_total
(proposed, existing, accessor, store)
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:136
Function
_validate_invite_unconsumed
Validator on user creation: invite must exist, match email, be unconsumed.
chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:78
Function
_wrap
(match: re.Match)
scripts/mkdocs_figure_captions.py:88
Method
_wrapped_step
Wrapped step method that captures workflow information.
chapter9/browser-use-rpa/learning_agent/agent.py:115
Function
_write_file
(env, path, content)
chapter9/harness-safety-gate/stable/tool_dispatcher.py:44
Function
_write_screenshot
()
chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py:535
Method
act
(self, task: Dict[str, Any])
chapter9/self-evolution-eval/agent.py:165
Method
action
Decorator for registering actions
chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py:273
Function
actionSpace
(k)
web-astro/scripts/computer-use-layout.mjs:95
Method
action_input_history_next
Navigate to the next item in command history or clear input.
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:967
Method
action_input_history_prev
Navigate to the previous item in command history.
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:953
Method
action_names
Get all action names from history
chapter9/browser-use-rpa/browser-use/browser_use/agent/views.py:544
Method
action_with_browser
(text: str, browser_session: BrowserSession)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:137
Function
activateMark
(event: MouseEvent | KeyboardEvent)
web-astro/src/scripts/highlights.ts:449
Method
adb
(*arguments: str, binary: bool = False)
chapter4/execution-tools/extended_tools.py:300
Function
add
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T070500Z/workspace/valid.py:1
Function
add
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093348Z/workspace/valid.py:1
Function
add
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T062500Z/workspace/valid.py:1
Function
add
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093657Z/workspace/valid.py:1
Function
add_codes
(example)
chapter8/orpheus/orpheus_sft_unsloth.py:136
Method
add_cookies
Add cookies using CDP.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/storage_state_watchdog.py:322
Method
add_custom_tool
Add a custom tool to the registry Args: name: Tool name function: Callable function desc
chapter2/local_llm_serving/agent.py:544
Method
add_item
Add an item to the index.
chapter3/dense-embedding/indexing.py:16
Method
add_memory
Add a new memory card Args: content: Dictionary with 'category', 'subcategory', 'key', and 'value' s
chapter3/user-memory/memory_manager.py:407
Method
add_memory
Add a new memory card Args: content: Dictionary with 'category', 'card_key', and 'card' (complete memory card ob
chapter3/user-memory/memory_manager.py:589
Method
add_memory
(self, content, session_id, **kwargs)
chapter3/user-memory/test_json_cards_string_payload.py:15
Method
add_memory
Add a message/conversation to memory. Returns the facts appended by mem0's ADD-only extraction. An empty list means that no new fact
chapter3/mem0/agent.py:305
Method
add_memory
Add a memory to the cluster
chapter3/memobase/agent.py:83
Method
add_new_task
(self, new_task: str)
chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py:165
Function
adjust_inventory_on_state_change
Reaction: decrement inventory on 'paid', increment on 'refunded'.
chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py:62
Function
admin
()
chapter5/permission-embedded-data-objects/tests/test_scenarios.py:34
Function
advice_one
(cache: CachedCalls, row: Dict[str, Any], prototype: Dict[str, Any], distance: float, index: int)
chapter3/structured-knowledge-extraction/campaign.py:465
Method
agenerate
Async generate response using Kimi K3 model.
chapter3/mem0/agent.py:121
Method
agent
Lazy initialization of browser-use agent.
chapter9/browser-use-rpa/learning_agent/agent.py:96
Method
agent_history_description
Build agent history description from list of items, respecting max_history_items limit
chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py:137
Function
agent_query
(ctx)
tests/test_ch5_pedo_live_security_eval.py:492
Method
agent_task_worker
()
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:887
Function
agent_with_cloud
Create agent with cloud sync enabled (using real CloudSync).
chapter9/browser-use-rpa/browser-use/tests/ci/conftest.py:205
Method
agg_throughput
聚合输出吞吐(tokens/s):全部成功请求的输出 token 总数 / 整批墙钟耗时。
chapter7/model-benchmark/benchmark.py:235
Method
ainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/examples/models/langchain/chat.py:95
Method
ainvoke
( self, messages: list[BaseMessage], output_format: None = None, tools: list[dict[str, Any]] | None =
chapter9/browser-use-rpa/browser-use/browser_use/llm/deepseek/chat.py:63
Method
ainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/ollama/chat.py:61
Method
ainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/chat_anthropic.py:150
Method
ainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/chat_bedrock.py:160
Method
allowed_count
(self)
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py:102
Function
analyze
translations:{chapter_name: 译文文本} 返回: results:每个术语的分析(用到哪些译法、是否一致、各章用法) consistent_terms / total_terms / rate
chapter10/book-translation/consistency.py:97
Method
analyze_error
Analyze error output and provide suggestions. Args: tool_name: Name of the tool that produced the error
chapter4/execution-tools/llm_helper.py:218
Method
analyze_mode
Combined search and analysis mode
chapter1/search-codegen/main.py:137
Function
anon_ctx
()
chapter5/permission-embedded-data-objects/tests/test_core.py:49
Function
answer_is_correct
最终答复里出现正确总额即算完成,允许 1% 的取整误差。
chapter5/provider-failover/tools.py:63
Function
api_parser
()
chapter2/prompt-engineering/tau_bench/model_utils/args.py:6
Function
api_response_callback
(request: Any, response: Any, error: Any)
chapter6/claude-computer-use-native/run_weather_task.py:81
Method
api_token
Get the current API token
chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py:114
Function
apply_filters
(chunk)
chapter7/elo-leaderboard/parallel_processing.py:242
Function
apply_transaction
Reaction: when a transaction commits, debit sender and credit recipient. The handler did not have to encode this -- the schema declares it.
chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:62
Function
approx_latency_for_datapoint
(dp: Datapoint, latency_ms_per_output_token: float)
chapter2/prompt-engineering/tau_bench/model_utils/model/completion.py:522
Function
architecture
()
scripts/book_figures/chapter5.py:19
Method
area
(self)
chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/paint_order.py:25
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-en/svg_lib.py:439
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-tr/svg_lib.py:439
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-ar/svg_lib.py:465
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-ru/svg_lib.py:439
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-es/svg_lib.py:439
Method
arrow_curved
Хоёрдугаар зэргийн Безьегийн муруйгаар нумласан сум зурна.
book-mn/svg_lib.py:440
Method
arrow_curved
Draw a curved arrow using a quadratic bezier.
book-id/svg_lib.py:439
Function
arxiv_categories
Get ArXiv categories.
chapter4/perception-tools/src/main.py:667
Function
arxiv_download
Download ArXiv paper.
chapter4/perception-tools/src/main.py:658
Function
arxiv_paper_details
Get paper details.
chapter4/perception-tools/src/main.py:650
Function
arxiv_search
Search ArXiv.
chapter4/perception-tools/src/main.py:335
Method
asyncSetUp
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:173
Method
asyncTearDown
(self)
chapter4/collaboration-tools/test_timer_tools.py:34
Method
asyncTearDown
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:176
Method
asyncTearDown
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:252
Method
async_simple_action
()
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry_action_parameter_injection.py:384
Function
async_wrapper
(*args, **kwargs)
chapter9/browser-use-rpa/browser-use/browser_use/observability.py:72
Method
attach_to_target
AboutBlankWatchdog doesn't monitor individual targets.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/aboutblank_watchdog.py:85
Function
audio_metadata
Extract audio metadata.
chapter4/perception-tools/src/main.py:506
Function
audio_transcribe
Transcribe audio to text.
chapter4/perception-tools/src/main.py:496
Function
audio_trim
Trim audio file.
chapter4/perception-tools/src/main.py:551
Method
audit_translation
Audit entrypoint to check translation consistency.
chapter10/book-translation/consistency_auditor.py:94
Function
auth
Authenticate with Browser Use Cloud to sync your runs
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:1996
Method
authenticate_cloud_sync
Authenticate with cloud service for future runs. This is useful when users want to authenticate after a task has completed so that future runs
chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py:2155
Method
availability
(self)
chapter7/model-benchmark/benchmark.py:224
Method
bad_action
(index: int, browser_session: BrowserSession, **kwargs)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:673
Method
bad_session
(browser_session: str)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:684
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-en/svg_lib.py:512
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-tr/svg_lib.py:512
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-ar/svg_lib.py:538
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-ru/svg_lib.py:512
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-es/svg_lib.py:512
Method
badge
Жижиг дугуй булантай тэмдэг/шошго. Шошгыг багтаахын тулд төвийг хэвээр үлдээн өргөжүүлнэ.
book-mn/svg_lib.py:513
Method
badge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-id/svg_lib.py:512
← previous
next →
8,301–8,400 of 13,003, ranked by callers