MCPcopy Create free account

hub / github.com/HKUDS/ClawWork / functions

Functions540 in github.com/HKUDS/ClawWork

Method__init__
Initialize Economic Tracker Args: signature: Agent signature/name initial_balance: Starting balance in dolla
livebench/agent/economic_tracker.py:24
Method__init__
Initialize wrap-up workflow Args: llm: Language model for decision-making (if None, creates default) logger:
livebench/agent/wrapup_workflow.py:47
Method__init__
Initialize LiveAgent Args: signature: Agent signature/name basemodel: Base model name initial_ba
livebench/agent/live_agent.py:50
Method__init__
Initialize MCP client Args: config: Dictionary mapping server names to their configuration Each confi
livebench/langchain_mcp_adapters/client.py:16
Method__str__
(self)
livebench/work/evaluator.py:236
Method__str__
(self)
livebench/work/task_manager.py:658
Method__str__
(self)
livebench/agent/economic_tracker.py:834
Method__str__
(self)
livebench/agent/live_agent.py:1220
Method_build_evaluation_prompt
Build the evaluation prompt for the LLM
livebench/work/llm_evaluator.py:649
Function_callback
ClawMode — nanobot gateway with ClawWork economic tracking.
clawmode_integration/cli.py:27
Method_decide_submission_node
Use LLM to decide which artifacts to submit
livebench/agent/wrapup_workflow.py:157
Method_download_artifacts_node
Download chosen artifacts from sandbox to local storage
livebench/agent/wrapup_workflow.py:250
Function_exit_on_sigint
(signum, frame)
clawmode_integration/cli.py:256
Function_extract_pdf_page_as_pdf
从 PDF 中提取指定页面并返回单页 PDF 的字节数据。 page_num 从 0 开始。
livebench/tools/productivity/file_reading.py:488
Method_list_artifacts_node
List all artifacts in the active sandbox.
livebench/agent/wrapup_workflow.py:101
Method_parse_response
(self, response: Any)
clawmode_integration/provider_wrapper.py:27
Function_pdf_to_png_base64_list
将 PDF 全部页面转换为 PNG base64 列表,用于 Qwen image_url。 依赖 pdf2image 和 poppler;若未安装则给出明确错误。 逐页转换,确保多页文件不会被截断。
livebench/tools/productivity/file_reading.py:660
Method_read_artifacts
Read artifact file contents with size limits and format extraction Args: artifact_paths: List of artifact file paths
livebench/work/llm_evaluator.py:234
Method_register_default_tools
Register all nanobot tools plus ClawWork tools.
clawmode_integration/agent_loop.py:76
Method_should_download
Determine if we should download artifacts
livebench/agent/wrapup_workflow.py:95
Method_submit_work_node
Submit downloaded artifacts for evaluation
livebench/agent/wrapup_workflow.py:284
Methodadd_trading_profit
Add profit/loss from trading Args: profit: Profit amount (negative for loss) description: Optional descripti
livebench/agent/economic_tracker.py:423
Functionagent
Chat with the agent locally, with ClawWork economic tracking. Works like ``nanobot agent`` but every message is cost-tracked and the /clawwor
clawmode_integration/cli.py:188
Functionbroadcast_message
Endpoint for LiveBench to broadcast updates to connected clients This should be called by the LiveAgent during execution
livebench/api/server.py:737
Methodcleanup
Clean up provider resources.
livebench/tools/productivity/code_execution_sandbox.py:569
Functioncreate_file
Create a file with the given content. Useful for creating work artifacts. Args: file_path: Path where the file should be created
livebench/tools/tool_livebench.py:217
Functioncreate_file
Create a file in the sandboxed work directory. Supports multiple formats: txt, md, csv, json, xlsx, docx, pdf Args: filename: N
livebench/tools/productivity/file_creation.py:17
Functioncreate_video
Create a video from text slides and/or images. Args: slides_json: JSON string describing slides. Format: [
livebench/tools/productivity/video_creation.py:17
Functiondecide_activity
Decide your daily activity: work or learn. Args: activity: Must be "work" or "learn" reasoning: Explanation for your decisio
livebench/tools/tool_livebench.py:79
Functiondecide_activity
Decide your daily activity: work or learn. Args: activity: Must be "work" or "learn" reasoning: Explanation for your decisio
livebench/tools/direct_tools.py:46
Methoddescription
(self)
clawmode_integration/tools.py:59
Methoddescription
(self)
clawmode_integration/tools.py:123
Methoddescription
(self)
clawmode_integration/tools.py:263
Methoddescription
(self)
clawmode_integration/tools.py:337
Methoddescription
(self)
clawmode_integration/artifact_tools.py:37
Methoddescription
(self)
clawmode_integration/artifact_tools.py:192
Methoddownload_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:159
Methoddownload_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:328
Methoddownload_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:552
Methodexecute
(self, **kwargs: Any)
clawmode_integration/tools.py:84
Methodexecute
(self, **kwargs: Any)
clawmode_integration/tools.py:154
Methodexecute
(self, **kwargs: Any)
clawmode_integration/tools.py:287
Methodexecute
(self, **kwargs: Any)
clawmode_integration/tools.py:348
Methodexecute
(self, **kwargs: Any)
clawmode_integration/artifact_tools.py:68
Methodexecute
(self, **kwargs: Any)
clawmode_integration/artifact_tools.py:216
Functionexecute_code
Execute code in a persistent sandbox with artifact download support. Features: - Provider selection via CODE_SANDBOX_PROVIDER (e2b defau
livebench/tools/productivity/code_execution_sandbox.py:583
Functionexecute_code
Execute code in a sandboxed environment with safety restrictions. SECURITY FEATURES: - Execution timeout (30 seconds) - Restricted t
livebench/tools/productivity/code_execution.py:17
Methodexecute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:129
Methodexecute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:279
Methodexecute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:540
FunctionfetchArtifacts
()
frontend/src/api.js:43
FunctionfetchLeaderboard
()
frontend/src/pages/Leaderboard.jsx:212
Functionformat_cost_update
Format cost update message to inject into conversation Args: session_cost: Cost of current session/interaction daily_cost: T
livebench/prompts/live_agent_prompt.py:542
Functiongateway
Start the nanobot gateway with ClawWork economic tracking. All configuration is read from ~/.nanobot/config.json. Enable ClawWork by setting
clawmode_integration/cli.py:293
Functionget_agent_details
Get detailed information about a specific agent
livebench/api/server.py:244
Functionget_agent_economic
Get economic metrics for an agent
livebench/api/server.py:465
Functionget_agent_learning
Get agent's learning memory
livebench/api/server.py:427
Functionget_agent_tasks
Get all tasks assigned to an agent. Uses task_completions.jsonl as the authoritative list of tasks (no duplicates). task_details are looked u
livebench/api/server.py:312
Functionget_agents
Get list of all agents with their current status
livebench/api/server.py:197
Functionget_artifact_file
Serve an artifact file for preview/download
livebench/api/server.py:664
Functionget_displaying_names
Get display name mapping {signature: display_name}
livebench/api/server.py:705
Functionget_economic_status
Get current economic status including balance, token costs, and survival status. Returns: Dictionary with economic metrics:
livebench/tools/tool_livebench.py:46
Functionget_hidden_agents
Get list of hidden agent signatures
livebench/api/server.py:683
Functionget_leaderboard
Get leaderboard data for all agents with summary metrics and balance histories
livebench/api/server.py:506
Functionget_learning_prompt
Generate learning-specific prompt Args: date: Current date signature: Agent signature Returns: Learning prompt
livebench/prompts/live_agent_prompt.py:492
Functionget_memory
Read the agent's memory file containing previously learned information. Returns: The content of the agent's memory file
livebench/tools/tool_livebench.py:279
Methodget_native_handle
(self)
livebench/tools/productivity/code_execution_sandbox.py:211
Methodget_native_handle
(self)
livebench/tools/productivity/code_execution_sandbox.py:436
Functionget_random_artifacts
Get a random sample of agent-produced artifact files
livebench/api/server.py:621
Methodget_recent_errors
Get recent error entries
livebench/utils/logger.py:136
Methodget_recent_warnings
Get recent warning entries
livebench/utils/logger.py:148
Methodget_session_id
(self)
livebench/tools/productivity/code_execution_sandbox.py:208
Methodget_session_id
(self)
livebench/tools/productivity/code_execution_sandbox.py:433
Functionget_status
Get your current economic status and balance. Returns: Dictionary with current status information
livebench/tools/direct_tools.py:345
Methodget_task_by_id
Get task details by task ID Args: task_id: Task identifier Returns: Task dictionary or None if not
livebench/work/task_manager.py:438
Functionget_task_details
Get full details of today's work task including prompt and reference files. Returns: Complete task information with prompt, referenc
livebench/tools/tool_livebench.py:130
Methodget_task_prompt
Get the task prompt text Args: task: Task dictionary Returns: Task prompt string
livebench/work/task_manager.py:472
Methodget_task_statistics
Get statistics about the task dataset Returns: Dictionary with statistics
livebench/work/task_manager.py:587
Methodget_task_summary
Get a brief summary of the task Args: task: Task dictionary Returns: Summary string
livebench/work/task_manager.py:522
Functionget_terminal_log
Get terminal log for an agent on a specific date
livebench/api/server.py:414
Methodget_tools
Get all tools from all configured MCP servers
livebench/langchain_mcp_adapters/client.py:30
Functionget_trading_prompt
DEPRECATED: Trading functionality has been disabled. LiveBench now focuses on work and learn capabilities only. This function is kept fo
livebench/prompts/live_agent_prompt.py:482
Functionget_work_history
Get history of completed work tasks and earnings. Returns: List of past work evaluations and total earnings
livebench/tools/tool_livebench.py:253
Functionget_work_task_prompt
Generate detailed work task prompt Args: task: Task dictionary from gdpval reference_files: List of reference file paths
livebench/prompts/live_agent_prompt.py:407
FunctionhandleApply
()
frontend/src/components/Sidebar.jsx:81
FunctionhandleKey
(e)
frontend/src/pages/Leaderboard.jsx:201
FunctionhandleResizerMouseDown
(e)
frontend/src/pages/Leaderboard.jsx:431
FunctionhandleSort
(key)
frontend/src/pages/Leaderboard.jsx:331
Functionlearn
Learn something new and add it to your knowledge base. Args: topic: Topic or title of what you learned knowledge: Detailed k
livebench/tools/direct_tools.py:299
Functionlearn_from_web
Use web search to learn about any topic. Searches the web for information and optionally saves the learned information to the agent's memory.
livebench/tools/tool_livebench.py:371
Methodlist_artifacts
(self, base_dirs: List[str], artifact_extensions: List[str])
livebench/tools/productivity/code_execution_sandbox.py:172
Methodlist_artifacts
(self, base_dirs: List[str], artifact_extensions: List[str])
livebench/tools/productivity/code_execution_sandbox.py:394
Methodlist_artifacts
( self, base_dirs: Optional[List[str]] = None, artifact_extensions: Optional[List[str]
livebench/tools/productivity/code_execution_sandbox.py:557
Functionlog_debug
Convenience function to log debug
livebench/utils/logger.py:242
Functionlog_info
Convenience function to log info
livebench/utils/logger.py:236
Functionlog_warning
Convenience function to log warning
livebench/utils/logger.py:228
Functionmake_frame
(t)
livebench/tools/productivity/video_creation.py:119
Methodname
(self)
clawmode_integration/tools.py:55
Methodname
(self)
clawmode_integration/tools.py:119
Methodname
(self)
clawmode_integration/tools.py:259
← previousnext →401–500 of 540, ranked by callers