AS AgentScopeAPI 手册 / API Reference
包package preview

agentscope-codingagent

AgentScope Java - Coding Agent · 2.0.0-RC4

AgentScope Coding Agent - Coding agent using HarnessAgent

groupIdGroupIdio.agentscope
版本Version2.0.0-RC4
版本线Linepreview
分类Categoryintegration
包Packages17
类型Types55 top-level / 62 total

包Packages

io.agentscope.harness.coding3
io.agentscope.harness.coding.agent2
io.agentscope.harness.coding.config5
io.agentscope.harness.coding.control2
io.agentscope.harness.coding.gateway1
io.agentscope.harness.coding.metadata2
io.agentscope.harness.coding.middleware3
io.agentscope.harness.coding.model1
io.agentscope.harness.coding.observability1
io.agentscope.harness.coding.prompt2
io.agentscope.harness.coding.reviewer3
io.agentscope.harness.coding.session18
io.agentscope.harness.coding.session.tool1
io.agentscope.harness.coding.store1
io.agentscope.harness.coding.tools5
io.agentscope.harness.coding.tools.finding4
io.agentscope.harness.coding.webhook.github1

类型Types

类型Type种类Kind包Package说明Description
CodingAgentApplication类classio.agentscope.harness.coding
Coding 智能体应用,承载智能体的部署、调度与服务化运行。
Spring Boot application entry point for the coding agent webhook service.
CodingBootstrap类classio.agentscope.harness.coding
Coding Bootstrap,承载智能体的部署、调度与服务化运行。
Single API class for assembling, configuring, and running the agentscope harness.
CodingChatCli类classio.agentscope.harness.coding
Coding 聊天 Cli,承载智能体的部署、调度与服务化运行。
Local CLI entry point for the Coding Agent.
CodingAgentFactory类classio.agentscope.harness.coding.agent
Coding 智能体工厂,承载智能体的部署、调度与服务化运行。
Factory for the coding agent.
ReviewerAgentFactory类classio.agentscope.harness.coding.agent
Reviewer 智能体工厂,承载智能体的部署、调度与服务化运行。
Factory for the reviewer agent.
AgentConfigEntry类classio.agentscope.harness.coding.config
智能体配置条目,承载智能体的部署、调度与服务化运行。
Per-agent section in `agentscope.json` under `agents.<agentId>`.
AgentscopeConfig类classio.agentscope.harness.coding.config
用于`${cwd}/.agentscope/agentscope.json`的根文档。
Root document for `${cwd}/.agentscope/agentscope.json`.
ChannelConfigEntry类classio.agentscope.harness.coding.config
渠道配置条目,承载智能体的部署、调度与服务化运行。
Per-channel section in `agentscope.json` under `channels.<channelId>`.
SkillRepositoryConfigEntry类classio.agentscope.harness.coding.config
技能仓库配置条目,承载智能体的部署、调度与服务化运行。
Declarative skill repository settings for `agentscope.json` (and similar) configs.
SkillRepositorySupport类classio.agentscope.harness.coding.config
构建`AgentSkillRepository`来自`SkillRepositoryConfigEntry`。
Builds an `AgentSkillRepository` from `SkillRepositoryConfigEntry`.
RunDispatcher类classio.agentscope.harness.coding.control
运行调度器,承载智能体的部署、调度与服务化运行。
Dispatches agent runs, handling busy-thread queueing.
ThreadIdFactory类classio.agentscope.harness.coding.control
会话线程标识工厂,承载智能体的部署、调度与服务化运行。
Generates deterministic thread IDs from GitHub issue/PR/reviewer context.
HarnessGateway类classio.agentscope.harness.coding.gateway
Harness 网关,承载智能体的部署、调度与服务化运行。
Gateway-style gateway: routes inbound turns by `MsgContext`, and dispatches subagent completion announces as new `HarnessAgent` runs on the root requester (OpenClaw gateway analogue).
ThreadMetadata类classio.agentscope.harness.coding.metadata
会话线程元数据,承载智能体的部署、调度与服务化运行。
Per-thread metadata stored in `SqliteBaseStore` namespace `["threads", thread_id]`.
TokenEncryption类classio.agentscope.harness.coding.metadata
令牌 Encryption,承载智能体的部署、调度与服务化运行。
Token encryption/decryption using Google Tink AEAD.
MessageQueueMiddleware类classio.agentscope.harness.coding.middleware
消息队列中间件,在智能体执行流程中提供横切扩展。
Middleware that injects queued messages into the system prompt before each LLM reasoning step.
ModelCallLimitMiddleware类classio.agentscope.harness.coding.middleware
模型调用限制中间件,在智能体执行流程中提供横切扩展。
Middleware that enforces a global model call limit across all threads.
ThreadBudgetMiddleware类classio.agentscope.harness.coding.middleware
会话线程预算中间件,在智能体执行流程中提供横切扩展。
Middleware that enforces per-thread token and model-call budgets.
FallbackModel类classio.agentscope.harness.coding.model
回退模型,与模型服务通信并返回生成或向量化结果。
`Model` decorator that falls back to a secondary model on retryable errors.
CodingAgentMetrics类classio.agentscope.harness.coding.observability
Coding 智能体指标,承载智能体的部署、调度与服务化运行。
Centralized Micrometer metrics for the coding agent.
CodingSystemPrompt类classio.agentscope.harness.coding.prompt
Coding 系统提示词,承载智能体的部署、调度与服务化运行。
Constructs the system prompt for the coding agent.
ReviewerSystemPrompt类classio.agentscope.harness.coding.prompt
Reviewer 系统提示词,承载智能体的部署、调度与服务化运行。
Constructs the system prompt for the reviewer agent.
Finding类classio.agentscope.harness.coding.reviewer
Finding,承载智能体的部署、调度与服务化运行。
A single reviewer finding — mirrors open-swe's `Finding` model in ` agent/reviewer_findings.py`.
GitHubReviewPublisher类classio.agentscope.harness.coding.reviewer
GitHub Review Publisher,承载智能体的部署、调度与服务化运行。
Publishes reviewer findings to a GitHub PR as inline comments.
ReviewerFindingsService类classio.agentscope.harness.coding.reviewer
Reviewer Findings 服务,承载智能体的部署、调度与服务化运行。
CRUD service for reviewer findings.
AgentManagerConfig记录recordio.agentscope.harness.coding.session
承载智能体管理器配置数据的记录类型。
Tunable concurrency, announce behavior, session reset policy, and maintenance configuration for `SessionAgentManager`.
CleanupPolicy枚举enumio.agentscope.harness.coding.session
定义Cleanup 策略相关取值的枚举。
Controls what happens to a session's records and transcript after the run completes.
CommandLane枚举enumio.agentscope.harness.coding.session
定义命令 Lane相关取值的枚举。
Scheduling lane for subagent / main work, aligned with OpenClaw gateway `CommandLane` semantics.
HistoryResult记录recordio.agentscope.harness.coding.session
承载历史结果数据的记录类型。
Result of reading a session transcript file.
PendingCompletion记录recordio.agentscope.harness.coding.session
承载待处理补全数据的记录类型。
Best-effort completion handoff to the requester session (OpenClaw `announce` analogue).
SendResult记录recordio.agentscope.harness.coding.session
承载发送结果数据的记录类型。
Result of executing a prompt against a managed session.
SessionAgentManager类classio.agentscope.harness.coding.session
会话智能体管理器,在多次调用之间保存和恢复会话与记忆数据。
Full session management implementation built on top of `DefaultAgentManager`.
SessionConstants类classio.agentscope.harness.coding.session
会话 Constants,在多次调用之间保存和恢复会话与记忆数据。
Shared constants for managed session / subagent flows.
SessionEntry记录recordio.agentscope.harness.coding.session
承载会话条目数据的记录类型。
Internal metadata for a registered managed session (used by `SessionAgentManager`).
SessionFreshness记录recordio.agentscope.harness.coding.session
承载会话 Freshness数据的记录类型。
Result of evaluating a session's freshness against a `SessionResetPolicy`.
SessionFreshnessEvaluator类classio.agentscope.harness.coding.session
会话 Freshness 评估器,在多次调用之间保存和恢复会话与记忆数据。
Evaluates whether a session is still "fresh" based on its last activity time and the configured `SessionResetPolicy`.
SessionKind枚举enumio.agentscope.harness.coding.session
定义会话种类相关取值的枚举。
AgentStateStore classification, matching OpenClaw session kinds.
SessionMaintenanceConfig记录recordio.agentscope.harness.coding.session
用于会话存储维护的配置。
Configuration for session store maintenance.
SessionResetPolicy记录recordio.agentscope.harness.coding.session
承载会话重置策略数据的记录类型。
Policy controlling when a session is considered "stale" and should be rolled over to a new session, mirroring OpenClaw's `resolveSessionResetPolicy`.
SessionStore类classio.agentscope.harness.coding.session
会话存储,负责持久化与读取数据。
Durable session registry backed by a JSON file (`sessions.json`).
SessionView记录recordio.agentscope.harness.coding.session
承载会话 View数据的记录类型。
Public view of a managed session.
SpawnResult记录recordio.agentscope.harness.coding.session
承载 Spawn 结果数据的记录类型。
Result of registering a managed subagent session.
SubagentRunRegistry类classio.agentscope.harness.coding.session
子智能体运行注册表,在多次调用之间保存和恢复会话与记忆数据。
In-process registry for subagent spawn / run metadata (OpenClaw `subagent-registry` analogue).
SessionsTool类classio.agentscope.harness.coding.session.tool
会话工具,封装可被智能体调用的能力。
Tool facade exposing managed subagent session operations to the agent.
SqliteBaseStore类classio.agentscope.harness.coding.store
Sqlite 基类存储,负责持久化与读取数据。
SQLite-backed implementation of `BaseStore`.
FetchUrlTool类classio.agentscope.harness.coding.tools
Fetch URL 工具,封装可被智能体调用的能力。
Fetches a URL and returns a simplified text representation (strips most HTML tags).
GitHubApiTool类classio.agentscope.harness.coding.tools
GitHub API 工具,封装可被智能体调用的能力。
GitHub API tool — plan option B (Java-side direct calls).
HttpRequestTool类classio.agentscope.harness.coding.tools
HTTP 请求工具,封装可被智能体调用的能力。
Makes arbitrary HTTP requests with configurable method, headers, and body.
RequestPrReviewTool类classio.agentscope.harness.coding.tools
请求 Pr Review 工具,封装可被智能体调用的能力。
Tool for triggering the reviewer agent on a GitHub PR.
WebSearchTool类classio.agentscope.harness.coding.tools
Web 搜索工具,封装可被智能体调用的能力。
Web search tool using the Tavily API.
AddFindingTool类classio.agentscope.harness.coding.tools.finding
添加 Finding 工具,封装可被智能体调用的能力。
Adds a new finding to the reviewer findings store.
ListFindingsTool类classio.agentscope.harness.coding.tools.finding
列表 Findings 工具,封装可被智能体调用的能力。
Lists all current reviewer findings.
PublishReviewTool类classio.agentscope.harness.coding.tools.finding
发布 Review 工具,封装可被智能体调用的能力。
Publishes the accumulated reviewer findings as a single GitHub PR review.
UpdateFindingTool类classio.agentscope.harness.coding.tools.finding
更新 Finding 工具,封装可被智能体调用的能力。
Updates an existing reviewer finding.
GitHubWebhookHandler类classio.agentscope.harness.coding.webhook.github
GitHub Webhook 处理器,承载智能体的部署、调度与服务化运行。
Spring WebFlux handler for GitHub webhooks.