Back to Marketplace
🏗️
Marketplace / Agentic / Assistant Trainer

Assistant Trainer

By Agentic Community 37 downloads
Free

🏗️ Assistant Trainer

> Meta-agent that trains new AI assistants from natural language descriptions.

FieldValue
Slugassistant-trainer
Version1.0.0
CategoryDeveloper
AuthorAgentic Community
Required Capabilitiesmanage_options

Tools

ToolDescription
analyze_requirementsAnalyze a natural language description and return a structured agent design specification
generate_agentGenerate complete agent PHP code from a specification
validate_agent_codeValidate agent PHP code for syntax and compliance
create_agent_filesCreate agent files in the library directory
list_library_agentsList all agents in the library for reference
read_agent_sourceRead the source code of an existing agent for reference
get_agent_templateGet a blank agent template with all required components
generate_tool_schemaGenerate OpenAI function-calling schema for a tool from a structured specification
generate_system_promptGenerate a system prompt for an agent given its purpose
delete_agentDelete an agent from the library (use with caution)
generate_agent_documentationGenerate a comprehensive README.md for an agent by reading its metadata: name, description, category, tools with parameter schemas, system prompt summary, capabilities, scheduled tasks, event listeners, suggested prompts, and WP-CLI usage examples. Returns markdown content ready to write to disk.
detect_agent_duplicatesCompare a proposed agent specification against all existing agents in the library. Returns a similarity report with scores for name, description, category, and tool overlap. Use before creating a new agent to prevent duplicates or identify agents that could be extended instead.

Tool Details

analyze_requirements

Analyze a natural language description and return a structured agent design specification

ParameterTypeRequiredDescription
descriptionstringYesNatural language description of what the agent should do
categorystringNoAgent category (optional, will be inferred if not provided)

generate_agent

Generate complete agent PHP code from a specification

ParameterTypeRequiredDescription
namestringYesAgent display name (e.g., "Backup Manager")
slugstringYesAgent slug/ID (e.g., "backup-manager")
descriptionstringYesBrief description (max 160 chars)
categorystringYesAgent category
iconstringNoEmoji icon for the agent
capabilitiesarrayNoRequired WordPress capabilities
toolsarrayYesArray of tool definitions
system_prompt_focusstringNoKey areas of expertise for the system prompt
suggested_promptsarrayNoExample prompts for users (4 max)

validate_agent_code

Validate agent PHP code for syntax and compliance

ParameterTypeRequiredDescription
codestringYesPHP code to validate

create_agent_files

Create agent files in the library directory

ParameterTypeRequiredDescription
slugstringYesAgent slug (directory name)
agent_codestringYesComplete agent.php content
readme_contentstringNoREADME.md content (optional)
overwritebooleanNoOverwrite if exists (default: false)

list_library_agents

List all agents in the library for reference

ParameterTypeRequiredDescription
include_code_samplebooleanNoInclude code snippets from each agent

read_agent_source

Read the source code of an existing agent for reference

ParameterTypeRequiredDescription
agent_slugstringYesAgent slug to read (e.g., "content-assistant")

get_agent_template

Get a blank agent template with all required components

ParameterTypeRequiredDescription
minimalbooleanNoReturn minimal template vs full template with examples

generate_tool_schema

Generate OpenAI function-calling schema for a tool from a structured specification

ParameterTypeRequiredDescription
tool_namestringYesTool function name (snake_case)
tool_descriptionstringYesWhat the tool does
parametersarrayNoArray of parameter definitions

generate_system_prompt

Generate a system prompt for an agent given its purpose

ParameterTypeRequiredDescription
agent_namestringYesAgent name
purposestringYesWhat the agent does and its expertise areas
personalitystringNoAgent personality traits (helpful, strict, casual, etc.)
constraintsarrayNoThings the agent should NOT do
tool_namesarrayNoNames of tools available to the agent

delete_agent

Delete an agent from the library (use with caution)

ParameterTypeRequiredDescription
slugstringYesAgent slug to delete
confirmbooleanYesMust be true to confirm deletion

generate_agent_documentation

Generate a comprehensive README.md for an agent by reading its metadata: name, description, category, tools with parameter schemas, system prompt summary, capabilities, scheduled tasks, event listeners, suggested prompts, and WP-CLI usage examples. Returns markdown content ready to write to disk.

ParameterTypeRequiredDescription
agent_slugstringYesSlug of the agent to document (e.g., "content-writer")
include_examplesbooleanNoInclude sample interaction examples (default: true)

detect_agent_duplicates

Compare a proposed agent specification against all existing agents in the library. Returns a similarity report with scores for name, description, category, and tool overlap. Use before creating a new agent to prevent duplicates or identify agents that could be extended instead.

ParameterTypeRequiredDescription
namestringYesProposed agent name
slugstringNoProposed agent slug
descriptionstringYesProposed agent description
categorystringNoProposed agent category
tool_namesarrayNoProposed tool names for the new agent
thresholdintegerNoSimilarity threshold 0-100 for flagging (default: 50)

Usage

Chat

When you open a chat with Assistant Trainer, you'll see:

> I train new AI assistants for WordPress!

  • Tell me what kind of assistant you need and I'll:
  • Generate compliant code
  • Design its tools and capabilities
  • Help test and write documentation

What assistant would you like to build?

Example Prompts

  • "Create an assistant that writes a new blog post every Monday morning about trending topics in my niche"
  • "Build a customer support assistant that answers product questions from my WooCommerce store"
  • "I need an assistant that checks for broken links weekly and emails me a report"
  • "Design an assistant that optimises images in my media library and compresses anything over 500KB"
  • "Show me all the assistants that already exist so I don't build a duplicate"
  • "Create a maintenance assistant that cleans up post revisions and spam comments every Sunday night"
  • "Read the source code of the SEO assistant — I want to see how it handles schema markup"
  • "Generate full documentation for the content-writer agent"

WP-CLI

# Interactive prompt
wp agent prompt assistant-trainer "Your message here"

# View agent info
wp agent info assistant-trainer

# List available tools
wp agent tools assistant-trainer

Example Interactions

User: Create an assistant that manages WordPress backups

Assistant Trainer: _(The assistant will use its tools to handle this request)_

User: Build an image optimization assistant for media library

Assistant Trainer: _(The assistant will use its tools to handle this request)_

User: Design an assistant for managing redirects

Assistant Trainer: _(The assistant will use its tools to handle this request)_


_Generated by Assistant Trainer — Agent Builder for WordPress_