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
↓ 1 callers
Function
applyDocumentLocale
(language)
extras/auto-translate.js:321
↓ 1 callers
Function
apply_figure_overrides
Fix regions whose flat SVG structure cannot express their layout.
book-vi/fix_svg_text_layout.py:347
↓ 1 callers
Method
apply_memory_updates
Apply memory updates to the memory manager Args: updates: List of memory updates to apply R
chapter3/user-memory/background_memory_processor.py:163
↓ 1 callers
Function
architecture
(k)
web-astro/scripts/coding-core-layout.mjs:36
↓ 1 callers
Function
arg
(name, fallback)
chapter6/live-audio/backend/run_real_validation.js:15
↓ 1 callers
Method
args_as_dict
Return the extra launch CLI args as a dictionary.
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:436
↓ 1 callers
Method
args_as_list
Return the extra launch CLI args as a list of strings.
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:445
↓ 1 callers
Function
arm
(name, correct)
chapter8/cot-distillation/test_student_pipeline.py:40
↓ 1 callers
Function
armTimer
()
web-astro/src/scripts/machine-translation.ts:92
↓ 1 callers
Function
arm_complete
(output: Path, arm: str)
chapter10/generative-agents/supervise_campaigns.py:35
↓ 1 callers
Function
arm_produced_inference
Report whether this arm actually got answers from the provider. Two of the manuscript's four behaviour claims are phrased as absences -- no t
chapter1/context/run_experiment_1_1.py:441
↓ 1 callers
Function
arm_stats
(name)
chapter9/tau2-escalation-experience/build_evidence.py:23
↓ 1 callers
Function
arrow
(transition, x1, y1, x2, y2)
web-astro/scripts/training-sequences-figures.mjs:60
↓ 1 callers
Function
arrow
(x1, y1, x2, y2)
web-astro/scripts/grpo-rollouts-figure.mjs:477
↓ 1 callers
Function
arrow
(edge, d)
web-astro/scripts/evolution-methods-figures.mjs:85
↓ 1 callers
Function
article_hits
(results: Iterable[Dict[str, Any]], gold: Iterable[str])
chapter3/agentic-rag/campaign.py:48
↓ 1 callers
Function
artifact
(path: Path, label: str)
chapter7/openvla-robotwin2-eval/finalize_evidence.py:38
↓ 1 callers
Function
artifactGroups
(nodes)
web-astro/scripts/coding-application-layout.mjs:285
↓ 1 callers
Function
artifact_record
(path: Path, run_dir: Path)
chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:618
↓ 1 callers
Function
artifact_record
(path: Path, run_dir: Path)
chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:765
↓ 1 callers
Function
artifact_record
(path: Path, run_dir: Path)
chapter8/continued-pretraining/validation/run_report_audit.py:645
↓ 1 callers
Function
arxiv_ids
(payload: dict[str, Any])
chapter4/active-tool-discovery/run_exact_experiment.py:447
↓ 1 callers
Function
assertBalancedXml
(svg, label)
web-astro/scripts/coding-application-layout.test.mjs:27
↓ 1 callers
Function
assertBounds
(result, context)
web-astro/scripts/evaluation-comparison-layout.test.mjs:41
↓ 1 callers
Function
assertFigureContent
(copied, original, image)
web-astro/scripts/build.test.mjs:119
↓ 1 callers
Function
assertShape
(source, figure, expected)
web-astro/scripts/retrieval-structure-layout.mjs:9
↓ 1 callers
Function
assert_absent
(locale: str, chapter: int, figure: int, needle: str)
tests/test_i18n_figure_placement.py:71
↓ 1 callers
Function
assert_credential_free
Refuse to write evidence that embeds any configured API key.
chapter1/search-codegen/run_experiment_1_3.py:317
↓ 1 callers
Function
assert_no_secrets
(text: str)
chapter9/hermes-self-evolution/run_experiment_9_8.py:59
↓ 1 callers
Function
assert_safe_parser
(source: str)
chapter5/adaptive-log-parser/campaign.py:101
↓ 1 callers
Function
assess_611
(rows, readiness=True)
chapter7/user-memory-system-evaluation/test_experiment.py:326
↓ 1 callers
Function
assign_play_order
(point)
flatten_epub_toc.py:138
↓ 1 callers
Function
assistant_tool
(name: str, arguments: dict[str, Any], call_id: str)
chapter2/attention_visualization/run_status_bar_experiment.py:64
↓ 1 callers
Function
atomic_json
(path: Path, value: Any)
chapter5/dynamic-form/campaign.py:48
↓ 1 callers
Function
atomic_json
(path: Path, value: Any)
chapter5/erp-agent/campaign_postgres.py:79
↓ 1 callers
Function
atomic_json
(path: Path, value: Any)
chapter5/adaptive-log-parser/campaign.py:68
↓ 1 callers
Function
atomic_json
(path: Path, value: dict)
chapter10/generative-agents/supervise_campaigns.py:19
↓ 1 callers
Method
attach_to_session
Attach watchdog to its browser session and start monitoring. This method handles event listener registration. The watchdog is already bound to a
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdog_base.py:190
↓ 1 callers
Method
attach_to_target
Set up crash monitoring for a specific target using CDP.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/crash_watchdog.py:75
↓ 1 callers
Method
attach_to_target
Set up download monitoring for a specific target.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/downloads_watchdog.py:156
↓ 1 callers
Function
attempt
(scenario, actor, intent, fn)
chapter5/permission-embedded-data-objects/pedo/eval/enterprise_agent_scenarios.py:114
↓ 1 callers
Function
attention_example
()
scripts/book_figures/chapter2.py:146
↓ 1 callers
Function
attribute
(name)
web-astro/scripts/evolution-flow-figures.mjs:15
↓ 1 callers
Function
attributeNumbers
(source, selector, attribute)
web-astro/scripts/collaboration-society-figures.test.mjs:33
↓ 1 callers
Function
audio_metadata
(path: str | Path)
chapter6/end-to-end-speech/speech_model.py:37
↓ 1 callers
Function
audio_path
(cfg_name: str, sample_id: str)
chapter7/tts-quality-eval/demo.py:51
↓ 1 callers
Function
audio_stats
(path: Path)
chapter8/speech-sft-experiment/analyze_campaign.py:30
↓ 1 callers
Method
authRequired
(self, callback)
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:66
↓ 1 callers
Method
authenticate
Handle OAuth authentication and token management Returns: bool: True if authentication successful, False otherwise
chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py:77
↓ 1 callers
Function
auto_respond_to_unread
Click unread tab and respond to messages
chapter9/browser-use-rpa/browser-use/examples/apps/msg-use/scheduler.py:145
↓ 1 callers
Function
autonomous_loop
()
scripts/book_figures/chapter1.py:189
↓ 1 callers
Function
aworld
()
scripts/book_figures/chapter8.py:280
↓ 1 callers
Function
backend
(provider: str, model: str | None)
chapter5/erp-agent/campaign_postgres.py:88
↓ 1 callers
Function
backend
(provider: str, model: str | None)
chapter5/adaptive-log-parser/campaign.py:75
↓ 1 callers
Function
backup
(highlights)
web-astro/scripts/annotations.test.mjs:40
↓ 1 callers
Function
basic_example
Basic example of using Mem0 agent.
chapter3/mem0/quickstart.py:18
↓ 1 callers
Function
batch_token_analysis
(dps: list[Datapoint], encoding_for_model: str = "gpt-4o")
chapter2/prompt-engineering/tau_bench/model_utils/api/tokens.py:22
↓ 1 callers
Function
bearer_diagnostic
Preserve the rejected alternate auth probe without leaking its token.
chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:539
↓ 1 callers
Function
behavior_of
(mode: str, key: str, default: Any = False)
chapter1/context/run_experiment_1_1.py:506
↓ 1 callers
Function
benchmark_basic_elo
Benchmark the basic Elo implementation.
chapter7/elo-leaderboard/benchmark.py:12
↓ 1 callers
Function
benchmark_optimized_elo
Benchmark the NumPy + Numba optimized implementation.
chapter7/elo-leaderboard/benchmark.py:37
↓ 1 callers
Function
benchmark_pedo_reads
Benchmark permission-embedded object reads.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:280
↓ 1 callers
Function
benchmark_pedo_writes
Benchmark permission-embedded object writes.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:175
↓ 1 callers
Function
benchmark_raw_reads
Benchmark raw PostgreSQL SELECT.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:94
↓ 1 callers
Function
benchmark_raw_writes
Benchmark raw PostgreSQL INSERT.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:72
↓ 1 callers
Function
benchmark_reaction_chain
Benchmark PEDO reactions processing the same status change chain.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:275
↓ 1 callers
Function
benchmark_reaction_failure
Test what happens when a reaction fails.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:347
↓ 1 callers
Function
benchmark_rls_reads
Benchmark PostgreSQL with RLS reads.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:145
↓ 1 callers
Function
benchmark_rls_writes
Benchmark PostgreSQL with RLS enabled.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:122
↓ 1 callers
Function
benchmark_trigger_chain
Benchmark PostgreSQL triggers processing a status change chain.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:236
↓ 1 callers
Function
benchmark_trigger_failure
Test what happens when a trigger fails.
chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:305
↓ 1 callers
Function
bind
()
extras/auto-translate.js:431
↓ 1 callers
Function
bindWhenReady
()
extras/lang-switcher.js:15
↓ 1 callers
Function
blind_mapping
(case_id: int)
chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:227
↓ 1 callers
Function
blind_mapping
(image: str)
chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:318
↓ 1 callers
Function
blind_mapping
(test_id: int)
chapter8/continued-pretraining/validation/run_report_audit.py:182
↓ 1 callers
Function
bm25
()
scripts/book_figures/chapter3.py:191
↓ 1 callers
Function
bodyRows
(kit, ids, x, y, width, metrics, key)
web-astro/scripts/coding-application-layout.mjs:127
↓ 1 callers
Function
bool_gate
(value: bool, **details: Any)
chapter6/streaming-speech/run_official_experiment.py:92
↓ 1 callers
Function
box
(ids, x, y, w, h, style = title)
web-astro/scripts/retrieval-workflow-layout.mjs:30
↓ 1 callers
Function
boxes
(svg, element)
web-astro/scripts/evaluation-overview-layout.test.mjs:26
↓ 1 callers
Function
boxes
(svg, element)
web-astro/scripts/coding-production-layout.test.mjs:23
↓ 1 callers
Function
boxes
(svg, element)
web-astro/scripts/tool-cache-layout.test.mjs:23
↓ 1 callers
Function
boxes
(svg, element)
web-astro/scripts/voice-architecture-layout.test.mjs:23
↓ 1 callers
Function
boxes
(svg, element)
web-astro/scripts/async-architecture-layout.test.mjs:27
↓ 1 callers
Function
branch
(from, to, d)
web-astro/scripts/training-foundations-figures.mjs:120
↓ 1 callers
Function
browser_execute_task
Execute a high-level browser task using the browser-use agent. Args: task: Natural language description of the task to perform
chapter4/collaboration-tools/src/browser_tools.py:150
↓ 1 callers
Function
browser_get_content
Get content from the current page. Args: selector: Optional CSS selector to extract specific content Returns: Di
chapter4/collaboration-tools/src/browser_tools.py:102
↓ 1 callers
Method
browser_navigate
Navigate with real headless Chromium, extract content, and retain pixels.
chapter4/execution-tools/extended_tools.py:111
↓ 1 callers
Function
browser_screenshot
Take a screenshot of the current page. Args: full_page: Whether to capture the full page or just viewport Returns:
chapter4/collaboration-tools/src/browser_tools.py:211
↓ 1 callers
Function
browser_submit
(html: str, screenshot: Path)
chapter5/dynamic-form/campaign.py:149
↓ 1 callers
Function
browser_value
(page, kind: str)
chapter5/conversational-ui/campaign_browser.py:211
↓ 1 callers
Function
bucket_key
(starred_at: str, bucket_seconds: int)
scripts/gen_star_history.py:314
↓ 1 callers
Method
bufferToFloat32Array
* Convert Buffer to Float32Array for Silero VAD * @param {Buffer} buffer - PCM 16-bit audio buffer * @returns {Float32Array} Normalized audio sa
chapter6/live-audio/backend/utils/vad.js:86
↓ 1 callers
Function
build
(*, per_cell: int, seed: int)
chapter5/code-for-logic/build_hf_puzzles.py:119
↓ 1 callers
Function
build
()
chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/build.js:4
↓ 1 callers
Function
buildMenuGroup
(conf)
extras/auto-translate.js:334
↓ 1 callers
Function
buildNotice
()
extras/auto-translate.js:269
↓ 1 callers
Function
buildProvenance
()
chapter6/live-audio/backend/run_real_validation.js:87
↓ 1 callers
Function
build_advanced
AdvancedWebSearchAgent without a real OpenAI client; search_and_answer mocked.
chapter1/web-search-agent/tests/test_examples.py:14
← previous
next →
4,201–4,300 of 13,003, ranked by callers