An array of paths to directories containing your flow YAML files.
The agent will load all .yaml and .yml files from these directories.
tools (optional)
An array of paths to directories containing your tool implementations.
If not specified, tools should be passed directly to the Agent constructor.
agent (deployment only)
The path to your main agent file where the agent is exported as default. This field is used by the Minded platform during deployment and is not required for local development.
The agent field is only used during deployment to the Minded platform. It tells the platform where to find your agent's default export. This field is not used by the Agent class at runtime.
llm (required)
Configures the language model for your agent.
Supported LLM Providers
ChatOpenAI
AzureChatOpenAI
Usage in Your Agent
The minded.json configuration is passed directly to your Agent constructor:
Complete Example
Here's a full example of a minded.json file for a customer support agent:
Corresponding project structure:
Environment-Specific Configuration
You can create environment-specific configurations:
Load the appropriate configuration based on your environment:
Next Steps
With your minded.json configured, you're ready to:
import { Agent } from '@minded-ai/mindedjs';
import memorySchema from './schema';
import tools from './tools';
import mindedConfig from './minded.json';
const agent = new Agent({
memorySchema,
config: mindedConfig,
tools, // Optional if specified in minded.json
});