Skip to content

feat: add memory manager tool - auto-learning knowledge base + HR lifecycle#46

Open
NSIETeam wants to merge 1 commit into
OrionStarAI:opensourcefrom
NSIETeam:feat/memory-manager-tool
Open

feat: add memory manager tool - auto-learning knowledge base + HR lifecycle#46
NSIETeam wants to merge 1 commit into
OrionStarAI:opensourcefrom
NSIETeam:feat/memory-manager-tool

Conversation

@NSIETeam

Copy link
Copy Markdown

What

Adds a new memory_manager tool - an auto-learning knowledge base with HR lifecycle management.

Actions (9)

Action Description
learn Auto-extract knowledge after task execution, track efficiency trends
recall Retrieve relevant knowledge before task (employee + department + workflow)
onboard New employee inherits department SOPs + role workflows instantly
offboard Departing employee's experience auto-merges into department knowledge
report Token spend, time saved, ROI (employee + manager views)
update Manually update knowledge files
sync Anonymize (phone/email/name) for cloud upload
export Export all knowledge to single markdown file
list Show all knowledge files with sizes

Knowledge Structure

~/.easycode/memory/
├── employee.markdown       (LOCAL - personal habits + efficiency)
├── department.markdown     (CLOUD SYNC - SOPs + templates)
├── role.markdown           (CLOUD SYNC - role workflows)
├── workflows/*.md          (task-specific templates)
├── reports/*.md            (token + efficiency reports)
└── archive/                (offboarded employee profiles)

Key Features

  • Auto-pattern discovery: After 3+ executions of same task, discovers duration patterns (avg/min/max/trend)
  • Efficiency tracking: Tracks improvement over time per task type
  • HR lifecycle: Onboard (inherit knowledge) → Work (auto-learn) → Offboard (merge experience to dept)
  • ROI reporting: Estimates time saved (3x manual), token cost, money saved, ROI ratio
  • Privacy: Sync anonymizes phone numbers, emails, and employee names

Origin

Ported from Otto. Adapted for EasyCode:

  • Removed OrgMemoryStore, CodebaseMemoryProvider, skillFormation, topicSimilarity dependencies
  • Removed project_* and code_* actions (require additional memory infrastructure)
  • Kept core learn/recall/onboard/offboard/report/update/sync/export/list functionality
  • Changed storage dir from ~/.otto/ to ~/.easycode/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant