Codex
Codex works well with VibeRecall when you keep the setup boring:
- one hosted MCP server over HTTP
- one bearer token from the target project
- one small daily-driver tool subset
- one optional local bridge only if you need local dirty-worktree support
What Codex is good at here
Codex is a strong fit when you want:
- a hosted memory service shared across environments
- project-scoped context retrieval over HTTP
- optional local stdio helpers for workspace-specific flows
- explicit tool allowlists rather than a giant default surface
Recommended topology
Required
viberecall-coreover remote HTTP
Optional
viberecall-bridgeover local stdio for workspace bundle or local helper flows
The hosted core remains the source of truth for project memory. The bridge is only a helper for local workspace access patterns.
Representative Codex config
Configuration details vary slightly by Codex release, but the shape should look like this:
[mcp_servers.viberecall]
url = "https://api.<your-domain>/p/<project_id>/mcp"
bearer_token_env_var = "VIBERECALL_TOKEN"
tool_timeout_sec = 45
[mcp_servers.viberecall_bridge]
command = "vr-bridge"
args = ["serve-mcp"]
enabled = true
If you do not need local bundle or workspace-helper flows, leave the bridge disabled.
Recommended daily-driver tool subset
Enable these first:
viberecall_get_statusviberecall_get_context_packviberecall_search_memoryviberecall_get_factviberecall_get_factsviberecall_search_entitiesviberecall_get_neighborsviberecall_explain_factviberecall_save_episodeviberecall_get_index_status
Enable only when you explicitly need them:
viberecall_update_factviberecall_index_repoviberecall_working_memory_getviberecall_working_memory_patch
Keep disabled by default in normal developer profiles:
viberecall_merge_entitiesviberecall_split_entity
Safe workflow for everyday coding tasks
Start of task
- Call
viberecall_get_context_packwith the task description. - If the task is entity-centric, call
viberecall_search_entities. - Use
viberecall_get_neighborsonly after you know which entity matters.
During investigation
- save meaningful findings with
viberecall_save_episode - avoid saving every intermediate thought
- prefer one refined context query over repeated broad searches
Before a large refactor
- Call
viberecall_get_index_status. - If code context is stale, trigger
viberecall_index_repofrom a trusted workflow. - Wait for the index to become ready before assuming code context is accurate.
When correcting a stale belief
- Call
viberecall_explain_fact. - Inspect lineage and supporting episodes.
- Only then call
viberecall_update_factif correction is actually warranted.
Common Codex mistakes
- Enabling the entire tool surface when only a handful of tools are needed.
- Spamming
search_memoryinstead of starting withget_context_pack. - Using graph tools before identifying the relevant entity.
- Reusing a dead session after the backend restarts.
- Assuming the hosted core can read the local repository directly.
Local dirty workspace story
This is the most common design mistake in agent setups.
Hosted viberecall-core cannot read /Users/alice/repo or any other local path from your machine. If Codex is working on uncommitted local changes, you have two valid options:
- Push the branch and index from
repo_source.type = "git". - Use a local helper or bridge that packages the workspace and then index from
repo_source.type = "workspace_bundle".
If you need that second path, read Local Workspace Bridge.
Prompts and resources
If your Codex path or extension surfaces prompts or resources, treat them as optional convenience. The core integration should remain fully usable through tools only.