Agent API
Constructor
new Agent({
memorySchema: z.ZodSchema,
config: MindedSDKConfig,
tools: Tool[],
platformToken?: string,
memorySaver?: BaseCheckpointSaver,
interruptSessionManager?: InterruptSessionManager,
parseSessionIdFromTrigger?: (trigger: any) => string,
});Options
Key Methods
updateState
Signature
Parameters
Usage Examples
Common Use Cases
getState
Signature
Parameters
Returns
Usage Example
compiledGraph
Usage Example
Knowledge Base RAG
State Management Best Practices
1. Partial Updates
2. Atomic Operations
3. State Validation
4. Tool State Updates
Tool Execution API
ToolExecutor
Setting Up Tool Execution
Tool Configuration for Execution
Executing Tools
CDP URL and Browser Automation
Accessing CDP URL in Tools
Browser-Use Integration Flow
Security Considerations
Integration with Other Features
With Browser Use Tools
With Voice Sessions
With Events
Error Handling
Related Documentation
Last updated