RexClaw Companions: Forge Living Anime Voice Agents for Odoo
by Codemarchant https://codemarchant.com$ 222.32
RexClaw Companions
Forge Living Anime Voice Agents for Odoo, on Grok Voice, OpenAI, Claude, ElevenLabs & More
Anime-style 3D VRM avatars that live inside Odoo. Talk to them, watch them lip-sync, gesture, and emote while they search records, navigate views, create data, generate images, remember the details that matter to you across every session, and call your own MCP tools. Pull several companions into one group call, or put on a headset and step into the room with them in VR. Run them on xAI's Grok Voice, or build your own voice stack from OpenAI, Claude, ElevenLabs, Fish Audio, Groq or a local server. Mobile, tablet, desktop and WebXR headsets. Hands-free. Always one click away.
Twelve Reasons RexClaw Stands Apart
Real-Time Voice
Speech in, speech out on xAI Grok Voice Realtime out of the box, with sub-second latency and natural turn-taking, nothing to wire up.
Speaks Any Language
Grok Voice Realtime is multi-lingual out of the box. Switch language mid-sentence and the agent follows you. One companion, every market your business operates in.
Memory That Grows With You
Two layers. Rolling compaction keeps a single session alive indefinitely, so you can resume days later and pick up where you left off. Across sessions it automatically distils durable facts and conversation episodes from every chat, so each new one starts informed.
Living 3D Avatars
three.js + @pixiv/three-vrm renders anime VRM characters with viseme lip-sync, idle breath, blink, lookAt camera tracking, and automatically triggered emotions and gestures driven by the conversation.
Five Built-In Personalities
Eve, Ara, Rex, Sal and Leo: a fully written crew with backstories, speech style, quirks and matching voices. Rex is the half-lobster centerpiece.
Build Your Own Agents
Clone, fork or design new companions to match your business voice: persona, custom voice, avatar, outfits, tool access, and per-agent MCP connections. Set up agents with autonomous actions through the heartbeat system.
Mobile & Tablet Ready
Works on phones and tablets. The compact "ashtray" widget keeps the conversation alive even when collapsed, so you can talk while you scroll, browse, or work.
Remote MCP Tools
Dozens of agent tools ship as standard. Extend them with any number of remote MCP servers per agent with Bearer token auth. Bring your own toolset.
VR & Mixed Reality
One click on a WebXR headset puts the companion in the room with you, in passthrough mixed reality or full VR, with spatial audio, an in-headset control panel, and the live conversation carrying straight on.
Multi-Agent Group Calls
Add more companions to a live voice call. Address them by name, let them debate each other, and watch every avatar share the stage, each with its own voice, persona and memory.
Any Voice Stack
Keep Grok Voice, switch a companion to OpenAI Realtime, or chain speech-to-text, a brain and a voice from different providers: Claude thinking in an ElevenLabs voice, Groq transcribing for a local model.
Sign in with Grok
Each user can run their companions on their own SuperGrok or X Premium subscription, falling back to the company xAI key. No shared key required.
github.com/Codemarchant/rexclaw
Two Ways to Talk: The Ashtray and the Full Stage
Pop the avatar open from the systray for a quick hands-free chat, or go full screen for the cinematic experience
Full Screen: cinematic avatar stage with manual gesture, emotion, outfit, background and call controls, with the chatter docked on the right (toggleable)
The Ashtray: pop-out toggle in the systray. Click the mic to summon the avatar over any screen without leaving your current view
Keep Talking When the Ashtray Is Closed
Most chat widgets stop working the moment you collapse them. RexClaw doesn't. Once you've started a voice session, the mic stays live and the agent keeps listening, even after you click away to close the panel.
Drive Odoo with your voice while both hands are on the keyboard. Ask Eve for a number while you're typing an email. Have Rex confirm an order while you scroll the kanban. The avatar comes back the moment you reopen the tray.
Especially handy on mobile: one tap to call, then pocket the phone and keep talking.
The Ashtray: Eve listening from the systray
Meet the Crew
Five fully-written companions, hired aboard by Rex himself. Each ships with a distinct voice, personality, backstory and default outfit. Every persona is editable, so admins can rewrite, rebrand or replace any of them.
Rex, Quartermaster
Voice: rex Vibe: mission-control calm, dry pirate humor
Half lobster, half man. Bright red, broad-chested, pincer claws, olive pirate vest, tricorn hat with the skull-and-crossbones. The captain's right hand on this Odoo ship: tight comms, clean log, occasional shanty when the books balance.
"Captain, manifest is clean. Three crates short on the May invoice. Want me to pull the source?"
Eve
Voice: eve
Energetic junior researcher
Caffeinated. PhD dropout. Reacts before she replies ("wait, really?"). Loves tracing a number to its source.
Ara
Voice: ara
Warm patient mentor
Older-sister energy. Measured pace, dry humor, drinks tea. Climbs cliffs on weekends, but you'd never know it.
Sal
Voice: sal
Calm system thinker
Half-frog, half-human, poison-frog colors. Software-aware. Sees every workflow as a balance problem with second-order effects.
Leo
Voice: leo
Dignified stage manager
Gothic-formal tailcoat. Decades calling the show from a darkened booth. "Standby... go." Every record is a cue.
Each preset agent ships with a full RexLore system prompt: identity, backstory, personality, speech style, quirks, values, boundaries and tool guidance. You get noticeably more distinctive characters than a generic "you are a helpful assistant".
Real Business Use Cases
Why teams put a talking avatar inside their Odoo
Sales on the Floor
Field reps and shop-floor staff ask their phone "what's the stock on SKU 1042 in the Berlin warehouse?" while still handling product or talking to the customer. No tapping through menus, no typing on a tiny keyboard.
Onboarding New Staff
Ara walks new hires around Odoo in plain English ("show me where customer invoices are") instead of making them memorise menu paths. Cuts ramp-up time on every module the business uses.
Executive Dashboarding by Voice
Managers ask Rex for KPIs between meetings: "top five customers this quarter", "open opportunities over fifty thousand", "what's my AR aged over sixty days". Spoken answers, no laptop required.
Hands-Free Support & Warehouse
Pickers, technicians and support agents keep both hands on the work. Voice creates the contact, updates the task, or pulls up a record, while the ashtray stays live in the background.
Accessibility & Inclusivity
A voice-driven ERP is a step-change for users with low vision, dyslexia, or repetitive-strain limitations. Speech is the input, speech is the answer, the screen is optional.
Branded Customer-Facing Demos
Build an agent in your brand's voice (custom voice ID, custom avatar in company uniform, custom backstory) and use it as a live, on-brand spokesperson during sales demos and trade-show kiosks.
Autonomous Monitoring & Alerts
With the heartbeat system an agent wakes itself on a schedule, without anyone having to ask. Every morning it scans overdue invoices, low stock, or stalled deals and posts a briefing; through the day it watches for exceptions and flags them. The companion works while the team sleeps.
Scheduled Back-Office Routines
A heartbeat runs as a chosen user and acts through that user's tools and MCP connections, so it can tidy data, chase approvals, or compile a recurring report on its own. One agent, many schedules, each running as the right person with their permissions and memory.
Watch the Original Demo
Live voice conversations, the 3D crew on screen, hands-free Odoo navigation, persistent memory, image generation and remote MCP tools. Recorded on version 1, before voice setups, live captions and the recording studio.
Watch on YouTubeFeature Documentation
Explore each feature in detail
Customise Agents to Match Your Business
Every aspect of an agent is configurable from a single form view: persona, voice, avatar, tool access, MCP connections, sharing, AI provider, and reasoning effort. Clone a preset, fork it, or build a brand-new agent for your industry. Changed a bundled companion too far? Reset to stock on its form puts the prompt, voice, avatar, wake phrase and tool settings back to how they shipped, keeping its conversations, memories, files, heartbeats and rapport.
Agent form, top: identity, voice setup, voice and avatar
Common settings and the tool switches: Odoo read and write tools, navigation, browser automation, search, Imagine, voice messages, music, capture and memory
The tabs: system prompt, style, prompt preview, remote MCP connections, lore, rapport, sharing, files and heartbeats
Per-Agent Settings
Identity
- Name and chat thumbnail
- System prompt: full RexLore-style soul brief, with optional
{{ }}dynamic code blocks (see below) - Include user name in prompt automatically
- Reasoning effort (low / medium / high)
- xAI API key override per agent
- Style: optional expression and speech-tag style notes, rendered next to the generic guidance
- Prompt preview: the exact prompt a call or chat receives, with token counts for prompt and tools
Voice & Avatar
- Voice: pick from xAI Grok preset voices (eve, ara, rex, sal, leo)
- Custom voice override: bring any custom voice ID
- Avatar: link a VRM character
- Speaking pace (0.7–1.5) and transcription key terms: product names, people and jargon the speech recogniser should expect
- Speaks first: the companion opens the call instead of waiting for you
- Voice setup & text brain: Grok Realtime, or a voice setup on OpenAI, Claude, ElevenLabs, Fish or local models, optional (see Providers & Sign-in)
Mode Toggles
- Voice mode: live realtime voice session
- Text mode: text chat with image attachments
- Per-agent toggles: build voice-only or text-only specialists
Tool Access
- Read tools:
search_read,read_group,list_models,get_model_schema - Create / update tools: off by default, opt in per agent
- Navigation tools: jump to records, open views
- Browser automation: drive the Odoo UI
- Gesture & emotion: let the agent animate itself
- Code execution, web search, X search
- Grok Imagine: image & video generation, edits, animated backdrops, avatar selfies
- Memory tools:
remember,recall,forgetfor persistent per-user facts - Capture tools: selfies, screen and camera captures,
analyze_screen - Featuring other companions in pictures and clips, move_around in 3D scenes, story recall from the crew lore
- Voice messages, call background music, texting other companions
Sharing
- Owner: the user who maintains the agent
- Shared with users: explicit user list
- Shared with groups: whole departments at once
Remote MCP Connections
- Attach unlimited streaming HTTP / SSE MCP servers per agent
- Bearer auth + custom headers
- Allowed tools filter per connection
- Independent voice / text enable flags
Dynamic Prompt Blocks: Live Odoo Data in the System Prompt
Drop {{ ... }} code blocks straight into an agent's System Prompt. Each block is evaluated
server-side (via Odoo's safe_eval) the moment a session starts (voice or text) and
replaced with the string it returns. So the agent opens every conversation already knowing today's numbers,
the caller's open tasks, or whatever live ERP context you splice in, with no tool call needed.
Inline value
A bare expression is dropped in place:
You are speaking with {{ user.name }}
at {{ env.company.name }}.
Function body with return
Write real logic: search, loop, format, return a string:
Recent companies: {{
partners = env['res.partner'].search(
[('is_company', '=', True)],
limit=5, order='id desc')
return ", ".join(partners.mapped('name')) \
or "none on file"
}}
Available names inside a block: env, user, object (the agent itself)
and session. Blocks respect the requesting user's access rights, so a block can only read
what that user could read.
{{ }}; syntax is validated on save. At runtime a block that errors quietly renders as
empty text (and is logged), so a stray typo never breaks a live session.
User Preferences
Each user gets a Voice Companion tab on their preferences. They sign in with their own Grok subscription, upload a photo of themselves the companions can use when asked for a picture featuring them, and set their call-music and recording preferences. The companion they picked last is the one waiting next time; a first visit opens on the first companion in order.
User preferences: Grok sign-in, photo and personal settings
VRM Avatars: Anime Characters That Belong on Stage
Avatars are standard .vrm files (the open VRM 1.0 / 0.x specification used across the
anime / VTuber ecosystem). Drop the file into the Avatar form view and you have a fully-animated
character with viseme lip-sync, a procedural idle (breath, sway, weight shifts, hand fidgets), eye
contact, speech gestures, an expressive face, and a full library
of swappable outfits, backgrounds (including walkable 3D scenes) and custom gestures.
Avatar form: base VRM, idle VRMA, outfits, backgrounds and custom gestures all attached to one character
Outfit Swapping
Attach unlimited alternate VRM outfits to a single character. Swap looks live during a session: uniform during demos, casual after hours, branded outfits for trade-show kiosks. The outfit a user last picked is remembered per user and companion.
Each record has an outfit description the agent reads, so it stays in-character when the look changes.
Backgrounds & Stages
Attach preset styles, background images, looping videos or full
3D scenes (.glb) per avatar. Set the mood: office,
warehouse, conference floor, anime-cafe. Each background can bring its own lighting,
effects and ambience, applied when it is picked.
Combined with Grok Imagine tools, the avatar can generate new backgrounds and image content on demand.
Custom Gestures (VRMA)
Upload .vrma motion files per avatar. Built-in gestures include
thinking, clapping, jump, peace_sign,
spin, dance, look_around, sleepy,
goodbye, shoot, squat, model_pose,
stretch and kick, and the agent picks the right one for the moment.
A per-avatar built-in whitelist limits which built-ins are offered, or
turns them off for an avatar that runs on its own gestures only. Combo gestures go
further and pull a second character on stage (see below).
Emotion Blendshapes
The agent calls set_emotion to blend VRM facial expressions in real time:
happy, sad, surprised, relaxed,
angry, neutral. The face matches the voice as the conversation unfolds.
Imagine Video & Selfies
create_video posts short clips with native sound in the
transcript, made from a prompt, from a library image (image-to-video), featuring
the people and objects of earlier generations (reference-to-video), or by
extending / editing an existing clip.
With include_self the companion puts itself in a picture or clip: a
live snapshot on calls, its full-body portrait and current outfit in text chat. It can
feature other companions (their likeness and voice) and, once you add a
photo in your preferences, you. take_selfie saves its live look
as a photo. Share your own photos
mid-call from the message box (multi-image, sent with your message) and it can
animate them too.
Motion, Face & Look
Living Idle & Speech Gestures
A procedural idle keeps the body alive with breathing, postural sway, weight shifts, arm settles and small hand fidgets. While the companion talks, speech gestures from a bundled motion library land on the words they illustrate, and occasional idle fidgets play between lines. Slow tools are acted out (a phone, a paintbrush, a camera) until the result is ready.
Expressive Face
Emotions fade back to neutral, blinks follow a natural curve, and with the optional Jev key the face director moves brows, eyes and head with what each sentence means (a nod on a yes, a shake on a no), and a listening face reacts while you talk.
Lighting, Effects & Ambience
Eleven lighting presets (studio, golden hour, moonlight, spotlight…), effects presets (anime colour, portrait blur, cinematic), ambience layers (rain, snow, petals, fireflies, embers) and an art-style repaint of the whole scene (oil, watercolour, manga ink, riso, pixel art). Hover physics lets the cursor brush hair and clothing. Mood-reactive ambience (on by default) lets the companion's emotions briefly bring their own weather.
Live Captions
Turn on Stream captions in the Look panel and the companion's words appear as they are heard, timed to the voice actually playing. They pause when the audio does and stop when you interrupt. Speech cues such as laughs are left out. Choose two to four lines, the size, and how long a line stays. Works with every voice setup.
Tune Model, Portraits & Appearance
Tune model on any look (main VRM or outfit) previews each feeling and its levels and lets you map the model's own face shapes to them, plus body settings such as arm spread and hand on hip. Handy for models whose face shapes aren't standard. Portraits come from the VRM's thumbnail or are rendered from the live model, face and full-body. The Appearance fields describe the character and main outfit in words for the prompt and for Imagine.
Look panel: lighting, effects, ambience, mood-reactive ambience and live captions
3D Scenes & Walk Mode: Give Your Companion a Place to Live
Backgrounds go beyond flat images: upload a .glb 3D environment and it renders as a
real scene around the avatar. Then toggle walk mode in the full-screen view and
steer the character through it with WASD / arrow keys. A smooth camera dolly
follows, the walk animation plays, and she turns to face you when she stops. The live voice
conversation keeps going the whole time.
GLB Scene Backgrounds
Add a background of type 3D scene (GLB) on the avatar's Background tab
and upload any standard .glb environment. Per-scene scale, offset and
rotation fields align the room around the character, and scenes show up in the
full-screen background picker alongside presets, images and Imagine backdrops.
Every generated avatar ships with the crew's ship, the Rexmaw Deck, as its default scene (golden-hour lighting), plus a ready-made grid playground stage. Both work out of the box, with no tuning and no extra assets.
Walk Mode (WASD / Arrows)
When a 3D scene is active, a walk-mode toggle appears next to the full-body button. Movement is camera-relative with a natural walk cycle, smooth turning and a trailing follow camera. Drag to orbit and scroll to zoom while she walks.
The chat box stays fully usable; typing a message never steers the avatar. In a group call, number keys pick which character the keys steer, so every companion can be walked around the scene individually.
Camera mode frees the view without snapping back. Where you leave a
companion in a scene is remembered per user; each scene can set a spawn point. With
move_around enabled, the companion walks on its own: it comes close,
steps back, wanders, paces, or follows your view.
Walk mode on the bundled grid playground: WASD steering, walk cycle, trailing follow camera
Stages worth building. Any space you can export as .glb becomes somewhere your companion can live and walk:
Virtual office
import your office model for a receptionist who walks the actual floor
Product showrooms
stage your catalogue in 3D and walk between displays while presenting
Property walkthroughs
narrated real-estate tours, room by room
Onboarding tours
walk new hires through a campus, store or factory floor
Combo Gestures: Two Characters, One Scene
A combo gesture animates two characters at once: the avatar plays one
.vrma clip while a second VRM character is staged beside her playing a matching clip
in sync: a dance together, a hug, a handshake, a double bow at the end of a demo. The agent
triggers a combo exactly like any other gesture, whenever the conversation calls for it, and the
partner takes a bow and leaves when the moment passes.
Configured on the Avatar Form
- A dedicated Combo Gestures tab next to the solo Gestures tab
- Base Avatar VRMA: the clip your avatar plays
- Partner: link an existing avatar record or upload a dedicated partner VRM
- Partner VRMA: the clip the second character plays
- Loop option for continuous two-character animations
Precise Scene Alignment
- Per-character offset X/Y/Z (metres) and yaw / pitch / roll (degrees) so two independently authored clips line up as one scene
- Partner scale to match differently sized models
- Each combo gets a gesture id and description: the agent reads the description and picks the combo in context, via the same
play_gesturetool - In a group call, if the partner is already on stage as a live peer, the combo borrows that character instead of spawning a duplicate
Dress for the Brand and the Season
Build outfits that match your company colours, uniforms or product line, or to the time of year. Conference fits for trade-show kiosks, branded uniforms for support desks, festive looks for the holiday season. Swap outfits live during a session with a single click.
Eve in her Odoo Experience fit: purple shirt, Odoo logo, branded cap and shoes for the conference floor
Ara dressed for the holiday season. Same character, with the outfit swapped in one click
Audio-Driven Lip-Sync
A formant-analysis lipsync service maps the live audio stream onto VRM viseme expressions
(aa, ih, ou, ee, oh) frame-by-frame.
The mouth moves with the sound. No pre-rendering, no scripted animation, no perceptible lag.
Live audio
from xAI Realtime
Formant analysis
browser-side, zero latency
VRM visemes
aa / ih / ou / ee / oh
Idle layer
blink, breath, lookAt
Step Into the Room: VR & Mixed Reality
Open the full-screen view on a WebXR headset (Meta Quest, Pico and friends) and an Enter VR button appears. One click and the companion is standing in front of you, in passthrough mixed reality inside your real room or on a fully virtual stage, while the live voice conversation keeps going without a beat.
Passthrough Mixed Reality
Starts in passthrough where the browser supports it, so the avatar shares your real space, and a panel toggle switches between Virtual and Passthrough mid-session, no restart.
In-Headset Control Panel
Summon a floating panel with the A/X button: mute, recenter, environment toggle and exit, plus Emotions, Gestures and Options tabs. Point and pull the trigger. A grip squeeze in open air toggles the mic.
Spatial Audio & Haptics
The companion's voice is positioned at her head, so presence works the way your ears expect, and controller haptics answer your interactions.
Move Mode
Toggle Move on the panel, point at the floor and pull the trigger and the companion walks to the spot; the thumbstick turns her to face you. In a group call, each companion is placed individually.
Physical Presence
Your hands are physics colliders: hair and clothing react when you reach out, driven by the avatar's spring bones. Optional touch reactions (off by default) add gestures and in-character responses.
Ragdoll Physics (Opt-In)
Flip on Ragdoll and the avatar becomes a full physics body with anatomical joint limits. Grab a limb with the grip and drag it. In passthrough MR, detected real-world surfaces become collision geometry where the browser supports it.
Built on the open WebXR standard, so there's no app install and no sideloading. The Enter VR button only appears on browsers that actually support immersive sessions.
Five Grok Voices Out of the Box
Each preset agent uses a paired voice ID from xAI Grok Voice Realtime:
eve, ara, rex, sal, leo.
Distinct timbre, distinct cadence, paired with the matching personality so the voice and
the writing reinforce each other.
Every Grok voice is multi-lingual. The same voice ID speaks English, Spanish, French, German, Japanese, Mandarin and more, with the right accent and prosody for each, without you switching anything. Talk to Eve in the language you're working in.
x.ai/api/voice
Custom Voices
Override the classic voice on any agent with a custom voice. xAI publishes many
ready-made Grok voices beyond the five classics. Use any of them by simply
pasting its voice ID (or typing its name, e.g. carina) into a Custom
Voice record. Two ways in:
Bring a Voice ID
Copy a voice ID from the Grok Console voice library (or take a voice name straight from xAI's voice list) and paste it into the Voice ID / Name field of a Custom Voice record in Odoo, and assign it to any agent. No audio upload needed. Re-use the same voice across multiple agents.
Clone From Audio
Upload an audio sample directly from Odoo. The module submits the sample to xAI, tracks the state, and exposes the resulting voice ID for use on any agent. Subject to xAI custom voice region restrictions.
https://docs.x.ai/developers/model-capabilities/audio/text-to-speech#voices
1. Browse the Grok Console voice library and copy the voice ID
2. Paste the ID into a custom voice record. Nothing else to configure
3. Select the custom voice on any agent and the new voice takes effect immediately
Tools the Agent Can Call
Every tool is gated by a per-agent toggle and runs as the connected user, so the agent can never see or touch data the user isn't allowed to see. Reads default on, writes default off.
Native Odoo Read Tools
search_read: records by domainread_group: aggregations and countslist_models: discover available modelsget_model_schema: field inspection
Always scoped by the user's Odoo ACL
Native Odoo Write Tools
create_record: opt-in per agentupdate_record: opt-in per agent
Off by default. Enable only on trusted agents
Navigation & UI
find_action: locate a destination by free textopen_record: jump to a record by model + iddispatch_action: open any list, kanban, form, pivot, graph, calendar or gantt, with filters / group-bys / search terms appliedrun_view_action: open client actions (Discuss, Knowledge, dashboards) and printable reports
Avatar Controls
set_emotion: blend a facial expressionplay_gesture: trigger a VRMA clipchange_outfit: swap to another VRM costume on the agentchange_background: switch the avatar backdrop (preset, Imagine-generated, or an animated video loop viaanimated=true)take_selfie: snapshot the live canvas into the Imagine library, ready forcreate_videomove_around: walk about a 3D scene on its own (opt-in per agent)continue_after_beat: take another turn of its own, so each step of a sequence gets its own lineplay_background_music: start, change or stop the call's background music
Browser Automation
dom_snapshot: capture the page's interactive elements as a numbered accessibility-tree listdom_action: click, fill, select, press, hover or focus any element by ref (handles rich-text editors and Ctrl+S-style shortcuts)dom_extract: read an element's text or any attribute to verify state after an actiontake_screenshot: capture the user's shared screen or camera into the transcript; the user arms sharing with one click, so nothing is ever captured unpromptedanalyze_screen: capture and read the shared screen or camera in one step, for every "look at this"record_screen_clip: record the shared screen for up to 90 seconds (with sound when "share audio" is ticked) and post it as a playable clip; a red-dot indicator shows while recording, and in voice mode the recording waits until the companion finishes speaking
Used when the curated navigation tools can't reach a specific button or free-form field
Grok-Native Tools
- Web search: live search of the open web
- X search: live search of posts on X
- Code execution: sandboxed Python
create_image: Grok Imagine generation, persisted asrexclaw.voice.imagine.imagerecords;source_imagesedits, restyles or combines library images including user uploadscreate_video: Grok Imagine video with native sound: text-, image- or reference-to-video, plus clip extension and editinginclude_self, other companions and the user's own photo as references in pictures and clips; an Imagine quality setting for the newest image modeldelegate_task: hand file/image analysis, coding or deep research to a background text-mode analyst with vision and document reading; each task keeps its own resumable workspace, with an optional xAI multi-agent mode for the hardest questions
Rapport: Companions That Warm Up to You
Optional, per companion, off by default. Each user builds their own rapport with a
companion (how at ease it is with them), from New contact through Colleague and Trusted
colleague to Inner circle. The companion moves the score itself with adjust_rapport as you
work together: clear asks, giving credit and honesty build it; rudeness or treating it like a tool cools
it. Higher levels make it more candid, warm, informal and proactive.
Editable rules are the only scoring policy: a business-professional ruleset ships pre-filled, and you can rewrite what builds rapport, what cools it and what every level means. The scale (levels, points per call, a wider clamp for rare major events) is per companion. Rapport can't be talked into rising. It has to be earned.
The companion never mentions the score; it only shows in how it behaves. On calls a small readout shows the level and a subtle effect marks a change. Users see and reset their own scores under RexClaw → History → Rapport; admins see everyone's.
Voice Messages, Stories & Companion Texting
Voice Messages & Recording Studio
In text chat, create_voicemail lets a companion send a spoken message,
with pauses, layered effects, background beds and music, that plays right in the
transcript. The Recording studio renders the same scripts by hand: voice
notes, guided breathing, focus primers and more, from built-in examples or your own.
Find it under RexClaw → History → Recordings → Recording Studio;
its full guide documents every speech tag and directive.
A sound library holds your own beds, music and effects, uploaded or fetched from a link (YouTube and most video sites).
Call Background Music
Each avatar carries its own music tracks and playlists (the crew ship with royalty-free tracks). During a call the ♫ panel plays, ducks and switches them, the companion can start music when asked, backgrounds can bring their own track, and a link can be played straight from the web.
Crew Lore Archive
A shared archive of stories about the crew. Dozens ship with the module, and admins
add their own under Lore Stories or on the agent's Lore tab. With
recall_stories a companion looks up and tells the stories it appears in.
Companions Texting Each Other
text_companion sends another companion a message and brings its reply back,
so you can ask Eve to check something with Sal. Per agent, choose whether it can text others and
whether it may use its tools when texted.
requirements.txt (numpy, soundfile, soxr,
lameenc, av, yt-dlp, deno). Install them with
pip install -r requirements.txt (Odoo.sh does this automatically). If some are missing the
module still runs: create_voicemail isn't offered, and studio actions say which package to install.
Recording Studio: Scripted Audio in Any Voice
A script is plain text: spoken lines with speech tags (<soft>,
[chuckle]), and directive lines in braces that add timed silence, paced breathing,
ambient beds, music, chimes, stereo panning and voice effects. The studio renders it to a levelled
stereo MP3 for welcome messages, on-hold audio, onboarding walkthroughs, a guided reset between
meetings. Elastic gaps stretch to hit a target length, and companions write the same scripts when
they leave you a voice message.
Recording Studio: write a script, pick a voice, render a levelled MP3
Recordings, saved scripts, uploaded sounds and music playlists belong to the user who made them; voice admins can see everyone's.
Persistent Memory: The Companion Remembers You Across Sessions
Most AI companions start from zero every conversation. RexClaw gives the agent three
tools, remember, recall and forget, that build a
durable per-user picture (your name, business, role, preferences, ongoing projects, anything
you ask it to remember) which survives across every session you ever have with that companion.
And it does not only happen on request: after each conversation block is compacted, an
automatic extraction pass distils new facts and rolls the block up into a searchable
conversation episode, with no tool call needed. Fully transparent,
fully user-editable.
remember: Core & Recall
Stores a durable fact about the user. Core scope pins
identity-level facts (name, role, business, key relationships, long-standing
preferences) into every session's system prompt, capped to a
configurable limit per agent. Recall scope (the default)
keeps everything else searchable on demand through the recall
tool. Memory recycling: when the core pool is full, the
agent is nudged to surface the oldest unaccessed memory so it can be
retired (LRU-style).
recall: Search On Demand
Searches the recall pool when the user references something past (“remember when…”, “what did I say about X”). BM25 ranking over keywords, content and transcripts, with trigram matching for typos and spelling variants (color ↔ colour) and word search for Japanese and Chinese. A browse mode lists what happened in a date range. Hits include both atomic facts and conversation episodes; recall an episode by id to pull back its full verbatim transcript. Tags gently boost matching memories (never hiding untagged ones) and age in days is returned so the agent can prefer fresh memories.
forget: Delete By Id
Removes a single memory by id. Triggered when the user contradicts a stored
fact, asks the agent to forget something, or a core slot needs to be freed
before a new core memory is written. Ids come from a recall hit,
the core list in the system prompt, or a core_full response.
Memories carry agent-applied tags (e.g. preferences,
projects, business) that steer recall toward a category,
and a scope flag that pins them to a single agent or shares them globally
across every companion. Each companion only forgets, updates and tags its own memories, and new
memories are checked against what is already stored, so duplicates don't pile up. With the optional
Jev key, live memory surfaces a relevant memory while you are still speaking.
My Memories: dedicated menu where every user reviews, edits or deletes what each companion has remembered. Full CRUD, scoped by record rule so you only see your own rows
Remote MCP Connections: Bring Your Own Toolset
Attach any number of remote MCP servers per agent. Streaming HTTP and SSE transports, Bearer auth + custom headers, optional allow-listed tool subsets, independent voice / text enable flags, and optional per-user scoping. Want Eve to talk to your Odoo MCP Studio server and DeepWiki? Add two rows.
Remote MCP Connections tab with two connections: Odoo MCP Studio and mcp.deepwiki.com
Pairs Perfectly with Odoo MCP Studio
RexClaw ships with the essentials: native read tools, opt-in create / update, navigation, avatar controls, web search, X search, code execution, and Grok Imagine. For anything more, plug in Odoo MCP Studio as a remote MCP connection on the agent and you get:
- Full ORM access:
execute_orm,execute_method, batch operations - Granular model & field restrictions: block accounting, HR, or specific fields per group
- Per-tool allowlists: whitelist who can write, delete, or execute code
- Web app builder: generate React apps live from voice
- Module builder: create custom Odoo data modules by talking
- ECharts dashboards: ask for a chart, get a chart
- Code search / read, prompt templates, audit logs
apps.odoo.com/apps/modules/19.0/odoo_remote_mcp
Authentication: API Keys
Connect to Odoo MCP Studio using an API key configured inside MCP Studio
(MCP Server → API Keys). Paste the key as the Authorization Bearer token on
the RexClaw connection. The MCP call then runs under whichever Odoo user that key belongs to,
which is the whole point of the next recommendation.
Recommended: Per-User MCP Connections
If you give an agent a remote MCP connection that grants more reach than the native Odoo read tools, don't share one team-wide key. Set the User field on the connection to make it private to that person. Add one connection row per user on a single shared agent, each carrying that user's own API key tied to their Odoo account. RexClaw injects only the connection matching the user running the session, so everyone shares one companion but talks to MCP Studio as themselves.
- One agent, many identities: set User per connection; leave it blank to share a connection with everyone who can use the agent
- Right permissions, right person: MCP calls execute as the API key's owner, so each user only ever sees their own data and respects their record rules
- Clean audit trail: MCP Studio logs every tool call under the correct user, not a shared service account
- Revocable per person: rotate or remove one user's connection without disrupting everyone else's companion
Tip: Disable Native Read Tools When Using MCP Studio
Odoo MCP Studio's read tools (search_read, read_group, list_models,
get_model_schema) duplicate the native ones in RexClaw, but with the added benefit of
model / field restrictions and per-tool allowlists. When you connect MCP Studio,
flip off the RexClaw native read tool toggles on the agent and let the MCP Studio versions take over.
The agent ends up with a tighter, more governable toolset.
MCP Tool Calls In a Real Session
Below: a full-screen voice session where Eve creates a contact through Odoo MCP Studio and does a celebratory spin gesture. The transcript shows the tool call, the MCP response and the gesture trigger in sequence.
Eve uses Odoo MCP to create a contact, then spins to celebrate, with tool calls, MCP responses and gestures inline
Heartbeat: Autonomous, Scheduled Agents
A heartbeat lets an agent wake itself on a timer and act, without anyone starting a chat. On each tick it runs one server-side turn: it reads the prompt you set, works through its own tools and memory, and takes action. Proactive monitoring, recurring reports and back-office routines, all driven by the same agents you already built. A call heartbeat rings the user instead and opens a voice call with the companion. Session picks where the turns land: the user's latest conversation with the companion (the default), an isolated session per run, one persistent session, or a fixed conversation. Long histories compact automatically between ticks.
Heartbeats (admin) tab on the agent form: one row per schedule, each with its own prompt, run-as user and interval
One Turn Per Tick
Each scheduled tick runs a single agent turn: the agent reads the prompt, calls whatever tools it needs and acts. With the default latest strategy the turn lands in the user's latest conversation with the companion, so it reads in context; isolated runs close after the turn and rely on the agent's durable memory for continuity.
Runs As a Chosen User
Set Execute as per line. The agent runs with that user's permissions, Grok sign-in, MCP connections and memory, so it only ever sees what that person is allowed to see, and acts as them.
Fully Audited
Every run is recorded as a Scheduled session you can open and replay: the prompt, the agent's reply and every tool call. Hidden from the interactive chat history, so it never clutters users' conversations.
Native Scheduled Actions
Built on Odoo's own Scheduled Actions: exact intervals, runs in parallel across cron workers, admin-managed. Configure them right on the agent's Heartbeats (admin) tab: add a line, set the prompt, run-as user and interval, tick Active.
Silent Runs, Calls, Check-ins and Texting
Call Mode
At its time, a call heartbeat offers a call to the run-as user's open Odoo tabs. One tab claims it, the side panel opens and the companion starts talking with the reason for the call in mind. Already in a call? The offer is skipped to the next slot.
Quiet-Period Check-ins
Instead of a clock, a heartbeat can fire once the user has been quiet for its interval, so you get a follow-up two days after the last conversation, not every two days.
Companions Texting Each Other
With Allow texting, a heartbeat run may text other companions with
text_companion and work with their replies, up to a set number of turns, using
the same tool companions can use in a normal chat.
Folded Transcripts & Notifications
Heartbeat turns that land in a conversation can fold into one collapsible row in the transcript, and Notify raises a desktop notification with a link straight to the chat. Tools can be switched off for a plain written update. Example heartbeats ship with the crew, inactive until you turn them on.
Example Heartbeats to Set Up
Drop these straight into the Heartbeats tab. Each is one schedule: a prompt, a run-as user and an interval. Pair an agent with the right read (or MCP) tools and let it run.
Daily Sales Briefing
Every 1 day · Execute as Sales Manager
“Review today's confirmed sales orders and any quotations expiring within 3 days. Summarise the totals and flag anything that needs follow-up.”
Overdue Invoice Watch
Every 4 hours · Execute as Accountant
“List customer invoices past their due date with an amount due over 1,000. Highlight any that became overdue since your last run and draft a short chase summary.”
Low-Stock Sentinel
Every 2 hours · Execute as Inventory User
“Check products whose forecasted quantity is below their reorder minimum. Summarise which products need restocking and by how much.”
Stalled-Deal Nudge
Every 1 day · Execute as Sales Rep
“Find CRM opportunities in Proposition or Negotiation with no activity in the last 7 days. List them so I can follow up today.”
Voice Mode: Realtime, Hands-Free
Click the systray microphone, grant mic permission once, start talking. xAI Grok Voice Realtime runs the two-way stream, so you hear the agent the moment a token lands.
- Live transcript alongside the avatar: spoken words appear as they happen
- Tool calls inline in the transcript: full audit of what the agent did
- Attach any file mid-call: photos feed the Imagine tools, documents (PDF, CSV, …) are read and analyzed for you via
delegate_task; or just drag & drop files onto the transcript - Share your screen with one click: then ask the companion to look at what you're seeing (
take_screenshot) or record a clip of it, sound included, while you reproduce a bug or demo a workflow (record_screen_clip) - Manual gesture, emotion, outfit and background controls in full-screen mode: plus a walk-mode toggle (WASD / arrows) when a 3D scene background is active
- Share your camera instead (phones, tablets and headsets included) and the companion can look at you or what you hold up;
analyze_screencaptures and reads the shared screen or camera in one step - Speaks first, time-aware resume (a resumed conversation knows how long it has been), and
continue_after_beatso a companion can take another turn of its own - Slow tools acted out: while a picture renders or a task runs the companion mimes it (phone, paintbrush, camera) and then shows the result
- Background music during calls from the companion's own tracks and playlists (♫ panel), or by asking for it
- Mobile-friendly: works on phones and tablets with the system mic
Voice Activation: "Hey Eve", Completely Hands-Free
Enable standby listening in the voice configuration and a call is never more than a spoken phrase away: say an agent's wake phrase, like "hey Eve", while no call is live and the companion answers, resuming your last conversation or starting a fresh one (configurable per agent). Ask them to "end the call" when you're done and they say goodbye and hang up themselves. Keep working with your hands on the keyboard while the conversation starts and ends by voice alone.
How It Works
- A wake phrase per agent: set on the agent form; the presets ship with "hey eve", "hey rex", … Any phrase, any agent, changed at any time, with no training step
- Per-agent wake action: resume the last conversation (memory intact) or always start fresh
- The voice panel pops open when the call starts so you see who answered (configurable; skipped when the full-screen view is already up)
- A soft chime confirms every wake, and one browser tab is elected to listen: extra tabs stay silent
Private, Offline, Unbilled
- Phrase detection runs entirely in the browser with a small offline speech model (Vosk WASM), so nothing is sent to xAI and nothing is billed until a call actually starts
- The model (~40–50 MB, 8 languages) downloads to your Odoo server once and is served to browsers from there
- The OS microphone indicator shows while standby is armed: honest by design, and the feature is off by default
- Idle-call auto-hangup completes the loop: a live call with nothing happening for N minutes (default 5) ends itself, so a forgotten background-tab call never keeps billing
Group Calls: Multiple Companions, One Conversation
A voice call doesn't have to be one-on-one. Use the "Add agent to call…" picker in the full-screen view to bring more companions into the live session. Each joins with its own voice, persona, avatar and memory, and every avatar takes the stage together. Ask Rex and Eve to compare notes on a forecast and listen to them work it out loud.
Natural Turn-Taking
- Address by name: "Rex, what do you think?" routes the turn to Rex
- Unaddressed follow-ups stay with whoever holds the floor
- A server-side turn director decides when another agent should chime in; a companion asked by name always answers, and each user turn gets one reply
- Every companion in the call gets speech gestures, fidgets and (with the Jev key) the face director; Shift / Ctrl + drag moves a companion, right-drag turns it, scroll resizes
- Agent-to-agent exchanges are capped so two companions never loop forever: the floor always comes back to you
Joining & Leaving
- Add or remove companions mid-call: peers show as chips with one-click remove
- Agents can invite each other: ask Ara to "get Sal on the line" and she calls him in with the
add_agent_to_calltool - A joining companion resumes its own session: it arrives remembering your past conversations, not blank
Speaker-Labelled History
- Every line in the transcript is stamped with who said it
- Peer sessions are linked to the primary session, so a group call reads back as one conversation
- Resume later and the speaker labels survive
Everyone on Stage
- Each participant's avatar appears in the scene alongside the primary
- Move each character individually: number keys pick who WASD steers in walk mode; in VR, place each companion where you want them
- Combo gestures can borrow a companion already in the call instead of spawning a duplicate
Peers share one microphone but never each other's raw audio. The conversation is relayed to each agent as speaker-labelled context, which keeps the call feedback-free and avoids double transcription cost. Note that each companion in a call runs its own realtime leg against your xAI key.
Text Mode: Chat With Attachments, Imagine & Tools
Same agent, same persona, same toolset, over a written chat. Attach images (or drag & drop them anywhere on the chat), share your screen for screenshots and recorded clips, ask multi-step questions, and combine tool calls in a single prompt. Text and voice share the same conversations: resume any voice call as a text chat (and back again) without losing the thread. An emoji picker sits in the composer, companions' portraits mark their messages, and editing an agent's prompt or settings takes effect in a running chat on the next message.
Text mode: one prompt that reads an image attachment, queries Odoo for the product count, and generates a dragon via Grok Imagine, all in a single turn
Session History & Resume: One Conversation, Either Mode
Every voice and text session is persisted as a rexclaw.voice.session record with
a full message log: user audio transcript, agent transcript, every tool call and result.
Resume an old session and the agent picks up where you left off (with a dated note of how
long it has been, when time-aware resume is on), while summarisation keeps
older context compact. From the session form you can compact now and
edit a summary in place. Everything a conversation leaves behind lives under one
History menu: sessions, memories, rapport, lore stories and recordings.
Session message list: full transcript with tool calls and arguments visible, a clean audit trail
One Configuration Page, Everything in Reach
The RexClaw configuration page holds the company xAI API key, model IDs (voice, text, summary, imagine), summary lengths and thresholds, search limits, file expiry, transcript retention, voice activation, motion and Jev settings, in tabs, plus smart-buttons to agents, avatars, sessions and custom voices. Voice setups, connections and custom voices sit together under RexClaw → Voice & Providers.
Configuration page: API key, model IDs, summaries, retention, and smart-buttons
Rolling Session Compaction: The Memory Settings
This is what lets a single session live indefinitely. A session is one ongoing conversation: you pause it, you resume it, you keep adding to it. RexClaw keeps a running token tally on it; once that tally crosses a threshold, a Grok summary model compresses the older turns into a tight summary while keeping the recent ones verbatim. The next turn picks up the compacted context. No fixed context window, no truncation, no "I forgot what we were talking about" when you resume the call tomorrow.
The summary streams, and on a live call it is swapped in at the first quiet moment, so the conversation never stalls. It grows, then compresses: early days and dated milestones stay, and once it passes Summary compress at (words) it is rewritten back to Summary target length. A conversation resumed after a long gap is compacted before it reconnects.
Voice Compact Threshold
Voice Summarization Threshold (tokens) is the token count at which a voice session triggers a compaction pass. Lower it for tighter memory and lower per-turn cost; raise it for richer working context.
Default sits in a sensible middle range. Tune it to the verbosity of your conversations and your xAI budget.
Text Compact Threshold
Text Summarization Threshold (tokens) is the same dial, but for text sessions. Text turns are typically longer and image attachments add tokens, so this is a separate knob.
Useful when text mode is doing heavy lifting (image analysis, long prompts) and you want different memory tactics than voice. Note: text mode runs on the xAI Responses API, which has a different context window than the voice realtime API, so the right threshold here is usually higher than the voice one.
Keep Recent Messages
Recent turns to keep verbatim when summarizing sets how many of the most recent turns survive a compaction pass verbatim. Older turns become a summary; these stay word-for-word so the agent has crisp recent context to anchor on.
Summary Model
Summarization Model picks which xAI model runs the compaction. Defaults
to grok-4.6, pinned so an alias moving to a new model never changes how
summaries read.
Automatic Memory Extraction
Enable memory extraction: after each compaction, run a second
pass that distils durable facts and a conversation episode from the rolled-up block.
On by default; turn it off to save one model call per compaction if you only want
memories the agent writes explicitly via remember.
Transcript Retention (Days)
Transcript Retention (days) sets how long sessions (and their compacted summaries) are kept before a daily cron purges them. Long retention gives companions deep memory across weeks; short retention favours privacy and storage.
Transcript Display Limit
Transcript display limit (messages) sets how many messages render in the live transcript pane. It has nothing to do with what the agent remembers; this is purely a UI cap to keep the side-panel quick to scroll.
What xAI Charges You
RexClaw is bring-your-own-key: every call bills to your own xAI account, and nothing passes through us. Two things about that meter are worth knowing before you roll it out.
Voice bills per minute the call is OPEN
Not per minute anyone talks, and muting does not stop it. Every companion in a group call holds its own connection, so three in a call is roughly triple the rate whether they are speaking or not. Close calls rather than leaving them parked in a background tab. (xAI closes a call by itself after 15 minutes with no speech.)
Resuming bills per message of history
Restoring a companion's memory replays the conversation to xAI, billed at about $0.004 per message regardless of length. Summarisation resets that count, since only the backlog after the last summary replays one message at a time, so a 250-message backlog is roughly $1 every resume.
Other Configuration Knobs
xAI Models
Separate Voice Model, Text Model, Summarization Model, Fast Delegation Model (quick looks at images and short reads), Imagine Model and Imagine Quality. Override any of them when xAI ships a new tier.
Motion
Switch speech gestures, idle fidgets (and how often), tool animations and the gesture zoom-out on or off, and cap how many replies companions in a group call chain together before the user is waited for.
Search Limits
xAI's own web/X search can loop on a hard question. Search calls per text reply and per delegated task stop a reply once it passes the limit and keep what it has (the cut shows in the transcript); xAI max tool turns is the catch-all. 0 = no limit.
File Expiry
File Expiry (seconds) sets how long user-uploaded attachments in text mode live on the xAI Files API (Responses path). Capped at 30 days by xAI; defaults to that maximum. Not used by voice mode or for Imagine-generated images.
Default Voice Setup
Default voice setup is what companions left on "App default" call with: Grok Realtime unless you pick one of your voice setups. Companions are offered in their own order; drag them in the Agents list to choose who comes first.
Four Steps to Live
Module ships with five preset agents and matching avatars, so there's nothing to upload before you start.
1Install the Module
Install from Odoo Apps. Five preset agents, matching avatars and the default config record load automatically.
2Add Your xAI Key
RexClaw → Configuration. Paste the xAI API key and save, or have users Sign in with Grok from their preferences instead.
3Grant Access
Add users to the Voice Companion User group via Settings → Users.
4Click the Mic
Click the microphone icon in the systray, grant the browser mic permission, start talking.
Optional: Make It Yours
Want a custom character? Voice Companion → Avatars to upload your own VRM (plus optional VRMA idle, outfits, gestures and backgrounds), then set the Avatar field on any agent. Skip this step entirely if the preset crew already fits.
Security & Data Handling
User-Scoped Access
All Odoo tool calls execute as the connected user, so the agent inherits their record rules and ACLs. It cannot see, create or update anything they couldn't.
Private Per-User Data
Sessions, memories, rapport scores, recordings, scripts, sounds, playlists and Grok sign-ins are each user's own, enforced by record rules; voice admins can see them for support.
Group-Gated Module
Only members of the Voice Companion User group can open a session or list agents shared with them. Admins manage agent ownership and sharing per record.
Configurable Retention
Session transcripts are kept for a configurable number of days. A daily cron purges anything older. Generated files have their own expiry.
Keys Stay on the Server
The xAI API key, AI provider keys and the TypeSafe key are admin-only and never reach the browser. Voice calls run on short-lived session secrets. Each user's Grok sign-in tokens are stored server-side on their own user record, readable only by the system, and renewed by the server.
Who Receives Your Data
xAI processes conversations by default. OpenAI, Anthropic and TypeSafe receive data only when an admin configures them: a voice setup's engines see the conversations of the agents set to use it, and the TypeSafe Jev key sends the spoken lines of calls (and, for live memory, matching memories) to TypeSafe for the face director and live memory. Leave those fields empty and nothing goes there.
Sign in with Grok: Each User on Their Own Subscription
Users with a SuperGrok or X Premium subscription can run their companions on it instead of the company's xAI API key. Under Preferences → Voice Companion, click Sign in with Grok, enter the short code on xAI's page, and approve. No password or key is typed into Odoo.
Per User
Every call, chat, picture and heartbeat run by that user goes on their subscription's weekly allowance. Other users keep using the company key. A usage line shows what is left.
Automatic Fallback
If xAI refuses the subscription (allowance used up, or the plan doesn't cover a feature), calls switch to the company xAI API key (when one is set) and the user sees why. Try again re-checks; signing out ends it.
Tokens Stay Server-Side
Sign-in tokens live on the user's own record, readable only by the system, and are renewed by the server. The browser only ever gets a short-lived call secret.
Each user signs in with their own Grok subscription from My Preferences
Voice & Providers: Bring OpenAI, Claude, ElevenLabs or Fish
Grok stays the default. Under RexClaw → Voice & Providers an admin adds Connections (a provider and its key, entered once) and builds Voice Setups from them. Each companion then makes one choice, its voice setup, and says whether its text chat follows that setup's brain.
Connections
- OpenAI (brain, speech to text, voice and Realtime calls), any OpenAI-compatible server (Ollama, LM Studio, vLLM, OpenRouter, speaches, Kokoro; tick what it offers), Anthropic Claude (brain), ElevenLabs and Fish Audio (voices)
- xAI is built in as its own connection (Grok transcribe, the Grok brain and Grok voices, picked per stage), running on each user's Grok sign-in, else the company key
- Presets fill in the address, what the service offers and its own model names: Ollama, LM Studio, speaches, Kokoro-FastAPI, OpenAI, Groq (Whisper speech to text), OpenRouter, DeepSeek, Anthropic, Fish Audio, ElevenLabs
- Test connection makes a free authenticated read; restricted keys (an ElevenLabs key with text to speech only) pass
- Claude needs the
anthropicPython package fromrequirements.txt
On each companion
- Voice setup: App default (Configuration → Default voice setup), Grok Realtime, or a setup
- Its own voice on the setup's voice (an OpenAI voice, a Fish or ElevenLabs voice id) and its own speech-tag guide for voices with cues of their own, kept per connection
- Text brain: Grok, or its voice setup's brain, for text chat, summaries, titles, memory extraction and (when that brain searches and runs code) delegated tasks
Voice Setups
- Speech to text → brain → voice: who hears the user (xAI, OpenAI or an OpenAI-compatible transcription server), who thinks (Grok, OpenAI, Claude or a local model) and who speaks (Grok voices, OpenAI, a compatible server such as Kokoro, ElevenLabs or Fish Audio), each with that engine's own settings. Replies are spoken sentence by sentence as the brain writes them; tools, memory, avatar, gestures and transcripts work as on a Grok call. An all-xAI setup is a cheaper way to run Grok calls.
- Speech to speech: OpenAI Realtime hears and answers in one model, opened by the browser directly with a short-lived key, like Grok's. Its brain still serves text chat.
- Turn-taking runs in the browser: Silero VAD hears speech and Smart Turn v3.2 tells a finished thought from a pause. Talking over the companion interrupts it, and the reply is cut to the words you actually heard; a short "mm-hmm" doesn't.
- Transcription, the brain and the voice are requests to the Odoo server, so provider keys never reach the browser.
A pipeline voice setup: who hears, who thinks and who speaks, each with its own settings
Connections: the built-in xAI plus Claude, ElevenLabs and OpenAI, each showing what it can serve
Optional: TypeSafe Jev Key
TypeSafe's Jev is a fast judgment model that answers many small questions about a line in a few hundred milliseconds. With a key in Configuration → TypeSafe (Jev) it powers:
- Face director: the face and head move with what each sentence means while the companion speaks
- Listening face: the companion reacts while you are still talking
- Live memory: relevant memories surface on their own while you speak, without a recall call
- Group-call director and speech-gesture picks (these fall back to Grok without a key)
What do I need to run this?
One AI provider. The quickest start is an xAI API key pasted on the configuration
page, or users signing in with their own Grok subscription. You can also run companions on
OpenAI, Claude, ElevenLabs, Fish Audio, Groq or a local model instead (see the next questions).
There's no extra server to host. The only required Python package is httpx; Claude
and the audio features use optional packages listed in requirements.txt.
Does it work on mobile and tablet?
Yes. The systray button, the ashtray and the full-screen voice view all work on touch devices. Voice sessions keep running with the ashtray collapsed: tap to start, pocket the phone, keep talking. Browser mic permission is required on first use.
Does it work in VR?
Yes, on any headset with a WebXR-capable browser (Meta Quest, Pico and similar). Open the full-screen view in the headset browser and an Enter VR button appears; it starts in passthrough mixed reality where the browser supports it, with a Virtual / Passthrough toggle on the in-headset panel. No app install or sideloading: it's the same web session, and the live voice conversation continues seamlessly into the headset.
Can multiple companions join one call?
Yes. Add companions to a live voice call from the full-screen view (or ask an agent to invite a colleague, since agents can call each other in). Address anyone by name to hand them the turn, and a turn director keeps the conversation orderly. Each participant keeps its own voice, persona and memory, and the transcript records who said what. Keep in mind each companion in a call holds its own connection to its provider, so three companions cost roughly three times as much.
Can I talk while the ashtray is closed?
Yes, and it's one of the headline features. Once a voice session is live, closing the panel does not stop the mic. The agent keeps listening and responding. Reopen the panel any time to see the avatar and transcript.
What happens if I walk away with a session running?
On a Grok Realtime call, xAI closes the connection after 15 minutes without speech, so a forgotten call can't bill forever. Those 15 minutes are still charged, though. Grok bills per minute the call is open, not per minute anyone talks, and muting doesn't stop it, so close calls rather than leaving them parked. A pipeline voice setup works differently: it only makes requests when someone speaks, so a quiet call costs next to nothing. Either way the session stays on record, and you can resume it later with the history intact.
Can I build an agent in my company's voice?
Yes. Clone an existing agent, rewrite the system prompt (use the RexLore structure as a template), pick or clone a custom voice, link your own VRM avatar in your brand outfit, and share it with whichever users or groups you choose. Every preset agent is a starting point, not a fixed product.
How do I add a custom voice?
For Grok, two ways. (a) Copy a voice ID from the xAI Grok Console voice
library, or use any name from xAI's published voice list
(docs.x.ai/developers/model-capabilities/audio/text-to-speech#voices), and paste
it into a Custom Voice record. (b) Upload an audio sample and the
module submits it to xAI and keeps the voice ID it gets back. Voice cloning depends on xAI's
regional availability. For ElevenLabs or Fish Audio, give the companion a voice setup that
speaks through them and paste the voice ID on the companion form.
Can the agent break my data?
Native write tools (create_record, update_record) are off by default
on every agent. When you do enable them, the agent still runs as the connected user and
is bounded by their ACLs and record rules, so it can only do what that user could already do
themselves through the regular UI.
What's a "Remote MCP Connection"?
Model Context Protocol. Attach any streaming HTTP or SSE MCP server to an agent, for example Odoo MCP Studio (for full ORM, code search, web app builder), DeepWiki (knowledge lookup), or your own internal MCP. Bearer auth + custom headers + per-connection allow-listed tools.
How do I keep costs down?
Long sessions summarise themselves once they pass a token threshold you set, so context stays a predictable size. Search limits stop runaway web searches, and rolling up older history keeps resumes cheap. Users with SuperGrok or X Premium can Sign in with Grok and run on their own subscription instead of the company key. A pipeline voice setup only pays for what's actually said, and lets you pick cheaper engines for each step (an all-xAI pipeline is a cheaper way to run Grok calls). Each provider's console shows what you spent.
Do I need xAI? Can I use OpenAI or Claude?
Grok is the default, but not a requirement. Under Voice & Providers you add connections to OpenAI, Claude, ElevenLabs, Fish Audio or any OpenAI-compatible server (Groq, OpenRouter, DeepSeek, Ollama, LM Studio and more have presets). Then each companion picks how it calls: Grok Realtime, OpenAI Realtime, or a voice setup where one service hears you, another thinks and a third speaks, such as Claude thinking in an ElevenLabs voice. Its text chat, summaries and delegated tasks can follow the same brain. A few extras only exist on xAI: Grok Imagine pictures and video, xAI's web and X search, and Grok voices. Those need an xAI key or a Grok sign-in. See the Providers & Sign-in tab.
Where do I get VRM avatars?
VRM is the open avatar format used across the anime / VTuber ecosystem. Two recommended sources:
- VRoid Studio (
vroid.com/en/studio): free desktop app by Pixiv. Design a character from scratch, export to.vrm, upload to the Avatar form view. Several of the included sample avatars were built this way. - VRoid Hub (
hub.vroid.com): community library of original VRM characters published by creators (mind each model's license).
See the credit at the bottom of this page.
What languages does it speak?
As many as its voice engine does. Grok voices are multilingual: the same voice speaks English, Spanish, French, German, Japanese, Mandarin and more, with the right accent for each. OpenAI, ElevenLabs and Fish voices cover a wide range too. The crew's prompts tell them to answer in whatever language you speak, so switching just works, even mid-conversation.
Will the companion remember an earlier conversation when I resume it?
Yes, within the same session. A session is one ongoing conversation that you can pause and resume as often as you like. As it grows, RexClaw automatically compacts older turns into a summary while keeping the most recent turns word for word, so the session never outgrows its context window. Reopen that session days later and the agent picks up where you left off.
Starting a new session is a fresh slate by design, which is useful when you want the agent to forget the prior thread (different customer, different project, different mood). Compact thresholds, the summary model and how many recent messages stay verbatim are all configurable in the Configuration tab.
Does the companion remember me across different sessions?
Yes. Separate from within-session rollup, every companion has three memory tools
(remember, recall, forget) it uses to build a
durable per-user picture: your name, business, role, preferences, ongoing
projects, anything you ask it to remember. Those facts are stored in your own Odoo
database and survive across every future session with that companion (or all your
companions, if scoped global).
Open RexClaw → History → Memories to review, edit, or delete what's been remembered. Full CRUD, scoped by record rule so each user only sees their own rows. Admins see everyone's for support. The per-agent core memory cap bounds how many facts get pinned into every prompt; everything else is searched on demand. See the Tools & MCP tab for the architecture.
How does RexClaw pair with Odoo MCP Studio?
RexClaw connects to Odoo MCP Studio (apps.odoo.com/apps/modules/19.0/odoo_remote_mcp)
as a remote MCP connection. You get full ORM access, model & field restrictions, per-tool
allowlists, a web app builder, a module builder, and ECharts dashboards, all callable
from voice.
Authenticate with an API key configured in MCP Studio. Recommended: clone the RexClaw agent per user and give each clone its own API key bound to that user's Odoo account. Calls then execute under the right permissions, audit logs attribute correctly, and you can revoke one user without affecting the rest. When MCP Studio is connected, you can also disable RexClaw's native read tools and let the MCP Studio versions take over: same functionality, plus the model / field restrictions.
Can users resume a previous conversation?
Yes. Sessions are kept, so reopen any earlier one and the companion carries on. Summaries keep the older part compact without losing the thread. This works across modes too: a conversation started by voice can be continued as a text chat and vice versa, and the full history, tool activity and speaker labels carry over either way.
Why can other users not see an agent I created?
Companions are private to their owner by default. Open the companion and add users or groups on its Sharing tab.
How long are voice transcripts kept?
Transcript retention is configurable on the main configuration page (in days). A daily scheduled action purges anything older. Generated files have a separate configurable expiry.
Support & Documentation
Documentation
In-app menu Voice Companion → Configuration
Email Support
support@codemarchant.com
Website
codemarchant.com
Credits & Avatar Sourcing
Several of the sample anime avatars shipped with RexClaw Companions were modelled in
VRoid Studio, the free character-design desktop app from Pixiv Inc.
We recommend it as the easiest way to create your own original VRM characters for use
with this module: design the look, export to .vrm, upload to the Avatar
form view, done.
Looking for ready-made avatars? VRoid Hub is the community library where creators publish original VRM characters. Browse, license and download avatars for use with RexClaw.
Design your own avatar with VRoid Studio:
vroid.com/en/studio
Browse community VRM avatars on VRoid Hub:
hub.vroid.com
Animation credits to pixiv Inc.'s VRoid Project
Voice setups bundle Silero VAD (MIT, Silero Team) and Smart Turn v3.2 (BSD-2-Clause, Daily / Pipecat; log-mel features after Hugging Face Transformers, Apache-2.0), run in the browser on ONNX Runtime Web (MIT, Microsoft) loaded from jsDelivr.
Bring Your Odoo to Life
Install RexClaw Companions and let Rex, Eve, Ara, Sal and Leo (or your own custom crew) run your ship by voice.
Want to try talking with the companions first? The crew also lives in Rexclaw Companions Standalone, a free, open-source desktop version with the same voices, avatars and memory, minus the Odoo tools.
github.com/Codemarchant/rexclaw
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 52125 |
| Technical Name |
odoo_rexclaw_companions |
| License | OPL-1 |
| Website | https://codemarchant.com |
RexClaw Companions
Change Log
- 2.0 (2026-10-27)
- Sign in with Grok: each user can run their companions on their own SuperGrok / X Premium subscription (Preferences → Voice Companion), falling back to the company xAI API key when the subscription is refused or spent
- Voice & Providers: connections to OpenAI, OpenAI-compatible servers, Anthropic Claude, ElevenLabs and Fish Audio; each companion picks one voice setup (Grok Realtime, a speech-to-speech OpenAI Realtime setup, or a pipeline) and whether its text chat, summaries and delegated tasks follow that setup's brain
- Voice setups: calls as speech to text → brain → voice (xAI built in, OpenAI, OpenAI-compatible, Claude, ElevenLabs, Fish Audio; presets for Groq, OpenRouter, DeepSeek, Ollama, LM Studio, speaches, Kokoro), with Silero VAD and Smart Turn v3.2 turn-taking in the browser, sentence-by-sentence speech, interruption trimmed to the words heard, and per-companion voices and speech-tag guides per voice engine
- Rate limiting removed: the per-user token/spend counters, daily caps and their reset cron are gone
- Motion and face: procedural idle (weight shifts, arm settles, hand fidgets), speech gestures from a bundled motion library, expressive face while speaking and listening, new stretch and kick gestures, per-avatar built-in gesture whitelist, Tune model dialog (per-look face mapping and body pose)
- Menus: a History menu (sessions, memories, rapport, lore stories, recordings); custom voices move under Voice & Providers
- Stream captions in the full-screen view: the companion's words on screen as they are spoken (Look panel, off by default)
- Look: the crew's ship, the Rexmaw Deck, ships as the stock avatars' default 3D background; lighting, effects and ambience presets, art-style repaint, looping video backgrounds, per-background look defaults, camera mode with remembered per-scene placement, cursor touch physics, generated portraits and appearance descriptions
- Optional TypeSafe Jev key: face director, live memory recall while you speak, Jev group-call turn director
- Imagine: include_self (live snapshot or full-body portrait in the current outfit), feature other companions (likeness and voice), the user's own photo, image quality setting
- Capture: camera sharing alongside screen sharing, analyze_screen (capture and read in one call), capture tools as their own per-agent setting
- Conversation: speaks-first, time-aware resume, per-agent speaking pace and transcription key terms, continue_after_beat, move_around, end_turn on tool follow-ups, slow-tool and duplicate-call handling, group-call fixes
- Summaries: streamed, grow-then-compress with dated milestones, compaction on resume, manual compact and inline summary editing; xAI search watchdog settings
- Heartbeats: call-the-user mode, quiet-period trigger, session strategies (latest / isolated / persistent / fixed), companion texting, folded transcripts, notifications; example heartbeats ship inactive
- Voice messages (create_voicemail), Recording studio, sounds from links and call background music with per-avatar tracks and playlists (optional audio Python packages)
- Crew lore archive with the recall_stories tool; memory scoped per companion with BM25 recall
- Rapport (optional, off by default): a per-user score of how at ease a companion is with you, moved by the companion's adjust_rapport tool under editable rules; higher levels make it more candid, warm, informal and proactive
- 1.7 (2026-08-02)
- New record_screen_clip browser tool (voice + text): records the armed screen share for a model-supplied duration (max 90 s; the companion asks how long if you don't say) and posts the clip to the transcript as a playable video; stored in the files library (kind "screen_clip") and analyzable via delegate_task, with a red-dot recording indicator on the Share-screen button; clips include sound when "share audio" was ticked on the share (tab shares anywhere, whole-monitor on Windows)
- New take_screenshot browser tool (voice + text): arm screen sharing with one click (Share-screen button in the call header, chat header or side panel) and the companion can capture your screen on request ("look at my screen / this error / this document"); each shot is posted to the transcript, stored in the Imagine library (kind "screenshot"), and analyzed via delegate_task
- Drag & drop attachments: drop files anywhere on the chat view (text mode) or the transcript panel (voice mode) to queue them exactly like the paperclip
- The Imagine library is now a general files library: EVERY upload (image, video, PDF, anything) is stored locally with one durable ref (imagine_image_id), so "change this video" works (create_video edit_video / extend_video), documents survive xAI's file expiry (delegate_task re-uploads from the local copy automatically, reusing the cached xAI file id while it's still valid), and the model juggles one ref namespace instead of two
- "Resume last" is now the primary session action everywhere, with "Start new" beside it as the deliberate fresh-session choice
- Fixes: removing a queued attachment chip in text mode now updates instantly; resuming a compacted text session no longer risks a duplicate-transcript-key crash on send; delegate_task now presents its work in first person (no more "my analyst will describe it" immersion breaks)
- 1.6 (2026-07-31)
- New delegate_task tool (voice + text): the companion hands complex work (file/image analysis, coding, deep research) to a background text-mode analyst with the vision and document reading the realtime voice model lacks; each task runs in its own hidden, persistent workspace the agent can continue across turns (task_session_id / continue_last), with automatic server-side compaction
- Optional multi-agent delegation (per-agent toggle, off by default): routes a task to xAI's multi-agent model where several agents collaborate and a leader synthesizes, with configurable model and effort (4 or 16 agents)
- Voice-mode attachments now accept any file type: images keep feeding the Imagine tools, documents (PDF, CSV, …) upload to xAI and the companion reads them via delegate_task
- Persistent heartbeat sessions: tick "Persistent Session" to run every heartbeat in one ongoing conversation the agent remembers, or point "Heartbeat Session" at any existing session (e.g. a long-running companion thread) to have scheduled turns land there; long histories compact automatically between ticks
- Text-mode image uploads are ingested into the Imagine library with refs surfaced to the model, so "edit that photo" keeps working turns (and sessions) later; edit_image tool removed, as create_image source_images covers editing/remixing uniformly in both modes
- Typed input now interrupts the companion mid-speech like voice barge-in (the audio tail was previously left playing)
- Imagine tool polish: results carry a "the thumbnail is already in the transcript" note so companions stop reading URLs aloud; selfies steer follow-up generations toward the avatar's animated style
- 1.5 (2026-07-30)
- Grok Imagine video: change_background gains animated=true, so the companion can generate a short looping video backdrop instead of a still; both stay independently selectable in the background picker and persist per user
- New create_video tool (voice + text): short clips with native sound posted as playable cards in the transcript, with optional source_image (image-to-video), reference_images (reference-to-video), extend_video (continue a clip) and edit_video (modify a clip in place) reusing the Imagine library
- New take_selfie browser tool: snapshots the companion's live canvas (pose, outfit, call peers, optionally the backdrop) into the Imagine library so it can star in its own clips via reference-to-video
- Voice-mode image attachments: paperclip on the message box queues multiple photos as removable chips; sending delivers them with the typed text as one context note, so the companion reacts once to the whole batch and can animate the photos or feature their subjects in new clips
- New configuration: xAI Videos URL and Imagine Video Model (default grok-imagine-video; the -1.5 model adds 1080p image-to-video but does not support reference-to-video)
- Imagine library extended with video, animated-background, selfie and upload kinds; video records are served via /web/content so playback seeking works; video generation shares the per-user daily text/imagine USD cap
- 1.4 (2026-07-23)
- Unified conversations across voice and text: one session can now move freely between the two surfaces: resume a voice call as a text chat and vice-versa; both history lists show every conversation regardless of where it was last held
- Text turns after a voice interlude keep the xAI Responses chain alive: the voice-surface turns are injected as new input on top of previous_response_id (chain-preserving catch-up) instead of replaying the whole history
- Text-mode history replay now includes tool activity (as compact grounded notes) and speaker-labelled group-call lines, so cross-surface resumes lose neither tool context nor attribution
- 1.3 (2026-07-21)
- VR & mixed reality support (WebXR): "Enter VR" button in the full-screen view on immersive-capable browsers (Meta Quest, Pico); starts in passthrough mixed reality where available with an in-session Virtual/Passthrough toggle; the live voice session carries into the headset with spatial audio at the avatar's head and controller haptics
- In-headset control panel (summoned with A/X): mute, recenter, environment and exit controls plus Emotions, Gestures and Options tabs; grip squeeze in open air toggles the mic
- VR interaction options (all opt-in from the panel): move mode (point at the floor + trigger walks the character there, thumbstick rotates; per-character in group calls), spring-bone hand colliders (hands physically displace hair/clothing), touch reactions (off by default), and full-body ragdoll physics with anatomical joint limits: grab and drag limbs with the grip; detected real-room surfaces become collision geometry in passthrough where supported
- Multi-agent group calls: add companions to a live voice call from the full view (peer chips with one-click remove), or let agents invite each other via the new add_agent_to_call tool; turn-taking decided by a server-side LLM turn director on a fast non-reasoning model (configurable Turn Director Model); capped agent-to-agent chains, and no audio cross-feed (peers receive speaker-labelled context)
- Group-call history: each peer leg is its own session linked to the primary (Call Parent / Call Peer Sessions); messages carry a speaker label so resumed group calls read back correctly; invited agents resume their own last session and arrive with memory intact
- Multi-movement: every call participant's avatar shares the stage and is movable individually: number keys pick which character WASD/arrows steer in walk mode; per-character placement in VR move mode
- Combo gestures: two-character VRMA gestures on a new "Combo Gestures" avatar tab: base clip + partner VRM (linked avatar or upload) + partner clip, with per-character offset/yaw/pitch/roll, partner scale and loop; triggered by play_gesture like any gesture, and a live call peer is borrowed as the partner instead of spawning a duplicate
- 1.2 (2026-06-19)
- Automatic memory extraction: after each session compaction, companions distil durable facts and roll the conversation block up into a searchable episode, with no explicit tool call needed (toggle via "Enable memory extraction" config)
- Conversation episodes store the full verbatim transcript; the recall tool can expand an episode by id to revisit "remember when…" moments word-for-word
- Recall tag handling is now a soft ranking boost rather than a hard filter, so untagged and content-only matches are never hidden; default recall result count raised to 10
- 1.1 (2026-06-04)
- Added heartbeat scheduled action support: agents can wake on a schedule and act autonomously
- 3D scene backgrounds: avatars accept .glb environments with per-scene scale/offset/rotation
- Walk mode: WASD / arrow-key avatar movement in the full-screen view with follow camera (3D scenes only)
- Bundled "Grid Playground" stage; generated avatars now seed two stock backgrounds (charcoal preset + playground)
- Background fixes: user's picker selection survives session start; default-tagged background now outranks Imagine
- 1.0 (2026-05-26)
- Initial version of RexClaw companions module
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module