Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/ClawWork
/ functions
Functions
540 in github.com/HKUDS/ClawWork
⨍
Functions
540
◇
Types & classes
33
↳
Endpoints
14
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
Method
add_trading_profit
Add profit/loss from trading Args: profit: Profit amount (negative for loss) description: Optional descripti
livebench/agent/economic_tracker.py:423
Function
agent
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
Function
broadcast_message
Endpoint for LiveBench to broadcast updates to connected clients This should be called by the LiveAgent during execution
livebench/api/server.py:737
Method
cleanup
Clean up provider resources.
livebench/tools/productivity/code_execution_sandbox.py:569
Function
create_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
Function
create_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
Function
create_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
Function
decide_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
Function
decide_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
Method
description
(self)
clawmode_integration/tools.py:59
Method
description
(self)
clawmode_integration/tools.py:123
Method
description
(self)
clawmode_integration/tools.py:263
Method
description
(self)
clawmode_integration/tools.py:337
Method
description
(self)
clawmode_integration/artifact_tools.py:37
Method
description
(self)
clawmode_integration/artifact_tools.py:192
Method
download_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:159
Method
download_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:328
Method
download_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:552
Method
execute
(self, **kwargs: Any)
clawmode_integration/tools.py:84
Method
execute
(self, **kwargs: Any)
clawmode_integration/tools.py:154
Method
execute
(self, **kwargs: Any)
clawmode_integration/tools.py:287
Method
execute
(self, **kwargs: Any)
clawmode_integration/tools.py:348
Method
execute
(self, **kwargs: Any)
clawmode_integration/artifact_tools.py:68
Method
execute
(self, **kwargs: Any)
clawmode_integration/artifact_tools.py:216
Function
execute_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
Function
execute_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
Method
execute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:129
Method
execute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:279
Method
execute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:540
Function
fetchArtifacts
()
frontend/src/api.js:43
Function
fetchLeaderboard
()
frontend/src/pages/Leaderboard.jsx:212
Function
format_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
Function
gateway
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
Function
get_agent_details
Get detailed information about a specific agent
livebench/api/server.py:244
Function
get_agent_economic
Get economic metrics for an agent
livebench/api/server.py:465
Function
get_agent_learning
Get agent's learning memory
livebench/api/server.py:427
Function
get_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
Function
get_agents
Get list of all agents with their current status
livebench/api/server.py:197
Function
get_artifact_file
Serve an artifact file for preview/download
livebench/api/server.py:664
Function
get_displaying_names
Get display name mapping {signature: display_name}
livebench/api/server.py:705
Function
get_economic_status
Get current economic status including balance, token costs, and survival status. Returns: Dictionary with economic metrics:
livebench/tools/tool_livebench.py:46
Function
get_hidden_agents
Get list of hidden agent signatures
livebench/api/server.py:683
Function
get_leaderboard
Get leaderboard data for all agents with summary metrics and balance histories
livebench/api/server.py:506
Function
get_learning_prompt
Generate learning-specific prompt Args: date: Current date signature: Agent signature Returns: Learning prompt
livebench/prompts/live_agent_prompt.py:492
Function
get_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
Method
get_native_handle
(self)
livebench/tools/productivity/code_execution_sandbox.py:211
Method
get_native_handle
(self)
livebench/tools/productivity/code_execution_sandbox.py:436
Function
get_random_artifacts
Get a random sample of agent-produced artifact files
livebench/api/server.py:621
Method
get_recent_errors
Get recent error entries
livebench/utils/logger.py:136
Method
get_recent_warnings
Get recent warning entries
livebench/utils/logger.py:148
Method
get_session_id
(self)
livebench/tools/productivity/code_execution_sandbox.py:208
Method
get_session_id
(self)
livebench/tools/productivity/code_execution_sandbox.py:433
Function
get_status
Get your current economic status and balance. Returns: Dictionary with current status information
livebench/tools/direct_tools.py:345
Method
get_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
Function
get_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
Method
get_task_prompt
Get the task prompt text Args: task: Task dictionary Returns: Task prompt string
livebench/work/task_manager.py:472
Method
get_task_statistics
Get statistics about the task dataset Returns: Dictionary with statistics
livebench/work/task_manager.py:587
Method
get_task_summary
Get a brief summary of the task Args: task: Task dictionary Returns: Summary string
livebench/work/task_manager.py:522
Function
get_terminal_log
Get terminal log for an agent on a specific date
livebench/api/server.py:414
Method
get_tools
Get all tools from all configured MCP servers
livebench/langchain_mcp_adapters/client.py:30
Function
get_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
Function
get_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
Function
get_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
Function
handleApply
()
frontend/src/components/Sidebar.jsx:81
Function
handleKey
(e)
frontend/src/pages/Leaderboard.jsx:201
Function
handleResizerMouseDown
(e)
frontend/src/pages/Leaderboard.jsx:431
Function
handleSort
(key)
frontend/src/pages/Leaderboard.jsx:331
Function
learn
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
Function
learn_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
Method
list_artifacts
(self, base_dirs: List[str], artifact_extensions: List[str])
livebench/tools/productivity/code_execution_sandbox.py:172
Method
list_artifacts
(self, base_dirs: List[str], artifact_extensions: List[str])
livebench/tools/productivity/code_execution_sandbox.py:394
Method
list_artifacts
( self, base_dirs: Optional[List[str]] = None, artifact_extensions: Optional[List[str]
livebench/tools/productivity/code_execution_sandbox.py:557
Function
log_debug
Convenience function to log debug
livebench/utils/logger.py:242
Function
log_info
Convenience function to log info
livebench/utils/logger.py:236
Function
log_warning
Convenience function to log warning
livebench/utils/logger.py:228
Function
make_frame
(t)
livebench/tools/productivity/video_creation.py:119
Method
name
(self)
clawmode_integration/tools.py:55
Method
name
(self)
clawmode_integration/tools.py:119
Method
name
(self)
clawmode_integration/tools.py:259
← previous
next →
401–500 of 540, ranked by callers