Repository navigation
Workers with personalities, a social life and a local Ollama mind - #407
Open
GoodIsaac18 wants to merge 1 commit into
Open
GoodIsaac18 wants to merge 1 commit into
GoodIsaac18 wants to merge 1 commit into
Conversation
Each hire is dealt a deterministic persona (seeded by floor, desk and worker id) that goes into the provider's brief and colours how it works and answers. When a worker has nothing to do it wanders the floor — really sits on the couch's seats, visits the TV, arcade, jukebox and more — with per-worker temperament, tone, quirks, needs and favourites, speech bubbles, hellos for the player, and chats with coworkers whose relationships drift toward friends or rivals and cool back down when they stop meeting. A small local Ollama model (server/mind.ts, /api/mind) can write the chat scripts while the pair walks to meet, learn from finished tasks, share floor-wide knowledge, and keep per-worker memory in .agent-office/minds.json. Notes carry nomic-embed-text vectors so recall picks what's relevant to the pairing (aged down over time) instead of just the latest, and big memories get distilled. Procedural chatter covers whenever Ollama is away; the mind never touches code or repos. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
server/mind.ts+POST /api/mind— a local Ollama model (llama3.2:3b,OFFICE_MIND_URL/OFFICE_MIND_MODEL) writes chat scripts while the pair walks to meet, learns from finished tasks, and shares floor-wide knowledge (OFICINA:notes). Memory lives in.agent-office/minds.json; notes carrynomic-embed-textvectors (OFFICE_MIND_EMBED) so recall picks notes relevant to the pairing — aged down over time — instead of just the newest, and large memories are distilled. Procedural chatter covers whenever Ollama is away; the mind never touches code, tools or repos.workers/wander.ts,crowd.ts,spots.ts,mind-client.ts,server/mind.ts,routes/mind.ts); no changes tomain.ts/server.ts/state store/protocol.ts.Test plan
npm run typechecknpm test— newtests/personas.test.tsandtests/size.test.tsgreen; the few failures seen locally (client-registry InteractKinds, clone/codex suites) reproduce on cleanorigin/mainand are unrelatednpm run build/api/mindchat returns in-character Spanish scripts,learnwrites personal +OFICINA:shared notes, embeddings persist 768-dim vectors inminds.jsonGenerated with Devin