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
Method
AZURE_OPENAI_ENDPOINT
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:151
Method
AZURE_OPENAI_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:155
Function
App
()
chapter5/conversational-ui/frontend/src/App.jsx:17
Function
App
()
chapter5/conversational-ui/baseline/src/App.jsx:17
Function
App
()
chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx:17
Function
App
()
chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/frontend/src/App.jsx:17
Function
App
()
chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx:17
Function
App
({ Component, pageProps }: AppProps)
chapter6/live-audio/frontend/pages/_app.tsx:4
Function
App
({ Component, pageProps }: AppProps)
chapter2/attention_visualization/frontend/pages/_app.tsx:4
Function
AttentionHeatmap
({ tokens, attentionWeights }: AttentionHeatmapProps)
chapter2/attention_visualization/frontend/components/AttentionHeatmap.tsx:10
Function
AttentionModal
({ isOpen, onClose, tokens, attentionWeights }: AttentionModalProps)
chapter2/attention_visualization/frontend/components/AttentionModal.tsx:12
Function
AttentionPreview
({ tokens, attentionWeights, onClick }: AttentionPreviewProps)
chapter2/attention_visualization/frontend/components/AttentionPreview.tsx:10
Function
AttentionStats
({ attentionData }: AttentionStatsProps)
chapter2/attention_visualization/frontend/components/AttentionStats.tsx:13
Method
BROWSER_USE_CLOUD_API_URL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:66
Method
BROWSER_USE_CLOUD_SYNC
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:62
Method
BROWSER_USE_CLOUD_UI_URL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:72
Method
BROWSER_USE_CONFIG_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:89
Method
BROWSER_USE_CONFIG_FILE
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:95
Method
BROWSER_USE_DEFAULT_USER_DATA_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:105
Method
BROWSER_USE_EXTENSIONS_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:109
Method
BROWSER_USE_LOGGING_LEVEL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:54
Method
BROWSER_USE_PROFILES_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:99
Function
CodeBlock
({ node, inline, className, children, ...props })
chapter6/live-audio/frontend/pages/index.tsx:28
Method
DEEPSEEK_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:139
Method
DEFAULT_LLM
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:163
Method
GOOGLE_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:135
Method
GROK_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:143
Function
Home
()
chapter6/live-audio/frontend/pages/index.tsx:65
Function
Home
()
chapter2/attention_visualization/frontend/pages/index.tsx:56
Method
IN_DOCKER
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:168
Method
IS_IN_EVALS
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:172
Method
NOVITA_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:147
Method
OPENAI_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:127
Function
PromptDisplay
({ prompt, tokens, tokenCount }: PromptDisplayProps)
chapter2/attention_visualization/frontend/components/PromptDisplay.tsx:10
Function
ResponseDisplay
({ response, tokens }: ResponseDisplayProps)
chapter2/attention_visualization/frontend/components/ResponseDisplay.tsx:9
Method
SKIP_LLM_API_KEY_VERIFICATION
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:159
Function
TabButton
({ active, onClick, children })
chapter6/live-audio/frontend/pages/index.tsx:52
Function
TestCaseSelector
({ testCases, selectedIndex, onSelect }: TestCaseSelectorProps)
chapter2/attention_visualization/frontend/components/TestCaseSelector.tsx:16
Method
WIN_FONT_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:176
Method
XDG_CACHE_HOME
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:81
Method
XDG_CONFIG_HOME
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:85
Method
__aenter__
(self)
chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py:61
Method
__aenter__
(self)
chapter10/autonomous-phone-registration/browser.py:156
Method
__aenter__
(self)
chapter4/perception-tools/test_arxiv_request_bounds.py:81
Method
__aexit__
Clean up DOM service on exit.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/dom_watchdog.py:572
Method
__aexit__
(self, exc_type, exc_value, traceback)
chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py:64
Method
__aexit__
(self, exc_type, exc, tb)
chapter10/autonomous-phone-registration/browser.py:160
Method
__aexit__
(self, *_args)
chapter4/perception-tools/test_arxiv_request_bounds.py:84
Method
__call__
(self, batch)
chapter8/exact-copy-sft/train_sft.py:27
Method
__call__
(self, rows)
chapter8/speech-sft-experiment/run_orpheus.py:59
Method
__call__
(self, rows)
chapter8/speech-sft-experiment/run_sesame.py:53
Method
__call__
(self, batch)
chapter8/curly-quote-sft/train_sft.py:35
Method
__call__
(self, source: str, text: str)
chapter6/async-agent/run_real_experiment.py:69
Method
__call__
(self, source: str, text: str)
chapter6/async-agent/async_demos.py:32
Method
__call__
Called during generation to track tokens
chapter2/attention_visualization/agent.py:103
Method
__call__
(self, text, return_tensors="pt", truncation=False)
chapter2/attention_visualization/test_streaming.py:54
Method
__call__
(self, **kwargs)
chapter2/attention_visualization/test_streaming.py:77
Method
__call__
(self, chunk_size: int)
chapter3/retrieval-pipeline/reranker.py:60
Method
__contains__
(self, node)
chapter3/structured-index/test_graphrag_search_top_k.py:51
Method
__del__
Cleanup when agent is destroyed
chapter6/agent-with-event-trigger/agent.py:1298
Method
__del__
Clean up any running tasks during garbage collection.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdog_base.py:240
Method
__del__
Clean up DOM service on deletion.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/dom_watchdog.py:578
Method
__enter__
(self)
chapter7/tts-quality-eval/tests/test_judge_robustness.py:80
Method
__enter__
(self)
chapter7/model-benchmark/test_campaign.py:203
Method
__enter__
(self)
tests/test_ch5_pedo_atomic_delete.py:34
Method
__enter__
(self)
tests/test_ch5_pedo_atomic_delete.py:62
Method
__enter__
(self)
chapter10/voice-werewolf/test_live_human.py:256
Method
__enter__
(self)
chapter4/execution-tools/test_code_interpreter_python_runtime.py:15
Method
__enter__
(self)
chapter4/execution-tools/test_execution_tools.py:32
Method
__eq__
(self, other)
chapter2/prompt-engineering/test_hash_item_dict_collision.py:19
Method
__eq__
(self, other: object)
chapter2/prompt-engineering/tau_bench/model_utils/api/cache.py:22
Method
__eq__
(self, other: object)
chapter10/generative-agents/run_campaign.py:49
Method
__exit__
(self, *args)
chapter7/tts-quality-eval/tests/test_judge_robustness.py:83
Method
__exit__
(self, *_args)
chapter7/model-benchmark/test_campaign.py:206
Method
__exit__
(self, *args)
tests/test_ch5_pedo_atomic_delete.py:37
Method
__exit__
(self, kind, value, traceback)
tests/test_ch5_pedo_atomic_delete.py:65
Method
__exit__
(self, *args)
chapter10/voice-werewolf/test_live_human.py:259
Method
__exit__
(self, exc_type, exc, tb)
chapter4/execution-tools/test_code_interpreter_python_runtime.py:19
Method
__exit__
(self, exc_type, exc, tb)
chapter4/execution-tools/test_execution_tools.py:36
Method
__get_pydantic_core_schema__
Allow this Protocol to be used in Pydantic models -> very useful to typesafe the agent settings for example. Returns a schema that allows any obj
chapter9/browser-use-rpa/browser-use/browser_use/llm/base.py:45
Function
__getattr__
Lazy import mechanism - only import modules when they're actually accessed.
chapter9/browser-use-rpa/browser-use/browser_use/__init__.py:94
Function
__getattr__
Lazy import mechanism for heavy browser components.
chapter9/browser-use-rpa/browser-use/browser_use/browser/__init__.py:17
Function
__getattr__
Lazy import mechanism for telemetry components.
chapter9/browser-use-rpa/browser-use/browser_use/telemetry/__init__.py:27
Function
__getattr__
Lazy import mechanism for heavy chat model imports and model instances.
chapter9/browser-use-rpa/browser-use/browser_use/llm/__init__.py:93
Function
__getattr__
Create model instances on demand with API keys from environment.
chapter9/browser-use-rpa/browser-use/browser_use/llm/models.py:117
Function
__getattr__
Lazy import mechanism for AWS chat models.
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/__init__.py:15
Function
__getattr__
Lazy import to avoid importing server module when only client is needed.
chapter9/browser-use-rpa/browser-use/browser_use/mcp/__init__.py:12
Function
__getattr__
Keep the data model usable in offline tests without browser-use.
chapter9/browser-use-rpa/learning_agent/__init__.py:17
Method
__getattr__
(self, name)
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:186
Method
__getattr__
Dynamically proxy all attributes to fresh instances. This ensures env vars are re-read on every access.
chapter9/browser-use-rpa/browser-use/browser_use/config.py:354
Method
__getattr__
(self, name: str)
chapter10/book-translation/consistency_auditor.py:77
Method
__getattr__
(self, name: str)
chapter4/collaboration-tools/src/notification_dispatcher.py:95
Method
__getitem__
(self, key: str)
chapter5/permission-embedded-data-objects/run_live_security_eval.py:164
Method
__getitem__
(self, index: int)
chapter8/cot-distillation/train_student.py:234
Method
__getitem__
(self, key: str)
chapter9/hermes-self-evolution/run_downstream_ablation.py:79
Method
__getitem__
(self, key: str)
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:182
Method
__getitem__
(self, key: str)
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:523
Method
__hash__
(self)
chapter2/prompt-engineering/test_hash_item_dict_collision.py:16
Method
__hash__
(self)
chapter2/prompt-engineering/tau_bench/model_utils/api/cache.py:19
Method
__hash__
Hash the element based on its parent branch path and attributes. TODO: migrate this to use only backendNodeId + current SessionId
chapter9/browser-use-rpa/browser-use/browser_use/dom/views.py:750
← previous
next →
7,501–7,600 of 13,003, ranked by callers