Skip to main content

Agent self-configuration

Explyt CLI configures itself. To connect an MCP server, add a rule or a skill, or change a setting, just describe the task in the chat. You don't need to read the documentation or edit configuration files by hand.

How it works​

The CLI ships with documentation about its own configuration. When you ask for a configuration change, the agent first reads the relevant section and then creates or edits files in the .explyt/ folder:

~/.explyt/                 for all projects
<project>/.explyt/ for this project only

If it isn't clear where to save a setting, for all projects or only for the current one, the agent asks.

Example: connect an MCP server​

Write in the chat:

Connect the context7 MCP server

The agent finds the MCP section in the built-in documentation and edits mcp.json itself. After the configuration reloads, the server appears on the /mcp screen along with its tools.

The same agent works in the Explyt JetBrains Plugin; Agent self-configuration in the plugin shows this request there.

Example requests​

RequestWhat the agent does
Connect the context7 MCP serverAdds the server to mcp.json
Add a rule: this project uses Kotlin and JUnit 5Creates a rule file in .explyt/rules/
Make a skill that writes a PR description from the diffCreates SKILL.md in .explyt/skills/<name>/
Turn on desktop notifications with soundChanges notifications.* in ~/.explyt/settings.json
Hide the tips under the working rowWrites tui.tips: false
Create a model profile for a thorough reviewCreates a profile in .explyt/models/
Draw me my own mascotWrites the animation frames to the settings

Check the result​

CommandWhat it shows
/mcpMCP servers and the tools they give the agent
/rulesRules that apply in the project
/skillsSkills; you can also turn them on and off here
/agentsHelper agents and their state
/settingsTerminal settings

Manual configuration​

If you prefer to edit the files yourself, the format is described in the Configuration section:

Limits​

  • The agent creates and changes configuration files the same way as any other files. Edit requests follow the current permission mode.
  • Update settings (updateChannel, autoUpdate) and cache warming (cacheWarming) are stored not in .explyt/ but in the agent's own settings. They are changed with the explyt config command.