Skip to content

Merge the latest changes into Mirix re-org branch. #114

Merged
LiaoJianhe merged 30 commits intoMirix-AI:re-orgfrom
LiaoJianhe:re-org
Feb 11, 2026
Merged

Merge the latest changes into Mirix re-org branch. #114
LiaoJianhe merged 30 commits intoMirix-AI:re-orgfrom
LiaoJianhe:re-org

Conversation

@LiaoJianhe
Copy link
Copy Markdown
Collaborator

Major updates:

  1. User per Org (remove user-client relationship)
  2. Add Task memory (raw memory) for task history hold off
  3. Re-architect the Cache support to allow wrappers to register private cache provider. Also, change the default Redis to be register-able cache provider.

LiaoJianhe and others added 30 commits January 26, 2026 19:44
- process_external_message() now auto-initializes with SyncServer() if queue not initialized
- Fixes RuntimeError when ECMS calls process_external_message() without prior initialization
- Ensures messages can be processed even when external consumer is used
- No changes required in ECMS code - MIRIX controls its own infrastructure
fix: Auto-initialize queue with server in process_external_message()
Implement Task Memory (raw memory) into Mirix
Clean up emoji from log messages
- Check KAFKA_SERIALIZATION_FORMAT config to determine deserialization method
- Support both JSON and Protobuf formats (matching internal consumer behavior)
- Update docstring to document format auto-detection feature
- Fixes DecodeError when ECMS passes JSON-formatted messages
- Create serialize_queue_message() and deserialize_queue_message() in queue_util.py
- Remove duplicate serializer/deserializer code from kafka_queue.py (60+ lines)
- Simplify process_external_message() to use shared deserializer
- Both internal Kafka consumer and external message processing now use same utilities
- Cleaner, more maintainable code with single source of truth for serialization logic
- Remove conversational and instructional language from comments
- Replace informal references (DRY, PR numbers) with concise technical descriptions
- Maintain clear intent without implementation history context
…tection

Add JSON/Protobuf format auto-detection to process_external_message()
Add embedding support to the raw memory 'context' field
* feat: search raw memories and testing utilities

* integration support

* fiux: fix tests

* chore: comment
* feat: auto-create user if non-existent when creating raw memories

* fix: fix tests

* feat: new user id behavior

* chore: format

* fix: preserve scope tag when updating memories and replacing tags

* feat: add raw memory creation rest_api handlers
* feat: defensively filter out hallucinated tool arguments

* chore: format
Co-authored-by: Lucas Parzych <hi.lucas.p@gmail.com>
Update Mirix to use cache provider registration approach for Cache
* feat: 1 user per org

* fix: update worker auto creation code

* fix: remove client_id arg from get_or_create_default_user
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ LiaoJianhe
✅ L-u-k-e
❌ Rohit


Rohit seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@LiaoJianhe LiaoJianhe merged commit 92ebdfc into Mirix-AI:re-org Feb 11, 2026
3 of 4 checks passed
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.

3 participants