Describe your use case
Developers and system administrators need a convenient way to interact with PowerMem from the command line without writing Python scripts. This would enable:
- Quick memory operations during development and debugging
- Batch operations and automation scripts
- System administration tasks (backup, migration, cleanup)
- Integration with shell scripts and CI/CD pipelines
- Quick testing and validation of PowerMem configurations
Describe the solution you'd like
Create a CLI tool (powermem-cli or pmem) that provides commands for:
- Memory operations:
add, search, update, delete
- Configuration:
config show, config validate, config test
- Statistics:
stats, stats user <user_id>, stats agent <agent_id>
- Management:
backup, restore, cleanup, migrate
- Interactive mode:
interactive or shell for REPL-like experience
Describe alternatives you've considered
Example usage:
powermem-cli add "User prefers dark mode" --user-id user123
powermem-cli search "user preferences" --user-id user123
powermem-cli stats --user-id user123
The CLI should:
- Use the same configuration system (
.env file or environment variables)
- Support JSON output for scripting
- Provide helpful error messages and validation
- Include command completion (bash/zsh)
- Follow the existing PowerMem Python SDK patterns
Additional context
No response
Describe your use case
Developers and system administrators need a convenient way to interact with PowerMem from the command line without writing Python scripts. This would enable:
Describe the solution you'd like
Create a CLI tool (
powermem-cliorpmem) that provides commands for:add,search,update,deleteconfig show,config validate,config teststats,stats user <user_id>,stats agent <agent_id>backup,restore,cleanup,migrateinteractiveorshellfor REPL-like experienceDescribe alternatives you've considered
Example usage:
The CLI should:
.envfile or environment variables)Additional context
No response