Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Negai-ai/AgentClaw
/ functions
Functions
3,963 in github.com/Negai-ai/AgentClaw
⨍
Functions
3,963
◇
Types & classes
529
↳
Endpoints
205
↓ 830 callers
Method
get
获取工作流
agentclaw/api/registry.py:145
↓ 825 callers
Method
get
获取输入参数
agentclaw/inputs/types.py:192
↓ 560 callers
Method
get
获取待确认操作
agentclaw/api/services/confirm_service.py:104
↓ 297 callers
Method
get
(self, name: str)
agentclaw/channels/__init__.py:361
↓ 186 callers
Method
get
(self, key, default=None)
agentclaw/runtime/tracing/wrappers.py:115
↓ 181 callers
Method
exists
检查文件是否存在
agentclaw/database/storage_backend.py:45
↓ 156 callers
Method
get
(self, key)
agentclaw/test/unit/test_public_access.py:67
↓ 141 callers
Function
Field
定义字段属性 Args: default: 默认值 required: 是否必填(默认 False) description: 字段描述 Example: class My
agentclaw/state/memory.py:192
↓ 138 callers
Method
resolve
解决一个确认请求 Args: confirm_id: 确认 ID approved: 是否批准 sudo_password: sudo 密码(仅在 require_sudo=True 时需要)
agentclaw/api/services/confirm_service.py:66
↓ 137 callers
Function
_load_werewolf_module
()
agentclaw/test/unit/test_werewolf_subworkflow_agent.py:98
↓ 125 callers
Method
get
(self, key)
agentclaw/test/api/test_public_room_api.py:50
↓ 108 callers
Method
call
调用工具 Args: name: 工具名称 params: 参数(字符串会被解析为 JSON) Returns: 工具执行结果
agentclaw/node/toolkit.py:437
↓ 106 callers
Method
add_edge
添加普通边(支持一对多并行) 当一个节点连接多个目标时,这些目标会并行执行。 Args: from_node: 源节点名(可以是 "__start__" 表示工作流入口)
agentclaw/graph/workflow.py:1495
↓ 92 callers
Function
get_logger
获取 logger(各模块使用) Args: name: 模块名(通常使用 __name__) Example: logger = get_logger(__name__) logger.i
agentclaw/logger/config.py:290
↓ 90 callers
Method
execute
执行节点(包含条件检查和重试逻辑) Args: state: 工作流状态 context: 工作流上下文 Returns:
agentclaw/node/base.py:68
↓ 88 callers
Method
split
(self, text: str)
agentclaw/knowledgebase/splitter.py:20
↓ 80 callers
Method
get
获取指定技能 Args: name: 技能名称 Returns: Skill 对象,不存在返回 None
agentclaw/skills/manager.py:172
↓ 78 callers
Method
add
添加输入参数
agentclaw/inputs/types.py:187
↓ 75 callers
Method
replace
(match)
agentclaw/node/mcp.py:108
↓ 72 callers
Function
auth_header
(token: str)
agentclaw/test/conftest.py:61
↓ 66 callers
Method
add_node
添加节点
agentclaw/graph/workflow.py:1011
↓ 58 callers
Function
_public_page_headers
(extra: dict[str, str] | None = None)
agentclaw/test/api/test_public_room_api.py:13
↓ 57 callers
Function
append_unique
(lines: list[str], text: str)
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:154
↓ 56 callers
Method
decode
(value, options)
agentclaw/admin-dashboard/src/__tests__/agent-chat-state.spec.js:2307
↓ 55 callers
Method
update
Validate and update the todo list. Validation Rules: - Each item must have: content, status - Status must be
agentclaw/mcp/builtin_servers/planning_tools.py:31
↓ 54 callers
Method
run
(self, *, inputs, context, thread_id)
agentclaw/test/api/test_public_room_api.py:399
↓ 46 callers
Function
_log_response
(event: str, response: httpx.Response, **fields: Any)
agentclaw/test/real/test_real_environment_api.py:212
↓ 41 callers
Method
clear
清空所有注册
agentclaw/api/registry.py:188
↓ 40 callers
Method
set
(self, key, value, nx=False, ex=None)
agentclaw/test/api/test_public_room_api.py:40
↓ 38 callers
Function
_bearer
(token: str)
agentclaw/test/real/test_real_environment_api.py:93
↓ 34 callers
Method
put
( self, config: Dict[str, Any], checkpoint: Dict[str, Any], metadata: Dict[str
agentclaw/state/checkpointer.py:90
↓ 32 callers
Method
fetchrow
(self, query: str, *params)
agentclaw/test/unit/test_conversation_service.py:268
↓ 32 callers
Function
get_config
获取全局配置
agentclaw/config.py:503
↓ 32 callers
Method
register_state_field
注册自定义状态字段
agentclaw/graph/workflow.py:1058
↓ 32 callers
Method
run
启动服务器
agentclaw/api/server.py:1672
↓ 29 callers
Function
_install_infra
(monkeypatch, pool: FakePublicRoomPool | None = None, redis: FakeRedis | None = None)
agentclaw/test/api/test_public_room_api.py:340
↓ 29 callers
Function
_install_public_workflow
(monkeypatch, rate_limit=None, llm_manager=None)
agentclaw/test/api/test_public_room_api.py:360
↓ 29 callers
Function
_public_page_headers
()
agentclaw/test/api/test_public_execution_contracts.py:34
↓ 29 callers
Function
get_output_channel
获取当前输出通道
agentclaw/runtime/streaming/context.py:750
↓ 28 callers
Function
_create_room
(client)
agentclaw/test/api/test_public_room_api.py:440
↓ 28 callers
Method
button
(cls, label: str, value: Any = None, confirm: bool = False)
agentclaw/node/human.py:33
↓ 28 callers
Method
get
(cls, workflow_id)
agentclaw/test/api/test_workflow_settings_security.py:67
↓ 28 callers
Method
parse
解析技能目录 Args: skill_dir: 技能目录路径 Returns: Skill 对象 Raises: FileNotFoundError: SKILL.md 不存
agentclaw/skills/parser.py:16
↓ 28 callers
Method
run
执行工作流 Args: inputs: 输入数据 context: 上下文(用于子工作流继承) stream: 是否流式输出 thread_id: 会话 ID
agentclaw/graph/workflow.py:1601
↓ 27 callers
Method
match
按描述匹配技能(用于自动选择) Args: query: 查询字符串 Returns: 匹配的 Skill 列表(按相关度排序)
agentclaw/skills/manager.py:221
↓ 26 callers
Method
delete
删除文件
agentclaw/database/file_storage.py:380
↓ 26 callers
Method
fetch
(self, query: str, *params)
agentclaw/test/api/test_public_room_api.py:257
↓ 24 callers
Function
_wrap_outcome
(raw_result: Any, explicit_status: Optional[str] = None)
agentclaw/node/llm_tools.py:736
↓ 22 callers
Method
close
关闭所有连接
agentclaw/database/manager.py:630
↓ 22 callers
Function
get_database
获取全局数据库管理器
agentclaw/database/manager.py:759
↓ 21 callers
Function
_get_service
()
agentclaw/api/routers/admin/knowledgebases.py:37
↓ 21 callers
Method
copy
创建上下文副本(用于子工作流)
agentclaw/graph/context.py:112
↓ 21 callers
Function
forbidden_response
(error: str)
agentclaw/api/routers/public/access.py:133
↓ 21 callers
Method
text
(cls, placeholder: Optional[str] = None)
agentclaw/node/human.py:29
↓ 20 callers
Function
_run
(async_fn, *args, **kwargs)
agentclaw/test/unit/test_conversation_service.py:12
↓ 20 callers
Method
pg_execute
执行 PostgreSQL SQL
agentclaw/database/manager.py:684
↓ 20 callers
Method
publish
发布工作流为 API
agentclaw/graph/workflow.py:2775
↓ 19 callers
Method
_get_pool
(self)
agentclaw/api/services/public_room_service.py:249
↓ 19 callers
Function
_open_public_session
(public_api_client, workflow_id: str)
agentclaw/test/api/test_public_execution_contracts.py:42
↓ 19 callers
Method
add_field
添加字段
agentclaw/state/schema.py:57
↓ 19 callers
Method
execute
执行 Skill 脚本 Args: skill_name: 技能名称 script_path: 脚本路径 args: 命令行参数 timeout: 超时时间 Retur
agentclaw/skills/executor.py:322
↓ 19 callers
Method
get
(self, channel: str, model_type: str)
agentclaw/audio/providers/registry.py:13
↓ 19 callers
Method
list_all
获取所有工作流
agentclaw/api/registry.py:151
↓ 18 callers
Function
_now_ms
()
agentclaw/api/services/public_room_service.py:104
↓ 18 callers
Function
alive_seats
(game: dict[str, Any])
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:142
↓ 18 callers
Method
get_room
( self, room_id: str, *, include_expired: bool = False, include_revoke
agentclaw/api/services/public_room_service.py:432
↓ 18 callers
Function
get_session_manager
获取会话管理器
agentclaw/runtime/debugger.py:208
↓ 17 callers
Function
_prune
(value: Any)
agentclaw/api/services/settings_service.py:758
↓ 17 callers
Method
cancel
中止任务 Returns: True 如果成功中止,False 如果任务不存在或已完成
agentclaw/api/server.py:107
↓ 17 callers
Method
get_output_key
获取输出键
agentclaw/node/base.py:124
↓ 17 callers
Method
get_structure
导出工作流结构(用于可视化) Returns: 工作流结构字典,包含: - id: 工作流 ID - name: 工作流名称 - vers
agentclaw/graph/workflow.py:2926
↓ 17 callers
Function
seat_key
(seat: int | str)
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:150
↓ 17 callers
Method
unregister
注销工具
agentclaw/node/toolkit.py:381
↓ 16 callers
Function
_client
()
agentclaw/test/real/test_real_environment_api.py:80
↓ 16 callers
Function
_get_page
(cdp_url: str = None, target_id: str = None)
agentclaw/mcp/browser_server.py:336
↓ 16 callers
Function
_load_turtle_soup_module
()
agentclaw/test/unit/test_turtle_soup_agent_square.py:17
↓ 16 callers
Method
_push
内部:推送事件
agentclaw/runtime/streaming/context.py:107
↓ 16 callers
Method
clear
()
agentclaw/admin-dashboard/src/utils/agentRunManager.js:104
↓ 16 callers
Function
get_public_room_service
()
agentclaw/api/services/public_room_service.py:993
↓ 16 callers
Method
get_tools_schema
获取 OpenAI function calling 格式的工具列表 用于 LLM 调用
agentclaw/node/toolkit.py:396
↓ 16 callers
Method
push_message
主动推送消息到指定 Channel 的用户。 供工作流/定时任务调用,实现模型主动发消息。 Args: channel_name: Channel 名称(如 "feishu_sales") user
agentclaw/channels/__init__.py:371
↓ 15 callers
Function
_schema_for_prompt
(schema: Any)
agentclaw/agent_square/turtle_soup_agent/agents/turtle_soup_prompts.py:124
↓ 15 callers
Function
_timestamp
返回当前时间戳(秒)
agentclaw/runtime/streaming/context.py:30
↓ 15 callers
Function
format_seats
(seats: list[int])
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:226
↓ 15 callers
Method
get_model
获取指定模型配置
agentclaw/model/manager.py:522
↓ 15 callers
Method
get_node
获取指定名称的节点 Args: name: 节点名称 Returns: 节点对象,如果不存在返回 None
agentclaw/graph/workflow.py:1038
↓ 14 callers
Function
_extract_state
(result)
agentclaw/test/unit/test_sub_workflow_node.py:5
↓ 14 callers
Function
_load_json
(path: Path)
agentclaw/api/services/settings_service.py:525
↓ 14 callers
Function
build_actor_request
(game: dict[str, Any], seat: int, kind: str, targets: list[int])
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:58
↓ 14 callers
Function
emit
(payload)
agentclaw/channels/wecom_worker/worker.mjs:12
↓ 14 callers
Function
get_builtin_skills_dir
Get built-in skills directory path.
agentclaw/skills/__init__.py:75
↓ 14 callers
Method
get_instance
(cls)
agentclaw/api/server.py:79
↓ 14 callers
Method
get_instance
获取单例实例
agentclaw/api/auth/token.py:41
↓ 14 callers
Method
is_redis_available
检查 Redis 是否可用
agentclaw/database/manager.py:476
↓ 14 callers
Function
player
(game: dict[str, Any], seat: int)
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:135
↓ 13 callers
Function
_service_error_response
(error: Exception)
agentclaw/api/routers/public/rooms.py:77
↓ 13 callers
Function
add_encoding
(encoding: str | None)
agentclaw/mcp/builtin_servers/skill_tools.py:67
↓ 13 callers
Method
from_env
从环境变量加载配置(兼容旧方式)
agentclaw/model/manager.py:283
↓ 13 callers
Function
get_file_storage
获取全局文件存储实例
agentclaw/database/file_storage.py:450
↓ 13 callers
Method
get_session
获取调试会话
agentclaw/runtime/debugger.py:150
next →
1–100 of 3,963, ranked by callers