MCPcopy Create free account

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

Functions2,925 in github.com/bojieli/ai-agent-book

Methodload_memory
Load advanced JSON memory cards from storage
chapter3/user-memory/memory_manager.py:442
Functionlog_call
(func)
chapter2/prompt-engineering/tau_bench/model_utils/api/logging.py:43
Functionlog_execution_time
Decorator to log function execution time for educational purposes. Args: logger: Logger instance to use
chapter3/dense-embedding/logger.py:58
Methodlog_index_build
Log index building process.
chapter3/dense-embedding/logger.py:153
Functionmain
Main demo function
chapter2/local_llm_serving/demo_streaming.py:191
Functionmain
Demo the sample tasks
chapter1/context/demo_samples.py:11
Functionmcp_browser_execute_task
Execute a browser task using autonomous AI agent.
chapter4/collaboration-tools/src/main.py:113
Functionmcp_browser_get_content
Get content from the current page.
chapter4/collaboration-tools/src/main.py:104
Functionmcp_browser_list_tabs
List all open browser tabs.
chapter4/collaboration-tools/src/main.py:132
Functionmcp_browser_navigate
Navigate to a URL in the browser.
chapter4/collaboration-tools/src/main.py:94
Functionmcp_browser_screenshot
Take a screenshot of the current page.
chapter4/collaboration-tools/src/main.py:123
Functionmcp_cancel_timer
Cancel an active timer.
chapter4/collaboration-tools/src/main.py:268
Functionmcp_chess_get_board_state
Get current board state.
chapter4/collaboration-tools/src/main.py:331
Functionmcp_chess_get_game_status
Get game status.
chapter4/collaboration-tools/src/main.py:338
Functionmcp_chess_get_legal_moves
Get all legal moves.
chapter4/collaboration-tools/src/main.py:324
Functionmcp_chess_get_move_history
Get move history.
chapter4/collaboration-tools/src/main.py:352
Functionmcp_chess_load_fen
Load a chess position from FEN.
chapter4/collaboration-tools/src/main.py:306
Functionmcp_chess_make_move
Make a chess move.
chapter4/collaboration-tools/src/main.py:315
Functionmcp_chess_new_game
Start a new chess game with the standard starting position.
chapter4/collaboration-tools/src/main.py:299
Functionmcp_chess_reset_board
Reset the board.
chapter4/collaboration-tools/src/main.py:359
Functionmcp_chess_undo_move
Undo the last move.
chapter4/collaboration-tools/src/main.py:345
Functionmcp_excel_apply_formula
Apply Excel formula.
chapter4/collaboration-tools/src/main.py:411
Functionmcp_excel_create_workbook
Create Excel workbook.
chapter4/collaboration-tools/src/main.py:392
Functionmcp_excel_create_worksheet
Create Excel worksheet.
chapter4/collaboration-tools/src/main.py:401
Functionmcp_excel_get_metadata
Get Excel metadata.
chapter4/collaboration-tools/src/main.py:423
Functionmcp_excel_read
Read Excel data.
chapter4/collaboration-tools/src/main.py:370
Functionmcp_excel_screenshot
Create Excel screenshot.
chapter4/collaboration-tools/src/main.py:432
Functionmcp_excel_write
Write Excel data.
chapter4/collaboration-tools/src/main.py:381
Functionmcp_get_timer_status
Get timer status.
chapter4/collaboration-tools/src/main.py:286
Functionmcp_intelligence_generate_code
Generate Python code.
chapter4/collaboration-tools/src/main.py:447
Functionmcp_intelligence_guard
Guard reasoning process.
chapter4/collaboration-tools/src/main.py:469
Functionmcp_intelligence_think
Complex problem reasoning.
chapter4/collaboration-tools/src/main.py:458
Functionmcp_list_pending_requests
List all pending approval requests.
chapter4/collaboration-tools/src/main.py:233
Functionmcp_list_timers
List all timers.
chapter4/collaboration-tools/src/main.py:277
Functionmcp_request_admin_approval
Request approval from human administrator.
chapter4/collaboration-tools/src/main.py:198
Functionmcp_request_admin_input
Request input from human administrator.
chapter4/collaboration-tools/src/main.py:210
Functionmcp_respond_to_request
Admin response to an approval request.
chapter4/collaboration-tools/src/main.py:222
Functionmcp_send_discord_message
Send a Discord message.
chapter4/collaboration-tools/src/main.py:183
Functionmcp_send_email
Send an email notification.
chapter4/collaboration-tools/src/main.py:143
Functionmcp_send_slack_message
Send a Slack message.
chapter4/collaboration-tools/src/main.py:171
Functionmcp_send_telegram_message
Send a Telegram message.
chapter4/collaboration-tools/src/main.py:160
Functionmcp_set_recurring_timer
Set a recurring timer.
chapter4/collaboration-tools/src/main.py:256
Functionmcp_set_timer
Set a timer that will notify when completed.
chapter4/collaboration-tools/src/main.py:244
Methodmultiline_text
Render multiple lines of text.
book/svg_lib.py:138
Methodname
(self)
chapter5/coding-agent/tools/multi_edit_tool.py:15
Methodname
(self)
chapter5/coding-agent/tools/exit_plan_mode_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/read_tool.py:15
Methodname
(self)
chapter5/coding-agent/tools/web_fetch_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/bash_tool.py:16
Methodname
(self)
chapter5/coding-agent/tools/bash_output_tool.py:15
Methodname
(self)
chapter5/coding-agent/tools/glob_tool.py:15
Methodname
(self)
chapter5/coding-agent/tools/grep_tool.py:18
Methodname
(self)
chapter5/coding-agent/tools/write_tool.py:15
Methodname
Tool name
chapter5/coding-agent/tools/base.py:37
Methodname
(self)
chapter5/coding-agent/tools/web_search_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/notebook_edit_tool.py:15
Methodname
(self)
chapter5/coding-agent/tools/ls_tool.py:16
Methodname
(self)
chapter5/coding-agent/tools/todo_write_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/kill_bash_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/task_tool.py:13
Methodname
(self)
chapter5/coding-agent/tools/edit_tool.py:15
Functionnotion_search
Search Notion.
chapter4/perception-tools/src/main.py:606
Methodon_chunk_ready
Callback to index chunk immediately when ready
chapter3/contextual-retrieval/index_local_laws_contextual.py:204
Functionoperations_to_json
Convert operations to JSON string Args: operations: List of memory operations pretty: Whether to pretty-print the JSON
chapter3/user-memory/memory_operation_formatter.py:113
Methodparse
( self, text: str, typ: type[T] | dict[str, Any], examples: list[ParseDatapoin
chapter2/prompt-engineering/tau_bench/model_utils/model/chat.py:358
Methodparse
( self, text: str, typ: type[T] | dict[str, Any], examples: list[ParseDatapoin
chapter2/prompt-engineering/tau_bench/model_utils/model/completion.py:285
Methodparse
( self, text: str, typ: type[T] | dict[str, Any], examples: list[ParseDatapoin
chapter2/prompt-engineering/tau_bench/model_utils/model/model.py:79
Methodparse
( self, text: str, typ: type[T] | dict[str, Any], examples: list[ParseDatapoin
chapter2/prompt-engineering/tau_bench/model_utils/model/general_model.py:84
Methodparse_force
( self, instruction: str, typ: type[T] | dict[str, Any], text: str | None = No
chapter2/prompt-engineering/tau_bench/model_utils/model/chat.py:389
Methodparse_force
( self, instruction: str, typ: type[T] | dict[str, Any], text: str | None = No
chapter2/prompt-engineering/tau_bench/model_utils/model/completion.py:312
Methodparse_force
( self, instruction: str, typ: type[T] | dict[str, Any], text: str | None = No
chapter2/prompt-engineering/tau_bench/model_utils/model/model.py:103
Methodparse_force
( self, instruction: str, typ: type[T] | dict[str, Any], text: str | None = No
chapter2/prompt-engineering/tau_bench/model_utils/model/general_model.py:104
Methodparse_force_from_prompt
( self, prompt: str, typ: BaseModel | dict[str, Any], temperature: float | None = None )
chapter2/prompt-engineering/tau_bench/model_utils/model/vllm_completion.py:98
Methodparse_force_from_prompt
( self, prompt: str, typ: BaseModel, temperature: float | None = None )
chapter2/prompt-engineering/tau_bench/model_utils/model/outlines_completion.py:11
Methodparse_pdf
Parse a PDF document from URL or local file
chapter2/local_llm_serving/tools.py:372
Functionpdf_extract
Extract text from PDF.
chapter4/perception-tools/src/main.py:363
Functionplot_rating_history
Plot rating evolution over time for selected models. Args: history_df: DataFrame with columns: date, model, rating model
chapter6/elo-leaderboard/visualization.py:94
Functionpptx_extract
Extract content from PPTX.
chapter4/perception-tools/src/main.py:380
Functionpreprocess_example
(example)
chapter7/sesame/sesame_csm_sft_unsloth.py:116
Methodprint_config
Print current configuration (hiding sensitive data)
chapter1/context/config.py:166
Methodprint_config
Print current configuration (hiding sensitive data)
chapter3/user-memory/config.py:155
Functionprint_result
Print formatted result
chapter3/user-memory/main.py:40
Methodprint_results
Pretty print search results.
chapter3/retrieval-pipeline/test_client.py:49
Functionprint_with_typing_effect
Print text with a typing effect
chapter2/local_llm_serving/demo_streaming.py:10
Methodprocess
(inputs, outputs, parameters)
chapter9/live-audio/frontend/public/audioWorklet.js:10
Methodprocess
(inputs, outputs, parameters)
chapter9/live-audio/frontend/public/audioWorklet.js:103
Methodprocess_html
Process HTML files.
chapter3/structured-index/document_processor.py:199
Methodprocess_markdown
Process Markdown files.
chapter3/structured-index/document_processor.py:185
Methodprocess_pdf
Process PDF files with special handling for technical documentation. Optimized for Intel manuals with complex formatting.
chapter3/structured-index/document_processor.py:49
Methodprocess_text
Process plain text files.
chapter3/structured-index/document_processor.py:176
Functionprocess_time_slice
Process a single time slice to build leaderboard. Args: args: Tuple of (end_date, slice_df, initial_rating, k_factor)
chapter6/elo-leaderboard/parallel_processing.py:13
Functionpubchem_properties
Get compound properties.
chapter4/perception-tools/src/main.py:288
Functionpubchem_search
Search PubChem compounds.
chapter4/perception-tools/src/main.py:278
Functionpubchem_similar
Search similar compounds.
chapter4/perception-tools/src/main.py:306
Functionpubchem_synonyms
Get compound synonyms.
chapter4/perception-tools/src/main.py:297
Functionquery_index
Query the RAPTOR or GraphRAG index.
chapter3/structured-index/api_service.py:224
Methodrebuild_index
Rebuild the index if necessary.
chapter3/dense-embedding/indexing.py:36
Functionregister_process
Register a background process for monitoring
chapter4/agent-with-event-trigger/server_fastapi.py:332
Functionregister_process
Register a background process for monitoring
chapter4/agent-with-event-trigger/server.py:332
Functionreload_mcp_tools
Manually trigger MCP tools reload
chapter4/agent-with-event-trigger/server_fastapi.py:244
← previousnext →2,401–2,500 of 2,925, ranked by callers