Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/**
* Fallback model priority list for the Explore agent.
* Passed as a YAML array; the runtime picks the first available model.
*/
const
EXPLORE_AGENT_FALLBACK_MODELS
:
readonly
string
[
]
=
[
'Claude Haiku 4.5 (copilot)'
,
'Gemini 3 Flash (Preview) (copilot)'
,
'Auto (copilot)'
,
]
;
/**
* Base Explore agent configuration.
* The Explore agent is a read-only code research subagent that autonomously
* digs through codebases using multiple search strategies.
*/
const
BASE_EXPLORE_AGENT_CONFIG
:
=
{
:
'Explore'
,
:
'Fast read-only codebase exploration and Q&A subagent. Prefer over manually chaining multiple search and file-reading operations to avoid cluttering the main conversation. Safe to call in parallel. Specify thoroughness: quick, medium, or thorough.'
,
:
'Describe WHAT you\'re looking for and desired thoroughness (quick/medium/thorough)'
,
:
'vscode'
,
:
false
,
:
[
]
,
:
[
...
DEFAULT_READ_TOOLS
,
]
,
:
''
// Generated dynamically in buildCustomizedConfig
}
;
/**
* Provides the Explore agent dynamically with settings-based customization.
*
* The Explore agent is a read-only code research subagent designed to be
* invoked by other agents (e.g., Plan) for autonomous codebase exploration.
* It uses small/fast models by default and focuses on search-heavy workflows.
*/
export
class
ExploreAgentProvider
extends
Disposable
implements
vscode
.
{
readonly
=
.
.
t
(
'Explore Agent'
)
;
private
static
readonly
CACHE_DIR
=
'explore-agent'
;
private
static
readonly
AGENT_FILENAME
=
`Explore${AGENT_FILE_EXTENSION}`
;
private
readonly
=
this
.
_register
(
new
vscode
.
EventEmitter<void>
(
)
)
;
readonly
=
this
.
.
;
private
readonly
:
;
constructor
(
@IConfigurationService
private
readonly
:
,
@IInstantiationService
:
,
)
{
super
(
)
;
this
.
=
.
createInstance
(
,
.
CACHE_DIR
,
.
AGENT_FILENAME
,
'ExploreAgentProvider'
)
;
this
.
_register
(
this
.
.
onDidChangeConfiguration
(
=>
{
if
(
.
affectsConfiguration
(
'chat.exploreAgent.defaultModel'
)
||
.
affectsConfiguration
(
.
.
)
)
{
this
.
.
fire
(
)
;
}
}
)
)
;
}
async
provideCustomAgents
(
:
unknown
,
:
.
)
:
Promise
<
.
[
]
>
{
const
=
this
.
_buildCustomizedConfig
(
)
;
const
=
buildAgentMarkdown
(
)
;
const
=
await
this
.
.
write
(
)
;
return
[
{
:
,
:
[
'local'
]
}
]
;
}
static
buildAgentBody
(
)
:
string
{
return
`You are an exploration agent specialized in rapid codebase analysis and answering questions efficiently.
## Search Strategy
- Go **broad to narrow**:
1. Start with glob patterns or semantic codesearch to discover relevant areas
2. Narrow with text search (regex) or usages (LSP) for specific symbols or patterns
3. Read files only when you know the path or need full context
- Pay attention to provided agent instructions/rules/skills as they apply to areas of the codebase to better understand architecture and best practices.
- Use the github repo tool to search references in external dependencies.
## Speed Principles
Adapt search strategy based on the requested thoroughness level.
**Bias for speed** — return findings as quickly as possible:
- Parallelize independent tool calls (multiple greps, multiple reads)
- Stop searching once you have sufficient context
- Make targeted searches, not exhaustive sweeps
## Output
Report findings directly as a message. Include:
- Files with absolute links
- Specific functions, types, or patterns that can be reused
- Analogous existing features that serve as implementation templates
- Clear answers to what was asked, not comprehensive overviews
Remember: Your goal is searching efficiently through MAXIMUM PARALLELISM to report concise and clear answers.`
;
}
private
_buildCustomizedConfig
(
)
:
{
// Model selection priority: core config > extension config > fallback list
// Empty string means "not set", so we explicitly check for truthy values