MCPcopy Create free account

hub / github.com/bojieli/ai-agent-book / functions

Functions13,003 in github.com/bojieli/ai-agent-book

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
Methodact
(self, task: Dict[str, Any])
chapter9/self-evolution-eval/agent.py:165
Methodaction
Decorator for registering actions
chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py:273
FunctionactionSpace
(k)
web-astro/scripts/computer-use-layout.mjs:95
Methodaction_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
Methodaction_input_history_prev
Navigate to the previous item in command history.
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:953
Methodaction_names
Get all action names from history
chapter9/browser-use-rpa/browser-use/browser_use/agent/views.py:544
Methodaction_with_browser
(text: str, browser_session: BrowserSession)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:137
FunctionactivateMark
(event: MouseEvent | KeyboardEvent)
web-astro/src/scripts/highlights.ts:449
Methodadb
(*arguments: str, binary: bool = False)
chapter4/execution-tools/extended_tools.py:300
Functionadd
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T070500Z/workspace/valid.py:1
Functionadd
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093348Z/workspace/valid.py:1
Functionadd
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T062500Z/workspace/valid.py:1
Functionadd
(a, b)
chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093657Z/workspace/valid.py:1
Functionadd_codes
(example)
chapter8/orpheus/orpheus_sft_unsloth.py:136
Methodadd_cookies
Add cookies using CDP.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/storage_state_watchdog.py:322
Methodadd_custom_tool
Add a custom tool to the registry Args: name: Tool name function: Callable function desc
chapter2/local_llm_serving/agent.py:544
Methodadd_item
Add an item to the index.
chapter3/dense-embedding/indexing.py:16
Methodadd_memory
Add a new memory card Args: content: Dictionary with 'category', 'subcategory', 'key', and 'value' s
chapter3/user-memory/memory_manager.py:407
Methodadd_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
Methodadd_memory
(self, content, session_id, **kwargs)
chapter3/user-memory/test_json_cards_string_payload.py:15
Methodadd_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
Methodadd_memory
Add a memory to the cluster
chapter3/memobase/agent.py:83
Methodadd_new_task
(self, new_task: str)
chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py:165
Functionadjust_inventory_on_state_change
Reaction: decrement inventory on 'paid', increment on 'refunded'.
chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py:62
Functionadmin
()
chapter5/permission-embedded-data-objects/tests/test_scenarios.py:34
Functionadvice_one
(cache: CachedCalls, row: Dict[str, Any], prototype: Dict[str, Any], distance: float, index: int)
chapter3/structured-knowledge-extraction/campaign.py:465
Methodagenerate
Async generate response using Kimi K3 model.
chapter3/mem0/agent.py:121
Methodagent
Lazy initialization of browser-use agent.
chapter9/browser-use-rpa/learning_agent/agent.py:96
Methodagent_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
Functionagent_query
(ctx)
tests/test_ch5_pedo_live_security_eval.py:492
Methodagent_task_worker
()
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:887
Functionagent_with_cloud
Create agent with cloud sync enabled (using real CloudSync).
chapter9/browser-use-rpa/browser-use/tests/ci/conftest.py:205
Methodagg_throughput
聚合输出吞吐(tokens/s):全部成功请求的输出 token 总数 / 整批墙钟耗时。
chapter7/model-benchmark/benchmark.py:235
Methodainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/examples/models/langchain/chat.py:95
Methodainvoke
( 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
Methodainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/ollama/chat.py:61
Methodainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/chat_anthropic.py:150
Methodainvoke
(self, messages: list[BaseMessage], output_format: None = None)
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/chat_bedrock.py:160
Methodallowed_count
(self)
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py:102
Functionanalyze
translations:{chapter_name: 译文文本} 返回: results:每个术语的分析(用到哪些译法、是否一致、各章用法) consistent_terms / total_terms / rate
chapter10/book-translation/consistency.py:97
Methodanalyze_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
Methodanalyze_mode
Combined search and analysis mode
chapter1/search-codegen/main.py:137
Functionanon_ctx
()
chapter5/permission-embedded-data-objects/tests/test_core.py:49
Functionanswer_is_correct
最终答复里出现正确总额即算完成,允许 1% 的取整误差。
chapter5/provider-failover/tools.py:63
Functionapi_parser
()
chapter2/prompt-engineering/tau_bench/model_utils/args.py:6
Functionapi_response_callback
(request: Any, response: Any, error: Any)
chapter6/claude-computer-use-native/run_weather_task.py:81
Methodapi_token
Get the current API token
chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py:114
Functionapply_filters
(chunk)
chapter7/elo-leaderboard/parallel_processing.py:242
Functionapply_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
Functionapprox_latency_for_datapoint
(dp: Datapoint, latency_ms_per_output_token: float)
chapter2/prompt-engineering/tau_bench/model_utils/model/completion.py:522
Functionarchitecture
()
scripts/book_figures/chapter5.py:19
Methodarea
(self)
chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/paint_order.py:25
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-en/svg_lib.py:439
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-tr/svg_lib.py:439
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-ar/svg_lib.py:465
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-ru/svg_lib.py:439
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-es/svg_lib.py:439
Methodarrow_curved
Хоёрдугаар зэргийн Безьегийн муруйгаар нумласан сум зурна.
book-mn/svg_lib.py:440
Methodarrow_curved
Draw a curved arrow using a quadratic bezier.
book-id/svg_lib.py:439
Functionarxiv_categories
Get ArXiv categories.
chapter4/perception-tools/src/main.py:667
Functionarxiv_download
Download ArXiv paper.
chapter4/perception-tools/src/main.py:658
Functionarxiv_paper_details
Get paper details.
chapter4/perception-tools/src/main.py:650
Functionarxiv_search
Search ArXiv.
chapter4/perception-tools/src/main.py:335
MethodasyncSetUp
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:173
MethodasyncTearDown
(self)
chapter4/collaboration-tools/test_timer_tools.py:34
MethodasyncTearDown
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:176
MethodasyncTearDown
(self)
chapter4/collaboration-tools/test_run_experiment_4_5.py:252
Methodasync_simple_action
()
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry_action_parameter_injection.py:384
Functionasync_wrapper
(*args, **kwargs)
chapter9/browser-use-rpa/browser-use/browser_use/observability.py:72
Methodattach_to_target
AboutBlankWatchdog doesn't monitor individual targets.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/aboutblank_watchdog.py:85
Functionaudio_metadata
Extract audio metadata.
chapter4/perception-tools/src/main.py:506
Functionaudio_transcribe
Transcribe audio to text.
chapter4/perception-tools/src/main.py:496
Functionaudio_trim
Trim audio file.
chapter4/perception-tools/src/main.py:551
Methodaudit_translation
Audit entrypoint to check translation consistency.
chapter10/book-translation/consistency_auditor.py:94
Functionauth
Authenticate with Browser Use Cloud to sync your runs
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:1996
Methodauthenticate_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
Methodavailability
(self)
chapter7/model-benchmark/benchmark.py:224
Methodbad_action
(index: int, browser_session: BrowserSession, **kwargs)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:673
Methodbad_session
(browser_session: str)
chapter9/browser-use-rpa/browser-use/tests/ci/test_registry.py:684
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-en/svg_lib.py:512
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-tr/svg_lib.py:512
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-ar/svg_lib.py:538
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-ru/svg_lib.py:512
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-es/svg_lib.py:512
Methodbadge
Жижиг дугуй булантай тэмдэг/шошго. Шошгыг багтаахын тулд төвийг хэвээр үлдээн өргөжүүлнэ.
book-mn/svg_lib.py:513
Methodbadge
Small rounded badge/tag. Widens (keeping its center) to fit the label.
book-id/svg_lib.py:512
← previousnext →8,301–8,400 of 13,003, ranked by callers