Back to Abp

ABP Studio: AI Agent Built-in Capabilities

docs/en/studio/ai-agent-built-in-capabilities.md

10.5.06.1 KB
Original Source
json
//[doc-seo]
{
    "Description": "Capability matrix for ABP Studio AI Agent modes, built-in tools, Studio automation tools, connected MCP tools, and subagents."
}

ABP Studio: AI Agent Built-in Capabilities

json
//[doc-nav]
{
  "Next": {
    "Name": "AI Agent Git Integration",
    "Path": "studio/ai-agent-git-integration"
  }
}

ABP Studio exposes tools to the AI Agent based on the selected mode, run context, tool settings, permissions, and connected MCP server tools. The tool list is locked per running Agent-mode session to keep prompt caching and execution stable while other sessions run in parallel.

Mode Capability Matrix

CapabilityAgentPlanAsk
Find filesYesYesYes
Read filesYesYesYes
Search codeYesYesYes
ABP-aware outlinesYesYesYes
Semantic code searchYesYesYes
Ask userYesYesYes
Web searchYesYesYes
Fetch URLYesYesYes
Fetch AI skillsYes, when availableYes, when availableYes, when available
Write/edit/delete/rename filesYesNoNo
Download filesYesNoNo
Save learned lessonsYesNoNo
Run shell commandYesNoNo
Add migrationYesNoNo
Create/read/update plan filesNoYesNo
Update active plan stepsYesNoNo
Search/read ABP docs directlyNoNoYes
Studio automation toolsYesNoNo
Connected MCP toolsYesNoNo
Spawn subagentsYesYesYes

ABP documentation tools are available to Ask mode and ABP documentation subagents. The main Agent-mode tool list does not include direct ABP docs search/read tools; Agent mode can use the ABP documentation subagent when documentation research is needed.

File Tools

The file tools are scope-aware and .abpignore-aware.

ToolDescription
find_filesFinds files by filename or glob under accessible directories. Build output and dependency folders such as bin, obj, and node_modules are excluded.
read_filesReads up to 10 files per call. Supports line ranges. Large files are automatically truncated.
write_fileWrites file content in Agent mode.
edit_file_batchApplies structured edits in Agent mode.
delete_pathDeletes a file or directory in Agent mode.
rename_pathRenames or moves a file or directory in Agent mode.

Write operations use file change tracking. When another session modifies a file after it was read, the agent is instructed to re-read before overwriting.

Code Intelligence

ToolDescription
search_codeSearches exact or regex text across source and configuration files.
get_outlinesReturns ABP-aware outlines for code structures such as entities, DTOs, services, repositories, DbContexts, controllers, modules, and methods.
semantic_code_searchSearches indexed code by meaning rather than exact text.

These tools are available in all modes and are the primary way the agent grounds answers in the current solution.

Web And External Content

ToolDescription
web_searchSearches the web for current or external information.
fetch_urlFetches a URL after domain permission is granted. Large content is cached under .abpstudio/url-cache.
download_fileDownloads a file in Agent mode after explicit permission. Downloads are limited to 10 MB.

URL fetch and download permissions are independent. Downloads always require explicit confirmation.

User Interaction

The ask_user tool lets the agent request missing information during a run. Pending questions are tracked per session, so parallel sessions can wait for independent user input without sharing state.

Shell And Migration Tools

Agent mode can run shell commands through run_shell_command. Shell execution is permission-gated.

The add_migration tool adds Entity Framework Core migrations for configured migration projects.

Studio Automation Tools

Agent mode can use enabled ABP Studio automation tools.

ToolDescription
dotnet_buildBuilds the solution or targeted project context.
build_solutionBuilds the whole solution when exposed by the run context.
build_moduleBuilds a selected module.
build_packageBuilds a selected package.
get_exceptionsReads monitored application exceptions.
get_logsReads monitored application logs.
get_requestsReads monitored HTTP request data.
get_eventsReads monitored distributed event data.
start_applicationsStarts applications from the active run profile.
stop_applicationsStops applications from the active run profile.
start_containersStarts containers from the active run profile.
stop_containersStops containers from the active run profile.
run_taskRuns configured Studio tasks.
install_libsInstalls client-side library files.
generate_csharp_proxiesGenerates C# client proxies.
generate_angular_proxiesGenerates Angular client proxies.

Subagents

The spawn_subagent tool delegates bounded research work to read-only specialist subagents.

Subagent typePurpose
researchPerforms solution/code research using read-only tools.
websearchPerforms web-focused research.
abpdocsearcherSearches and reads ABP documentation for framework-specific questions.

Subagents are read-only. They are intended for parallel research and return summarized findings to the main agent.

MCP Tools

Configured MCP server tools can be added to Agent mode when:

  • The MCP server is configured and enabled.
  • The server connection is successful.
  • The individual MCP tool is not disabled in settings.

MCP resources are visible in settings and can be opened for inspection, but the Agent-mode callable surface is composed from MCP tools. Plan and Ask modes do not receive MCP tools.

This capability lets the AI Agent consume tools from external MCP servers. It does not make ABP Studio AI Agent an MCP server for external clients.