Humanus (meaning "human" in Latin) is a **lightweight C++ framework** inspired by [OpenManus](https://github.com/mannaandpoem/OpenManus) and [mem0](https://github.com/mem0ai/mem0), integrated with the Model Context Protocol (MCP).
**Key Features:**
- **C++ Implementation**: Core functionality written in efficient C++ for optimal performance and resource utilization
- **Lightweight Design**: Minimalist architecture with minimal dependencies, suitable for resource-constrained environments
- **Cross-platform Compatibility**: Full support for Unix, MacOS, and Windows systems
- **MCP Protocol Integration**: Seamless integration with Model Context Protocol for standardized tool interactions
- **Vectorized Memory Storage**: Efficient similarity search based on HNSW algorithm for intelligent context retrieval
- **Modular Architecture**: Easy to extend and customize, supporting various LLM models and tool integrations
Run agents in MCP the server (default running on port 8896):
-`humanus_initialze`: Pass JSON configuration (like in `config/config.toml`) to initialize an agent for a session. (Only one agent will be maintained for each session/client)
-`humanus_run`: Pass `prompt` to tell the agent what to do. (Only one task at a time)
-`humanus_terminate`: Stop the current task.
-`humanus_status`: Get the current states and other information about the agent and the task. Returns:
-`state`: Agent state.
-`current_step`: Current step index of the agent.
-`max_steps`: Maximum steps executing without interaction with the user.