5 ms·
MIRA – An open-source persistent AI entity with memory
- JonChesterfield 10mo agoDeleted comment pointed out that LICENSE.pdf is a screenshot from hashicorp. That's pretty weird, raised an issue for it.
- taylorsatula 10mo agoIssue closed! Thanks! I modified the license type to be AGPL vs. BSL.
- oidar 10mo agoIf you are on a Claude Pro/Max plan, can you use it by signing into your account? Or is it API only for now?
- taylorsatula 10mo agoNo, I wish. That would be a really cool functionality but to my knowledge it is not possible BUT I could be wrong and would be more than happy to implement that support if someone gives me the information needed to integrate.
- deleted 10mo ago[deleted]
- idiotsecant 10mo agoI looked at your web hosted version. It seemed really easy to get it to hang up when it's search tools raise an exception.
- taylorsatula 10mo agoIf it throws an actual error please let me know by lodging it as an issue in the GitHub repo and I'll modify the code. I'm hanging around the house tonight to fix bugs people uncover. EDIT: Thanks for the feedback! I was able to pinpoint it to a change I made earlier today to allow simultanious OAI endpoints and the native Claude support. When on a model via a 3rd party provider certain parts of a toolcall were being stripped. Not any more! Pushed an update.
- maxwell-neumann 10mo agoThis is really fascinating. I’d love to see a demo.
- taylorsatula 10mo agoThere is a live hosted instance a miraos.org where you can make an account and chat with MIRA through a web frontend. For now during this phase of people discovering it I'm eating the token costs so its 100% free to access and chat with.
- williamstein 10mo agoTitle says "open source", but the Business Source License (BSL) is not an Open Source Initiative (OSI) approved open-source license.
- CamperBob2 10mo ago[flagged]
- popalchemist 10mo agoOpen source has an accepted and well understood meaning to developers; when people use the term to mean something other than that, it is 100% of the time for exploitative purposes, and they know they are being disingenuous.
- CamperBob2 10mo agoI've used the term for 25+ years to describe my own source-included free software projects, and I'll thank you (and OSI) for not policing my language. No trademark? No standing. Choose other crusades.
- tingletech 10mo agoI think they literally coined and defined the term over 25 years ago.
- CamperBob2 10mo agoThat's not how it works. They're entitled to their own opinion, but not to their own dictionary.
- hollerith 10mo agoSo if you were to write that you are not in the habit of stealing from children, you might have your own idiosyncratic definition of "steal" or "child"?
- kgeist 10mo agoI tried making something similar a while ago, and the main problem was that long-term memory makes it easy to move the AI into a bad state where it overfixates on something (context poisoning), or decides to refuse talking to me completely. So in the end, I added a command that wipes out all memory, and ended up using it all the time. Maybe I was doing it wrong. The question is: how do you prevent the AI from falling into a corrupt state from which it cannot get out?
- taylorsatula 10mo agoI use a two-step generation process which both avoids memory explosion in the window and the one turn behind problem. When a user sends a message I: generate a vector of the user message -> pull in semantically similar memories -> filter and rank them -> then send an API call with the memories from the last turn that were 'pinned' plus the top 10 memories just surfaced. the first API call's job is to intelligently pick the actual worthwhile memories and 'pin' them till the next turn -> do the main LLM call with an up-to-date and thinned list of memories. Reading the prompt itself that the analysis model carries is probably easier than listening to my abstract description: https://github.com/taylorsatula/mira-OSS/blob/main/config/prompts/fingerprint_expansion_system.txt https://github.com/taylorsatula/mira-OSS/blob/main/config/pr... I can't say with confidence that this is ~why~ I don't run into the model getting super flustered and crashing out though I'm familiar with what you're talking about.
- skeledrew 10mo agoI would love to see how this shakes out using purely free/open models (for example via OpenRouter).
- chaosharmonic 10mo ago> This is my TempleOS. This is easily one of my favorite descriptive details I've ever seen in a README.
- taylorsatula 10mo ago:D I’d also like to thank David Hahn for obsessively (and arguably compulsively) learning about a topic way out of his depth and then manifesting it till the cops took him away.
- fooqux 10mo agoI'm curious why some features are disabled if you're using local models. Sorry if this is a dumb question.
- reilly3000 10mo agoProbably for context conservation? I’m happy to get 80k with a decent model too on my 4090.
- Avicebron 10mo agoDecay based memory scoring is a cool idea (if I'm understanding it correctly). Did you take it as an interpretation of Hebbian plasticity?
- taylorsatula 10mo agoI had not but I’m going to read more about this today! Thanks!
- lukasb 10mo agoI'm playing around with it, and it's very cool! One issue is that fingerprint expansion doesn't always work, e.g. I have a memory "Going to Albania in January for a month-long stay in Tirana" and asking "Do I need a visa for my trip?" didn't turn up anything, using expansion "visa requirements trip destination travel documents..." What would you think about adding another column that is used for matching that is a superset of the actual memory, basically reusing the fingerprint expansion prompt?
- z3ratul163071 10mo agohope this is not python.. hope this is not python.. ..opens repo ..python ¯\_(ツ)_/¯
- rubenvanwyk 10mo agoAlso wishing more of these tools use C# on the backend.
- taylorsatula 10mo agoI really like how readable Python is and latency isn’t an issue because the VAST majority of time is API latency.
- deleted 10mo ago[deleted]
- hohithere 10mo agoJust tested the demo, it is really great. Therefore the image attachment, on mobile version, does not upload or process a thing atm? Domaindocs is a nice no DB solution and easy thing, but got some issues with it. I create the domaindoc, add manually something inside (list of friends, Name - description), and enable it. Later I ask what I put inside, or who is x, and I got the correct output, but when I try to ask to replace x word by another, he show me what it should be, says is done and completed, but does not edit the actual domaindoc file.
- taylorsatula 10mo agoAre you running it locally or the hosted version? I say that because Anthropic models are really good about not lying that they executed a tool call but using another provider/model sometimes they lie to your face. Does it produce an error or just lies to you?
- hohithere 10mo agoI tried the web hosted one, and it just lied indeed. I asked to replace a name, told me it was done and shows the, what should be result, but does not touch the document.
- personjerry 10mo agoDoesn't seem to work very well, i have to coerce it to create memories and even then it's losing track of them or failing to create memories altogether. I want a single thread I can talk about multiple different social interactions in my life but it fails to keep track even of a single storyline, and fails entirely to save anything from the second storyline.