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
Method
record_bus
(self, phase: str, bus: MessageBus)
chapter10/parallel-web-research/run_official_experiment.py:111
↓ 1 callers
Function
record_cell
(record: RunRecord)
chapter7/user-memory-system-evaluation/experiment.py:1581
↓ 1 callers
Method
record_llm_decision
(self, **data)
chapter10/voice-werewolf/werewolf/simulator.py:122
↓ 1 callers
Function
records_in_problem_order
Return canonical problem order while retaining any legacy extra records.
chapter8/cot-distillation/generate_data.py:63
↓ 1 callers
Function
recover
(provider: str, break_point: str, strategy: str, partial: streaming.Partial, trace: Trace)
chapter5/provider-failover/run_continuation.py:112
↓ 1 callers
Function
rectangles
(svg, attribute)
web-astro/scripts/collaboration-manager-figures.test.mjs:63
↓ 1 callers
Function
recursiveMap
(count)
web-astro/scripts/retrieval-structure-layout.mjs:235
↓ 1 callers
Function
redistribute_codes
(code_list)
chapter8/orpheus/orpheus_sft_unsloth.py:420
↓ 1 callers
Function
reference_script
Return S1-native synthesis text and the literal spoken transcript.
chapter6/controllable-tts/voice_library.py:31
↓ 1 callers
Function
reflect
( model: str, provider: str, response: str, messages: List[Dict[str, Any]] )
chapter2/prompt-engineering/tau_bench/envs/user.py:316
↓ 1 callers
Function
reflow_wrapped_shapes
Lay wrapped labels out as columns so adjacent rows cannot collide.
book-vi/fix_svg_text_layout.py:434
↓ 1 callers
Function
regex_findings
(text: str)
chapter3/log-sanitization/campaign.py:114
↓ 1 callers
Method
register
Register signal handlers for SIGINT and SIGTERM.
chapter9/browser-use-rpa/browser-use/browser_use/utils.py:102
↓ 1 callers
Function
register_banking_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:82
↓ 1 callers
Function
register_ecommerce_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py:85
↓ 1 callers
Method
register_email_tools
Register all email-related controller actions
chapter9/browser-use-rpa/browser-use/examples/integrations/agentmail/email_tools.py:119
↓ 1 callers
Function
register_enterprise_agent_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py:84
↓ 1 callers
Function
register_expanded_tools
Register all 70 real-backed tools on an MCPServer instance.
chapter4/perception-tools/src/expanded_catalog.py:1007
↓ 1 callers
Function
register_forum_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py:76
↓ 1 callers
Function
register_gmail_actions
Register Gmail actions with the provided tools Args: tools: The browser-use tools to register actions with gmail_service: Optional pre-co
chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/actions.py:29
↓ 1 callers
Function
register_healthcare_types
(store: ObjectStore)
chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:60
↓ 1 callers
Function
register_hiring_types_no_policy
Register hiring types with no permission rules and no validators. Relationships are kept so structural delete-cascade still applies; this mat
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:38
↓ 1 callers
Function
register_pm_types_no_policy
Register project-mgmt types with no permission rules and no validators.
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:90
↓ 1 callers
Method
register_process
Register a background process for monitoring
chapter6/agent-with-event-trigger/client.py:113
↓ 1 callers
Method
register_tool
Register a new tool
chapter2/attention_visualization/tools.py:102
↓ 1 callers
Method
register_type
(self, obj_type)
tests/test_ch5_pedo_live_security_eval.py:291
↓ 1 callers
Function
rememberLang
(code)
extras/lang-switcher.js:76
↓ 1 callers
Function
removeEmoji
(sentence)
chapter6/live-audio/backend/utils/textProcessor.js:4
↓ 1 callers
Function
removeEmotions
(text)
chapter6/live-audio/backend/utils/textProcessor.js:165
↓ 1 callers
Function
removeHighlight
( db: IDBDatabase, id: string, )
web-astro/src/lib/highlight-store.ts:105
↓ 1 callers
Function
remove_descriptions_recursive
Recursively remove all description fields from a nested object Args: obj: The object to process Returns: Object
chapter2/prompt-engineering/ablation_utils.py:114
↓ 1 callers
Method
remove_highlights
Remove highlights from the page using CDP.
chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py:1727
↓ 1 callers
Function
remove_special_chars
(s: str)
chapter2/prompt-engineering/tau_bench/model_utils/api/datapoint.py:94
↓ 1 callers
Function
render
()
web-astro/src/scripts/highlights.ts:90
↓ 1 callers
Function
render
(page, markup)
scripts/kindle_epub_patcher.py:38
↓ 1 callers
Function
render
(tokenizer, messages)
chapter2/attention_visualization/run_status_bar_experiment.py:162
↓ 1 callers
Function
render
(data)
chapter1/context/vis_validation.py:97
↓ 1 callers
Function
render
()
extras/lang-switcher.js:503
↓ 1 callers
Function
render
()
extras/auto-translate.js:420
↓ 1 callers
Method
render
(self)
book-tr/svg_lib.py:522
↓ 1 callers
Method
render
(self)
book-ar/svg_lib.py:548
↓ 1 callers
Method
render
(self)
book-ru/svg_lib.py:522
↓ 1 callers
Method
render
(self)
book-es/svg_lib.py:522
↓ 1 callers
Method
render
(self)
book-mn/svg_lib.py:523
↓ 1 callers
Method
render
(self)
book-id/svg_lib.py:522
↓ 1 callers
Function
renderChapter1Pilot
(lesson)
slides/chapter1-pilot.mjs:823
↓ 1 callers
Function
renderLesson
(lesson)
slides/generate.mjs:148
↓ 1 callers
Function
renderLessonOne
(lesson)
slides/chapter1-pilot.mjs:48
↓ 1 callers
Function
renderLessonTwo
(lesson)
slides/chapter1-pilot.mjs:448
↓ 1 callers
Function
renderModule
(ids, x)
web-astro/scripts/coding-core-layout.mjs:80
↓ 1 callers
Function
renderPipeline
(k, stages, y, rtl)
web-astro/scripts/coding-production-layout.mjs:365
↓ 1 callers
Function
renderReport
(e)
chapter6/live-audio/backend/run_real_validation.js:354
↓ 1 callers
Function
renderStack
(specifications, x, name)
web-astro/scripts/tool-cache-layout.mjs:121
↓ 1 callers
Function
render_arm_section
(arm)
chapter1/context/vis_validation.py:40
↓ 1 callers
Function
render_check
(files)
book-vi/fix_svg_text_layout.py:534
↓ 1 callers
Function
render_events
把 SDK 返回的 UserEventData 列表整理成可读的时间线。
chapter3/memobase/profile_demo.py:112
↓ 1 callers
Function
render_form_html
把声明式 schema 确定性渲染成自包含的级联 HTML(离线路径,不调用 LLM)。
chapter5/dynamic-form/demo.py:390
↓ 1 callers
Function
render_nl
把结构化陈述渲染成中文题面(供随机生成的谜题使用)。
chapter5/code-for-logic/csp_solver.py:93
↓ 1 callers
Function
render_pdf
(pdf: Path, output: Path)
chapter4/multimodal-agent/campaign.py:99
↓ 1 callers
Function
render_profiles
把 SDK 返回的 UserProfile 列表整理成 主题→子主题→内容 的结构。
chapter3/memobase/profile_demo.py:104
↓ 1 callers
Function
render_report
(summary: dict[str, Any])
chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:565
↓ 1 callers
Function
render_report
(summary: dict[str, Any])
chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:722
↓ 1 callers
Function
render_report
(summary: dict[str, Any])
chapter8/continued-pretraining/validation/run_report_audit.py:584
↓ 1 callers
Function
render_results
(run_dir: Path, records: list[dict[str, Any]])
chapter5/erp-agent/campaign_postgres.py:236
↓ 1 callers
Function
render_sample
(rng: np.random.Generator, domain: str)
chapter6/rgb-sim2real-grasping/pipeline.py:42
↓ 1 callers
Function
render_scene
(path: Path, state: DesktopState)
chapter6/gemini-xlerobot-navigation/desktop_planner.py:179
↓ 1 callers
Function
render_slide
把一页幻灯片渲染为 1280x720 的 PNG。
chapter5/paper-to-video/demo.py:210
↓ 1 callers
Function
render_with_blender
写出 bpy 脚本并用 `blender --background --python` 无头执行,产出成片。
chapter5/video-edit/blender_editor.py:177
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/training-sequences-figures.test.mjs:35
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/retrieval-structure-layout.test.mjs:19
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/evaluation-overview-layout.test.mjs:42
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/evolution-methods-figures.test.mjs:43
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/collaboration-context-figures.test.mjs:29
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/training-systems-figures.test.mjs:27
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/training-foundations-figures.test.mjs:36
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/collaboration-manager-figures.test.mjs:45
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/evolution-flow-figures.test.mjs:29
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/coding-production-layout.test.mjs:17
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/memory-foundation-layout.test.mjs:30
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/tool-cache-layout.test.mjs:15
↓ 1 callers
Function
renderedLabels
(result)
web-astro/scripts/evaluation-comparison-layout.test.mjs:36
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/voice-architecture-layout.test.mjs:17
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/async-architecture-layout.test.mjs:21
↓ 1 callers
Function
renderedLabels
(svg)
web-astro/scripts/training-workflows-figures.test.mjs:31
↓ 1 callers
Function
renderedLabels
(source)
web-astro/scripts/collaboration-society-figures.test.mjs:24
↓ 1 callers
Method
repair_after_live_failure
Repair from real runtime or semantic-acceptance evidence.
chapter5/agent-creator/creator.py:1289
↓ 1 callers
Method
repair_orphans
补齐缺结果的工具调用。 流式请求被切断时,工具调用可能已经进了轨迹而结果还没回来。多数厂商会 拒绝这种残缺的配对,所以渲染之前先补一条说明性的结果。
chapter5/provider-failover/neutral_trace.py:82
↓ 1 callers
Function
repair_prompt
(content: str, error: Exception)
chapter10/book-translation/run_official_experiment.py:292
↓ 1 callers
Function
replace_once
(path: Path, old: str, new: str)
chapter7/openvla-robotwin2-eval/instrument_upstream.py:76
↓ 1 callers
Function
replay
(run_dir)
chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:335
↓ 1 callers
Function
replay
(run_dir)
chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:350
↓ 1 callers
Function
replay
(run_dir)
chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:335
↓ 1 callers
Function
repo_hash_map
(files: list[Path])
chapter10/book-translation/run_official_experiment.py:658
↓ 1 callers
Function
repo_info
只读地采集 git 信息;不在 git 仓库里时降级为 unknown。
chapter1/image-gen-workflow/evidence.py:60
↓ 1 callers
Function
repo_summary
(repo: str, token: str)
scripts/gen_star_history.py:150
↓ 1 callers
Method
report
(self, state: TaskState, note: str)
chapter10/parallel-web-research/agents.py:81
↓ 1 callers
Function
repositoryHref
(target)
slides/generate.mjs:34
↓ 1 callers
Function
reproduction_contract
()
chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:377
↓ 1 callers
Function
reproduction_contract
()
chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:507
↓ 1 callers
Function
reproduction_contract
()
chapter8/continued-pretraining/validation/run_report_audit.py:340
← previous
next →
6,401–6,500 of 13,003, ranked by callers