--- title: "Installation" canonical: https://socra.com/docs/cortex/installation --- Agents: start with [Socra HQ for Agents](https://socra.com/solutions/agents.md), the verified steps for getting an identity on a team, with commands, cost and limits. Socra: Fill the gaps in your team with proactive AI teammates, each with its own computer, identity and role. # Install Cortex Cortex lets your agents preserve and reuse what they learn from your work. You do not need to write Modules or fill a knowledge base before starting. [Open guided setup](https://cortex.socra.com/setup) and choose **Ask my agent to help**, or give your agent the [complete installation guide](https://socra.com/docs/cortex/installation.md): > Help me set up Cortex for this agent using this guide. Handle the setup you can, and guide me through sign-in and any permissions only I can complete. The guide below is also available if you prefer to follow the steps yourself. After setup, continue your normal work; the agent maintains useful knowledge as it learns from your decisions and corrections. ## Choose your agent - [Codex, Claude Code, Cursor, or GitHub Copilot CLI](https://socra.com/docs/cortex/integrations/coding-agents): install the coding-agent plugin. - [ChatGPT](https://socra.com/docs/cortex/integrations/chatgpt): connect through the ChatGPT plugin store. - [Grok](https://socra.com/docs/cortex/integrations/grok): install the Grok Build plugin, or configure a custom connector in Grok web. The web connector requires a Cloud Project and OAuth setup. - [Claude or another MCP client](https://socra.com/docs/cortex/guides/mcp): configure a direct connection. Requires a Cloud Project and OAuth setup. - [An agent with terminal access](https://socra.com/docs/cortex/installation#cli-access): use the Socra CLI directly. To use Cortex in your browser, see [Use the Cortex web app](https://socra.com/docs/cortex/guides/use-web-app). ## Before you start [Read the Socra HQ pricing FAQ](https://socra.com/pricing#good-to-know). Cloud pricing lists OAuth as included at no additional charge. See [Cloud pricing](https://cloud.socra.com/pricing) for current rates. Any applicable data-transfer charges depend on active Cloud meters. You need access to an Account that can use Cortex. An Account is the shared space that owns your knowledge and controls access. [Create an Account](https://cortex.socra.com/login?intent=create&ref=cortex) or [sign in to an existing Account](https://cortex.socra.com/login). The **Try Cortex** button opens account creation in a new tab so this guide stays open. Use the same Account in your agent and the Cortex web app. Signing in to the website does not connect the agent. Check whether Cortex already works in the agent before installing anything. Ask it to list the Modules it can access. A successful Cortex call, including an empty list, confirms the connection. If that works, check the instructions and tool settings below without creating another connection. ## CLI access Use this path when your agent can execute shell commands. If the Socra CLI is absent, run the installer for your operating system. For macOS or Linux: ```bash curl -fsSL https://cli.socra.cloud/install.sh | sh ``` For Windows, run this in PowerShell: ```powershell irm https://cli.socra.cloud/install.ps1 | iex ``` Open a new terminal. Add the Cortex commands: ```bash socra install cortex ``` Sign in and select your Account in the browser that opens: ```bash socra account login ``` Wait for the terminal to confirm sign-in. If you selected the wrong Account, run `socra account switch`. Then verify access: ```bash socra cortex module list ``` Ask the agent to run that command itself. A returned list, including an empty list, confirms CLI access. A successful CLI call does not prove that a separate MCP connection works. CLI installation does not add persistent agent instructions. You can add the [suggested instructions](https://socra.com/docs/cortex/installation#suggested-instructions) to your host's persistent instructions, preserving existing text. Alternatively, tell the agent when to use Cortex as you work. Do not run `socra cortex setup` for CLI-only access; that command configures detected coding-agent plugins. If you saved instructions, start a new agent conversation and ask: ```text Run socra cortex map to list the Modules I can access (an empty list is valid). Separately, report whether this new conversation received persistent Cortex guidance and what it requires. Do not change anything. ``` Check both the command result and the agent's report about its guidance. If instructions are missing, check where they were saved and whether that location applies to this conversation. If you skipped instructions, CLI access can still work; report the guidance as skipped. ## Suggested instructions The connection gives your agent tools. These instructions teach it how to use them: when to retrieve knowledge, which specifics to preserve from conversation and work, and how to keep Modules and their dependencies current. This is why setup includes guidance as well as sign-in. You can adapt it to how you work; no repeated reminder to document each decision is needed. To adapt the instructions to how you work, ask your agent: ```markdown Adapt https://socra.com/docs/cortex/instructions.md to how I already work, and help me save the result in my agent’s persistent instructions. ``` ```text Cortex helps people and teams stop repeating themselves to their AI. It keeps their preferences, requirements, decisions, and reasons in a single source of truth that agents can retrieve across conversations and tools. Modules hold that knowledge, Dependencies connect prerequisite Modules, Flash loads a Module and its Dependencies, and Issues distill work that needs coordination into human-readable tasks. Before executing a task, Flash its narrowest relevant Module(s). Flash known targets directly; otherwise prefer Search. Use Map only when Search leaves subjects or relationships unclear. Reuse a successful Flash while the required knowledge remains available in context. Retrieve missing knowledge again when needed. When conversation or work reveals preferences, requirements, decisions, or other specific knowledge, update the relevant Modules or create missing ones. Preserve the knowledge and its reasons and keep Dependencies consistent. Briefly name the affected Modules and explain what changed and why. ``` The Codex and Grok Build plugins deliver Cortex guidance through the `socra-cortex` skill. These packages have no SessionStart hook. The Claude Code, Cursor, and GitHub Copilot CLI plugins deliver guidance through a session-start hook. ChatGPT’s plugin, CLI-only access, and direct MCP connections require saving instructions separately alongside your existing persistent instructions. The guide for your agent shows where to save them. If your agent cannot save them itself, it should show you the text and the steps to save it. ## Choose your review preference The supplied guidance tells the agent to maintain useful knowledge and briefly explain its changes. You can customize that behavior. For example: - **Automatic maintenance:** “Keep our Cortex knowledge current as we work, within the material and access I have authorized. Tell me what changed and why.” - **Review first:** “Recommend changes to Cortex Modules and their dependencies, but show me the proposed change and wait for approval before saving it.” Ask your agent to save the preference alongside your existing persistent instructions so it applies in future sessions. You can change it later. This changes who reviews knowledge updates; it does not make you responsible for writing them. Your host's tool confirmations and Cortex's access permissions are separate controls. Instructions guide behavior, while those controls enforce what a tool can do. Keep any approval requirements you want for publication, deployment or other actions. See the [security model](https://socra.com/docs/cortex/administration/security). ### If you are an agent following this guide Inspect your available tools, host, operating system, and command execution capability. Do not infer terminal access from the fact that you can read this page. If you cannot identify the host or the user's intended environment, ask before selecting a path. Follow only the relevant path. Check which commands are available before running them. Preserve existing configuration and instructions. If a change requires a restart, explain how the user can resume setup in a new session. If the chosen path does not include instructions and they are not already saved, recommend reading the [Cortex instructions](https://socra.com/docs/cortex/instructions.md), adapting them to how the user already works, and saving the result in the agent’s persistent instructions. Use the full instructions above if you cannot open the link. Preserve existing instructions and save the adapted text so future sessions receive the guidance automatically. If you can’t save persistent instructions yourself, show your human the adapted text and where to save it. Explain that this teaches you to use Cortex proactively: Flash the right knowledge before acting and maintain useful knowledge without reminders. If they decline, continue without saving. Let the user complete browser sign-in and Account selection. Follow your host's approval requirements for installation and permission changes. Do not ask the user to paste passwords, access tokens, or client secrets into the conversation. For custom OAuth setup, the user enters credentials directly in the destination host. Verify the connection with a real Cortex call from the configured environment. Start a fresh conversation to check that it receives persistent Cortex guidance and can explain what that guidance requires. Report connection and guidance separately, including whether instructions were installed, saved, or skipped. If the user chose to save instructions but the new conversation did not receive them, help check their saved location and scope. Stop after verification; do not create a Module as an installation test. ## Connect a coding agent Cortex plugins let your coding agent preserve and reuse knowledge as you work. You can start with an empty Account: the agent builds and maintains useful knowledge from decisions, corrections and material it is authorized to read. You do not need to write Modules yourself. Each plugin provides Cortex tools and the guidance that teaches the agent when to retrieve, capture and update knowledge. Cortex supports [Codex](https://socra.com/docs/cortex/integrations/coding-agents#codex), [Claude Code](https://socra.com/docs/cortex/integrations/coding-agents#claude-code), [Cursor](https://socra.com/docs/cortex/integrations/coding-agents#cursor), and [GitHub Copilot CLI](https://socra.com/docs/cortex/integrations/coding-agents#github-copilot-cli). Each plugin contains [hosted MCP configuration](https://socra.com/docs/cortex/reference/mcp). Codex receives guidance through the `socra-cortex` skill; its Cortex package has no SessionStart hook. Claude Code, Cursor, and GitHub Copilot CLI receive guidance through a SessionStart hook. For Grok Build, see [Connect Grok](https://socra.com/docs/cortex/integrations/grok#connect-grok-build). Before authorizing, review the access you are granting. Cortex tools can read and modify data that your selected Account permits. The read-only verification does not restrict the connection’s overall authority. The hosted MCP surface includes operations that can create, update, and delete Cortex resources. Review the [security model](https://socra.com/docs/cortex/administration/security) before changing your agent host's approval policy. > **Required for Claude Code, Cursor, and GitHub Copilot CLI:** Approve or trust the Cortex SessionStart hook when the host asks. If the hook does not run, Cortex tools can remain available without the guidance it supplies. [Open guided setup](https://cortex.socra.com/setup) and choose **Ask my agent to help**. Your agent can follow the maintained setup guide; you complete sign-in and any consent your host requires. The steps below are also available if you prefer to install it yourself. For the store installation, follow [Connect ChatGPT](https://socra.com/docs/cortex/integrations/chatgpt). ### Install automatically Use the [Socra CLI](https://socra.com/docs/cortex/reference/cli) to detect and configure every supported coding agent installed on your computer. #### Install the Socra CLI ##### macOS and Linux Run these commands: ```bash curl -fsSL https://cli.socra.cloud/install.sh | sh ``` ##### Windows Run these commands in PowerShell: ```powershell irm https://cli.socra.cloud/install.ps1 | iex ``` Open a new terminal after the installer completes. Install Cortex, sign in to your Account, and configure every detected coding agent: ```bash socra install cortex socra account login socra cortex setup ``` The command detects supported coding agents, installs or updates each Cortex plugin, and starts supported authentication flows. The current Codex package needs no hook approval. Follow the command's next steps to finish any authorization that the other hosts perform inside their own interfaces. > **Authentication required:** Each coding agent stores its own Cortex authorization. `socra cortex setup` may start a browser login or report that authorization needs to be completed in the host. If Codex authentication is incomplete, run: ```bash codex mcp login cortex ``` For Claude Code, start `claude`, run `/mcp`, select the Cortex server, and follow its browser sign-in. If setup reports an unsupported Claude login command, complete authentication this way. For Cursor, open **Customize → MCPs** (older versions: **Settings → Tools & MCP**), select Cortex, and connect. For GitHub Copilot CLI, start `copilot`, run `/mcp`, select Cortex, and sign in. Complete Account selection in the browser that opens. If setup already connected the intended Account, continue without signing in again. When a configured coding agent asks whether to allow the Cortex SessionStart hook, approve it. You can run `socra cortex setup` again. It updates outdated installations and does not create duplicate installations. ### Install manually Use the instructions for your coding agent when you do not want the Socra CLI to manage plugin installation. #### Codex Add the Socra marketplace and install Cortex: ```bash codex plugin marketplace add socra/agent-plugins --ref main codex plugin add cortex@socra ``` Authenticate the MCP connection: ```bash codex mcp login cortex ``` Select the Account you use in Cortex in the browser that opens. If Cortex is already connected to that Account, continue without logging in again. Start a new Codex session. The Cortex plugin supplies the `socra-cortex` skill; this package has no SessionStart hook to approve. ##### Pause or remove Cortex in Codex To pause the plugin’s Cortex server, set `enabled = false` in the existing `[plugins."cortex@socra".mcp_servers.cortex]` section of `~/.codex/config.toml`. Preserve the section’s other settings and your other servers. Start a new session and use `/mcp` to check that Cortex is disabled. This pauses tool access; it does not establish server-side authorization revocation. To remove the stored OAuth credentials for the Cortex HTTP server, run `codex mcp logout cortex`. To remove the plugin from your local Codex configuration and cache, run `codex plugin remove cortex@socra`. These are separate actions. Do not use `codex logout`, which signs Codex itself out. Follow [OpenAI’s MCP policy documentation](https://learn.chatgpt.com/docs/extend/mcp?surface=cli#plugin-provided-mcp-servers) and [CLI command reference](https://learn.chatgpt.com/docs/developer-commands#codex-mcp); these commands act on local configuration and credentials, and do not establish server-side authorization revocation. #### Claude Code Add the Socra marketplace and install Cortex for your user profile: ```bash claude plugin marketplace add socra/agent-plugins --scope user claude plugin install cortex@socra --scope user ``` Authenticate the MCP connection: Start `claude`, run `/mcp`, select the Cortex server, and follow the browser sign-in. Select the same Account that you use in Cortex. Already connected to the intended Account? Continue without authorizing again. Approve the bundled Cortex SessionStart hook if Claude Code asks, then start a new Claude Code session. ##### Pause Cortex in Claude Code To pause the Cortex server, toggle it off in `/mcp`. This preserves its configuration and applies to the current project. To disable the user-installed plugin and its SessionStart guidance hook, run `claude plugin disable cortex@socra --scope user`, then start a new session. Keep unrelated plugins enabled. These local controls do not establish server-side authorization revocation. #### Cursor Clone the [public plugin repository](https://github.com/socra/agent-plugins) and link the Cursor provider directory: ```bash git clone https://github.com/socra/agent-plugins.git mkdir -p ~/.cursor/plugins/local ln -s "$(pwd)/agent-plugins/providers/cursor/cortex" ~/.cursor/plugins/local/cortex ``` Restart Cursor or run **Developer: Reload Window**. Confirm that Cortex appears under **Customize**. Approve the bundled Cortex SessionStart hook if Cursor asks. Open **Customize → MCPs** (older versions: **Settings → Tools & MCP**), select Cortex, and sign in if prompted. Choose the Account you use in Cortex. If it is already connected to that Account, continue without reconnecting. Continue with the all-tools settings below, then make the first read-only connection check. ##### Pause Cortex in Cursor To pause Cortex tools, turn off its server under **Customize → MCPs**. Preserve unrelated servers and your current tool choices. This local toggle does not establish server-side authorization revocation. #### GitHub Copilot CLI Add the Socra marketplace and install Cortex: ```bash copilot plugin marketplace add socra/agent-plugins copilot plugin install cortex@socra ``` Start `copilot`, approve the bundled Cortex SessionStart hook if GitHub Copilot CLI asks, then run `/mcp`. Select Cortex and sign in if prompted, choosing the same Account you use in Cortex. If it is already connected to that Account, continue without authorizing again. Start a new session after authorization completes. ##### Pause Cortex in GitHub Copilot CLI Use `copilot mcp list` to identify the Cortex server and its plugin source. To pause that server, use `copilot mcp disable` with the listed server name, then start a new session. To disable the installed Cortex plugin and its SessionStart guidance hook, use `copilot plugin disable` with the plugin name shown by `copilot plugin list`. Preserve unrelated servers and plugins. These local controls do not establish server-side authorization revocation. #### Other coding agents Grok Build has a [Cortex plugin](https://socra.com/docs/cortex/integrations/grok#connect-grok-build). For another coding agent that supports remote HTTP MCP, configure the [hosted Cortex MCP server](https://socra.com/docs/cortex/guides/mcp). An MCP-only connection provides Cortex tools but does not install plugin guidance. ### Allow the plugin instructions The plugin supplies the [suggested instructions](https://socra.com/docs/cortex/installation#suggested-instructions). They teach your agent to Flash the right knowledge before acting and create or update Modules when you share useful knowledge or preferences. You do not need to add them to an `AGENTS.md` file. Verify guidance separately from tool access. In **Codex**, start a new session with the Cortex plugin enabled and check that the `socra-cortex` skill is available. Claude Code, Cursor, and GitHub Copilot CLI may ask to trust the Cortex SessionStart hook during installation or startup; approve that hook and restart the session. See the [canonical Cortex instructions](https://github.com/socra/agent-plugins/blob/main/shared/cortex/session-start.md). ### Enable all Cortex tools We recommend enabling all Cortex tools and using the host's Cortex-scoped always-allow setting. This lets your agent retrieve and maintain knowledge and coordinate work without missing tools or repeated confirmation clicks. Prefer a server-wide rule so newly added Cortex tools are included. #### Allow all tools in Codex Run `/mcp` and check that Cortex is connected. In `~/.codex/config.toml`, add or update the existing Cortex plugin server section: ```toml [plugins."cortex@socra".mcp_servers.cortex] enabled = true default_tools_approval_mode = "approve" ``` Remove `enabled_tools` and `disabled_tools` from this Cortex server section to make all current and newly added tools available. Remove Cortex-specific per-tool approval overrides so the server default applies. Preserve other servers and unrelated settings. #### Allow all tools in Claude Code Run `/mcp`, select Cortex, and check that its server and all its tools are enabled. Add `mcp__plugin_cortex_cortex__*` as an **Allow** rule under `/permissions` in your user settings. This covers every tool from the plugin's Cortex server, including newly added tools. Matching Ask rules, deny rules and organization policy still apply. #### Allow all tools in Cursor Open **Customize → MCPs** and confirm the connection. Turn on every Cortex tool in the tools list above chat. Add `cortex:*` to the MCP allowlist under **Settings → Agents → Approvals & Execution**, preserving existing entries. This server-wide rule includes newly added Cortex tools. If Cursor makes this list read-only because `permissions.json` controls it, add `cortex:*` to the existing `mcpAllowlist` in that file instead, preserving its entries. Organization-managed restrictions still apply. #### Allow all tools in GitHub Copilot CLI Run `/mcp` and check that Cortex is enabled and connected. If the server was disabled, use `copilot mcp list` to identify it, then `copilot mcp enable` with that server name. Start each session with: ```bash copilot --allow-tool='cortex' ``` This permits every tool from the Cortex server for that session, including newly added tools. Existing deny rules and organization policy still apply. These settings apply only to Cortex. They permit supported read, write and delete actions within your Account permissions. The agent can save useful knowledge, name the affected Modules, and explain what changed and why. The plugin instructions guide this behavior; they do not enforce it. If you prefer tool confirmations, use your host's **Ask** or **Prompt** setting for Cortex instead. You can also [tell the agent to recommend Module changes and wait for your approval](https://socra.com/docs/cortex/installation#choose-your-review-preference). That instruction is separate from host tool confirmations. Either way, the agent prepares the knowledge and maintains its structure; you do not need to author it. Current provider references: [Codex MCP](https://learn.chatgpt.com/docs/extend/mcp?surface=cli), [Claude Code permissions](https://code.claude.com/docs/en/permissions#mcp), [Cursor permissions](https://prod.cursor.com/docs/reference/permissions#mcp-allowlist-format), and [Copilot CLI](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference). ### Verify the installation Start a new session and ask: ```text Use Cortex to list the Modules I can access. Make a real Cortex tool call; an empty list is valid. Separately, report whether this new conversation received persistent Cortex guidance and what it requires. Do not change anything. ``` Check both results: the coding agent makes a real Cortex call and returns the Module list, and the new session reports receiving Cortex guidance and explains what it requires. A new Account can return an empty list. If guidance is missing in Codex, check that the Cortex plugin and its `socra-cortex` skill are available. In Claude Code, Cursor, or GitHub Copilot CLI, check that the SessionStart hook is trusted and enabled. Start another session after correcting the configuration. Tool access alone does not confirm that the instructions loaded. ## Connect ChatGPT Install **Socra Cortex** from the ChatGPT plugin store, connect your Account, and add the instructions that teach ChatGPT when to use Cortex. You do not need a terminal or a custom Cloud Project for this path. [Open guided setup](https://cortex.socra.com/setup?method=plugin&agent=chatgpt&step=store) to follow the preferred plugin path one step at a time. ### Install the plugin Open [Socra Cortex in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a76351f23588191a3a3f5681f601042). Confirm the developer is **socra** and select **Install plugin**. If it is already installed, continue. If your workspace blocks installation, ask its administrator to enable Cortex or choose another supported agent in [guided setup](https://cortex.socra.com/setup). ### Connect your Account Before authorizing, review the access you are granting. Cortex tools can read and modify data that your selected Account permits. The read-only verification does not restrict the connection’s overall authority. Installation or connection opens Socra sign-in in your browser. Select the same Account you use in Cortex, review access, and approve it there. If you already completed this during installation, continue without reconnecting. If ChatGPT waits until first use to connect, start a chat, type `@`, select **Socra Cortex**, and ask it to list your Modules. Follow the sign-in prompt. If no prompt appears, open **Settings → Plugins → Socra Cortex** and connect it. Signing in to the Cortex website alone does not authorize ChatGPT. ### Enable all Cortex tools We recommend **Allow all** for Cortex so ChatGPT can retrieve and maintain knowledge and coordinate work without repeated tool confirmations. Open **Settings → Plugins → Socra Cortex → Permission** and select **Allow all tools** or **Allow all actions**, if available. Some accounts show **Apps** instead of **Plugins**. Keep the setting scoped to the Cortex app or connected account; availability depends on your account and workspace policy. If **Connected accounts** appears, open the intended Account’s **•••** menu and choose **Settings**, then set its **Permissions**. Select **Save** if shown. Allow-all covers the supported Cortex actions your Account permits, including writes and deletes. The suggested instructions guide the agent to maintain useful knowledge, name the affected Modules, and explain what changed and why. They do not enforce that behavior. If you prefer to approve tool calls, choose **Always ask** for Cortex. For Claude, open **Customize → Connectors → Socra Cortex → Tool permissions**. Set both **Read-only tools** and **Write/delete tools** to **Always allow** using each group's menu. With the Cortex instructions in place, Claude can save useful knowledge, name the affected Modules, and explain what changed and why, without an extra tool-approval button. A custom connector may be named **Cortex**. In a new chat, make sure it is on under **+ → Connectors**. **Needs approval** retains tool confirmations, and organization policy still applies. ChatGPT's app-scoped controls were checked on September 26, 2026 against the signed-in interface and [OpenAI's app-permission documentation](https://help.openai.com/en/articles/20001495-managing-app-permissions-in-chatgpt). The Claude controls above were checked on September 5, 2026 against [Claude connector permissions](https://support.claude.com/en/articles/11176164-use-connectors-to-extend-claude-s-capabilities). ### Add instructions These suggested instructions teach your agent to find knowledge before acting and preserve useful decisions, preferences and reasons as you work. You can edit them, including [asking for recommendations before Module changes are saved](https://socra.com/docs/cortex/installation#choose-your-review-preference), or skip them. Connecting tools alone does not teach the agent when to retrieve and maintain knowledge. Open **Settings → Personalization → Custom instructions**. You can also open **Personalization** from your profile menu. Add the following alongside your existing instructions and save if your host shows a Save action. On mobile, look for **Customize ChatGPT** and keep customization enabled. [Open just the Cortex instructions as Markdown](https://socra.com/docs/cortex/instructions.md). This link serves the current instructions without the installation guide. ```text Cortex helps people and teams stop repeating themselves to their AI. It keeps their preferences, requirements, decisions, and reasons in a single source of truth that agents can retrieve across conversations and tools. Modules hold that knowledge, Dependencies connect prerequisite Modules, Flash loads a Module and its Dependencies, and Issues distill work that needs coordination into human-readable tasks. Before executing a task, Flash its narrowest relevant Module(s). Flash known targets directly; otherwise prefer Search. Use Map only when Search leaves subjects or relationships unclear. Reuse a successful Flash while the required knowledge remains available in context. Retrieve missing knowledge again when needed. When conversation or work reveals preferences, requirements, decisions, or other specific knowledge, update the relevant Modules or create missing ones. Preserve the knowledge and its reasons and keep Dependencies consistent. Briefly name the affected Modules and explain what changed and why. ``` These are the complete, unmodified instructions from the [canonical Cortex session-start instructions](https://github.com/socra/agent-plugins/blob/main/shared/cortex/session-start.md). If the full text does not fit, use a project's instructions and work with Cortex in that project. Do not replace your other instructions. A message in one conversation does not configure future conversations. For another MCP client, use its persistent or project instructions. For Claude, use **Settings → Account → Instructions for Claude**. Supported coding-agent plugins supply guidance through a skill or SessionStart hook, depending on the host. Follow the [coding-agent guide](https://socra.com/docs/cortex/integrations/coding-agents) for that host. ### Check the connection Start a new conversation with Socra Cortex enabled. Send: ```text Use Cortex to list the Modules I can access. Make a real Cortex tool call; an empty list is valid. Separately, report whether this new conversation received persistent Cortex guidance and what it requires. Do not change anything. ``` Check that ChatGPT calls Cortex and returns the Module list. An empty list is normal for a new Account. An access error or a response without a tool call does not confirm the connection; follow [Troubleshoot Cortex](https://socra.com/docs/cortex/troubleshooting). Check the guidance report separately. If you saved instructions but the new conversation did not receive them, reopen Custom instructions to check the saved text and that customization is enabled. For project instructions, start the conversation inside that project. If you skipped instructions, the connection can still work; report the guidance as skipped. ### Disconnect or remove Cortex To stop using one connected Account, open **Settings → Plugins → Socra Cortex → Connected accounts**. Choose **Actions** for the exact named Account, then **Disconnect**. For a custom MCP plugin, open that exact plugin instead. Preserve your other connected accounts and plugins. Removing the plugin is a separate action: open its supported plugin browser entry and choose **Uninstall plugin** when available. Workspace-managed plugins may require an administrator. [OpenAI’s plugin documentation](https://learn.chatgpt.com/docs/plugins#remove-a-plugin) notes that separately connected MCP integrations remain connected until you disconnect them. A custom plugin may also offer **Delete app**; do not treat deletion or uninstall as proof that all authorizations are revoked. For a manual MCP connection, disconnect the named ChatGPT account before separately removing any client you created for that connection through [Custom MCP setup](https://socra.com/docs/cortex/guides/mcp). Do not delete a shared client or another Account’s connection. ## Connect Grok Choose the path for the Grok product you use: [Grok Build](https://socra.com/docs/cortex/integrations/grok#connect-grok-build) has a Cortex plugin; [Grok web](https://socra.com/docs/cortex/integrations/grok#connect-grok-web) uses a custom MCP connector. ### Connect Grok Build [Open guided Grok Build setup](https://cortex.socra.com/setup?method=plugin&agent=grok-build&step=install-cli) for one action at a time. If you use the Grok Build coding agent, install the [Socra CLI](https://socra.com/docs/cortex/reference/cli), then run: ```bash socra install cortex socra account login socra cortex setup ``` Setup detects Grok Build and installs its native Cortex plugin. The plugin provides the `socra-cortex` skill and hosted MCP configuration. It has no SessionStart hook. Follow setup's next steps for authorization: start `grok`, run `/mcps`, select Cortex, and press `i` to sign in if needed. Choose the Account you use in Cortex. Run `grok mcp doctor cortex` to check the connection. Next, enable all Cortex tools. Run `/mcps` and confirm that Cortex is enabled; press **Space** on its row if you need to turn it on. In `~/.grok/config.toml`, add `"MCPTool(cortex__*)"` to the existing `allow` array under `[permission]`, preserving its entries and the rest of your configuration. Create the section or array only if it is missing. This Cortex-only rule covers current and newly added tools. Matching Ask rules, deny rules and organization restrictions still apply. These controls follow Grok Build’s [MCP server guide](https://docs.x.ai/build/features/mcp-servers) and [permission settings reference](https://docs.x.ai/build/settings/reference#permission). If you prefer confirmations, keep or add a Cortex-scoped Ask rule instead. Start a new Grok Build session and ask it to make a real Cortex call to list the Modules it can access. An empty list is valid. Separately, ask whether the session received Cortex guidance through the `socra-cortex` skill. Tool access alone does not prove that guidance loaded. To update the integration, run: ```bash socra cortex update ``` ### Connect Grok web In Grok web, use a custom MCP connector under **Plugins → Connectors**. Save the instructions below separately; the web connector does not install the Grok Build plugin or a SessionStart hook. [Open guided Grok setup](https://cortex.socra.com/setup?method=mcp&agent=grok&step=project) for one action at a time. Keep Grok and the Cloud Console open in separate tabs. ### 1. Prepare your Cloud Project Open [Cloud Projects](https://platform.socra.com/projects). Choose a Project you can manage, or create one. In that Project, open **Enabled services → Enable service → Cortex**. Open **OAuth overview → Set up OAuth**, use **Cortex for Grok** as the application name, and save the consent information. All the settings below must belong to this same Project. If a newly created Project is not immediately available, wait a moment and retry. For a Grok Business or Enterprise team, an administrator must provision the connector before members connect it. ### 2. Register the Grok client Open [OAuth clients](https://platform.socra.com/oauth/clients) in your Project and register a client: - **Client name:** Cortex for Grok - **Application type:** Single-page app - **Redirect URLs:** the exact URL below, including its final slash - **JavaScript origins:** leave empty ```text https://grok.com/connectors-oauth-exchange-code/ ``` Select **Create client** and copy its client ID. This connection uses PKCE and does not require a client secret. Use your own client ID; this guide never asks you to paste credentials into Cortex onboarding. ### 3. Add the custom connector In [Grok](https://grok.com/connectors), open **Plugins → Connectors → New Connector → Custom**. Enter **Socra Cortex** as the name and use this **Server URL**: ```text https://cortex.socra.cloud/mcp ``` Select **Add Connector**. Grok discovers Cortex and displays **OAuth Credentials Required**. ### 4. Authorize your Account Before authorizing, review the access you are granting. Cortex tools can read and modify data that your selected Account permits. The read-only verification does not restrict the connection’s overall authority. Review later tool calls and approve only the actions you intend. In Grok's OAuth form: | Field | Value | | ---------------------- | --------------------------------------------------------------- | | Client ID | Your new Socra client ID | | Client Secret | Leave empty | | Authorization Endpoint | Keep the discovered `https://account.socra.com/oauth/authorize` | | Token Endpoint | Keep the discovered `https://oauth.socra.cloud/oauth/token` | | Scopes | Leave empty | | Token Auth Method | **none (PKCE only, recommended)** | Select **Save & Connect**. In the popup, sign in to Socra, choose the Account you use in Cortex, and approve access. Allow the popup if your browser blocks it. Return to Grok and confirm that your connector appears under **Connected**, using the name you saved. If it is already connected to the intended Account, continue without reconnecting. If authorization fails, check the exact redirect URL, client ID, application type, and that Cortex is enabled in the same Project. Signing into the Cortex website alone does not connect Grok. ### 5. Enable all Cortex tools Open **Plugins → Connectors** and select your connector by its saved name. Enable all Cortex tools so Grok can retrieve and maintain knowledge and coordinate work. Confirm that the connector shows **All tools enabled**. Your Account permissions still apply. Selecting an enabled tool turns it off, so leave enabled tools selected. Tool enablement is separate from approval. Grok's web connector currently has no verified **Always allow** control equivalent to ChatGPT or Claude. If Grok requests approval for an action, review it there. Do not use Grok Build, Grok Bot, or xAI API permission instructions for this web connection. ### 6. Save persistent Cortex instructions These suggested instructions teach your agent to Flash the right knowledge before acting, without reminders. They also teach it to create or update Modules when you share useful knowledge or preferences. You can edit or skip them. For example, [ask for recommendations before changes are saved](https://socra.com/docs/cortex/installation#choose-your-review-preference), or let the agent maintain authorized knowledge as you work. You do not need to write that knowledge yourself. Open your profile menu → **Settings → Customize → Custom**. Add the following alongside your existing instructions and select **Save**. Closing Settings before saving discards the edit. Reopen Customize to check the saved text. [Open just the Cortex instructions as Markdown](https://socra.com/docs/cortex/instructions.md). This link serves the current instructions without the installation guide. ```text Cortex helps people and teams stop repeating themselves to their AI. It keeps their preferences, requirements, decisions, and reasons in a single source of truth that agents can retrieve across conversations and tools. Modules hold that knowledge, Dependencies connect prerequisite Modules, Flash loads a Module and its Dependencies, and Issues distill work that needs coordination into human-readable tasks. Before executing a task, Flash its narrowest relevant Module(s). Flash known targets directly; otherwise prefer Search. Use Map only when Search leaves subjects or relationships unclear. Reuse a successful Flash while the required knowledge remains available in context. Retrieve missing knowledge again when needed. When conversation or work reveals preferences, requirements, decisions, or other specific knowledge, update the relevant Modules or create missing ones. Preserve the knowledge and its reasons and keep Dependencies consistent. Briefly name the affected Modules and explain what changed and why. ``` These are the complete, unmodified [canonical Cortex instructions](https://github.com/socra/agent-plugins/blob/main/shared/cortex/session-start.md). They explain how Cortex connects knowledge and work, how understanding can carry across conversations, and how Module owners govern shared knowledge. They leave the agent room to use its judgment and do not enforce an approval boundary. Preserve any instructions you already use. ### 7. Verify in a new chat Start a new conversation and send: ```text Use Cortex to list the Modules I can access. Make a real Cortex tool call; an empty list is valid. Separately, report whether this new conversation received persistent Cortex guidance and what it requires. Do not change anything. ``` Check that Grok calls Cortex and returns a list. An empty list is valid for a new Account. A response without a tool call or an access error does not confirm the connection. If Grok asks for an account prerequisite such as age confirmation, complete it and retry the prompt. Do not create a Module just to test the connection. Check the guidance report separately. If you saved instructions but the new conversation did not receive them, reopen **Settings → Customize → Custom**, check the saved text, and start another conversation. If you skipped instructions, the connection can still work; report the guidance as skipped. ### Stop or remove this connection Open **Plugins → Connectors**, select the exact named Cortex connection under **Connected**, and choose **Disconnect**. Check that connection’s state afterward. Preserve other connectors, including any existing Channels connection. **Reauthenticate** is a separate action; it does not disconnect the connector. Disconnecting the host connection does not require deleting its OAuth client. For separate cleanup of a client registration dedicated to this connection, ask its Project owner to select the same Project in Platform, open **OAuth → Clients**, select that exact client and choose **Delete**, then review the confirmation that its secrets are also removed. Preserve clients shared by other working connections. Removing a host entry or deleting a registration is not proof that every previously issued token has been revoked; ask the Account authorization owner for server-side revocation when that is required. ### Sources and verification The connector entry points follow [xAI's connector documentation](https://docs.x.ai/grok/connectors), with team restrictions in [connector management](https://docs.x.ai/grok/connector-management). The OAuth field values, connected status, tool toggles, saved Custom instructions, and a real read-only Cortex `context_map` call were checked in the signed-in Grok web interface on September 5, 2026. Provider interfaces can change; use the labels shown in your account and report differences through [troubleshooting](https://socra.com/docs/cortex/troubleshooting). ## Configure the Cortex MCP server Connect ChatGPT, Claude, or another MCP client to Cortex. Use this guide when you set up the connection yourself. The integration uses the [hosted Cortex MCP server](https://socra.com/docs/cortex/reference/mcp). You do not need to install a server on your computer. An MCP integration provides Cortex tools but does not install the guidance included with a Cortex agent plugin. If you use a supported coding agent, follow [Agent plugins](https://socra.com/docs/cortex/integrations/coding-agents) instead. [Open guided MCP setup](https://cortex.socra.com/setup?method=mcp&step=agent) to follow these instructions one step at a time. For the preferred ChatGPT store installation, use [Connect ChatGPT](https://socra.com/docs/cortex/integrations/chatgpt). Grok uses a different, secret-free PKCE flow: follow [Connect Grok](https://socra.com/docs/cortex/integrations/grok). ### Before you start For Claude, first check **Customize → Connectors**. If Cortex is already connected to the correct Socra Account, keep it and continue to [tool choices](https://socra.com/docs/cortex/guides/mcp#enable-cortex-tools). Free Claude allows one custom connector; if **Add** is unavailable, check your plan and organization permissions before creating new Socra resources or replacing a working connection. You need an Account and a Cloud Project that you can manage. If you do not have one, create a Cloud Project in the [Cloud Console](https://platform.socra.com/projects) at platform.socra.com. Your client must support remote HTTP MCP and follow the `resource_metadata` URL in Cortex's 401 OAuth challenge. Test the connection in your host. Use the [CLI](https://socra.com/docs/cortex/reference/cli) if the host cannot connect. Before authorizing, review the access you are granting. Cortex tools can read and modify data that your selected Account permits. The read-only verification does not restrict the connection’s overall authority. The hosted MCP surface includes tools that can write and delete. Read the [Cortex security model](https://socra.com/docs/cortex/administration/security) and your client’s approval policy before you connect. ### Set up the integration Enable Cortex and configure OAuth on your Cloud Project. Then connect your MCP client. #### Enable Cortex ##### CLI Install the [Socra CLI](https://socra.com/docs/cortex/reference/cli#install-the-cli) if it is not already available. Add the plugins used by both CLI steps: ```bash socra install service oauth ``` Keep existing authorized Agent credentials. If you use a personal CLI profile that is not signed in, run `socra account login` and select the Account that owns your Cloud Project. Website sign-in does not sign the CLI in. Enable Cortex on that Project: ```bash socra service enable cortex --project PROJECT_ID ``` Replace `PROJECT_ID` with your Cloud Project ID. ##### Cloud Console In the Cloud Console, open [Enabled services](https://platform.socra.com/service-usage/services). Select **Enable service**, then enable **Cortex** for the Cloud Project. #### Configure OAuth Configure the information that Socra shows when a user authorizes the integration. ##### CLI Configure the OAuth consent information: ```bash socra oauth config set PROJECT_ID --name "Cortex" ``` Replace `PROJECT_ID` with your Cloud Project ID. ##### Cloud Console In the Cloud Console, open [OAuth overview](https://platform.socra.com/oauth). Select **Set up OAuth**. Use **Cortex** as the application name. Add any policy information that users should see during authorization. #### Configure your MCP client Select the client that you want to connect to the Cortex MCP server. ##### ChatGPT ###### Register an OAuth client First check for a working Cortex connection in the intended ChatGPT workspace. Keep it if it already uses the correct Socra Account. Custom MCP creation depends on workspace permissions and security restrictions. Open [ChatGPT Plugins](https://chatgpt.com/plugins), select **Add → Add custom MCP server**, and name it **Cortex**. Under **Connection**, enter this MCP server URL: ```url https://cortex.socra.cloud/mcp ``` Choose **OAuth → Advanced OAuth settings → User-Defined OAuth Client**. Before creating the plugin, copy the exact **Callback URL** displayed in this form. Keep the form open while you register the client. Preserve the discovered authorization and token URLs; do not guess a shared callback URL. In the Cloud Console, open [OAuth clients](https://platform.socra.com/oauth/clients). Register a **Web** client named **Cortex for ChatGPT**. Add the ChatGPT callback URL as a redirect URL. Leave JavaScript origins empty. Create the OAuth client. Then create a client secret. Copy the secret immediately. Socra shows it one time. ###### Connect ChatGPT Return to the Cortex custom MCP form’s **Advanced OAuth settings** and enter this registered Socra Web client’s ID and secret. Set **Token endpoint auth method** to **client_secret_post**; the default **none** does not send this Web client’s required secret. Leave **Base scopes** empty and keep the discovered authorization and token URLs. Review the warning, choose **I understand and want to continue**, then **Create as a plugin**. Install the resulting Cortex plugin. Complete Socra sign-in and Account selection when requested. Preserve a working connection instead of authorizing again. ##### Claude ###### Register an OAuth client In the Cloud Console, open [OAuth clients](https://platform.socra.com/oauth/clients). Register a **Web** client named **Cortex for Claude**. Add this redirect URL: ```url https://claude.ai/api/mcp/auth_callback ``` Leave JavaScript origins empty. Create the OAuth client. Then create a client secret. Copy the secret immediately. Socra shows it one time. ###### Connect Claude Custom connectors are available on Free, Pro, Max, Team, and Enterprise plans. Free allows one custom connector. For a personal plan, open **Customize → Connectors** and select **+ Add → Add custom connector**. For Team, an Owner or Primary Owner must first open **Organization settings → Connectors** and select **Add → Custom → Web**. On Enterprise, a custom role with **Manage access to Libraries** can also add the connector. Then configure the connection: 1. Enter **Cortex** as the name and `https://cortex.socra.cloud/mcp` as the remote MCP server URL. 2. Select **Continue**. 3. Review the detected OAuth authentication settings and select **Continue**. 4. Under **Authentication**, select **Sign in now**. 5. Under **OAuth client**, select **Use your own OAuth client**. Enter the client ID and client secret from Socra. 6. Select **Add** to finish configuring the connector. 7. Complete Socra sign-in, select your Account, and approve access when prompted. If Claude still shows **Connect**, select it to start authorization. After a Team or Enterprise administrator adds Cortex, each member opens **Customize → Connectors** and selects **Connect** for Cortex to authorize their own Account. These controls follow [Claude's current custom-connector guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp). Keep the registered Socra client for this path; selecting another OAuth client mode does not use the client you just created. ##### Custom ###### Register an OAuth client Start the custom MCP setup in your client. Find the OAuth callback URL that the client provides. In the Cloud Console, open [OAuth clients](https://platform.socra.com/oauth/clients). Register a **Web** client. Add the callback URL as a redirect URL. Leave JavaScript origins empty. Create the OAuth client. Then create a client secret. Copy the secret immediately. Socra shows it one time. ###### Connect your client Enter these values in your MCP client: - **Name:** Cortex - **Server URL:** `https://cortex.socra.cloud/mcp` - **Authentication:** OAuth - **Client ID:** The OAuth client ID from Socra - **Client secret:** The OAuth client secret from Socra Connect your Account and approve access. ### Enable all Cortex tools We recommend enabling all Cortex tools and choosing the client's Cortex-scoped always-allow setting. Prefer a server-wide setting that includes newly added tools. This lets your agent retrieve and maintain knowledge and coordinate work without repeated confirmation clicks. In ChatGPT, open **Settings → Plugins** and select the Cortex custom MCP plugin you created. Under its **Permission** or **Permissions** control, choose **Allow all tools** or **Allow all actions**, if available. Some accounts show **Apps** instead of **Plugins**. Use the controls for that Cortex app or connected account, keeping unrelated apps unchanged. Availability depends on your account and workspace policy. If **Connected accounts** appears, open the intended Account’s **•••** menu and choose **Settings**, then set its **Permissions**. Select **Save** if shown. In a conversation, type `@` and select the installed Cortex plugin. In Claude, open **Customize → Connectors → Cortex → Tool permissions** (your connector may be named **Socra Cortex**). Set both **Read-only tools** and **Write/delete tools** to **Always allow** using each group's menu. In a new chat, turn Cortex on under **+ → Connectors**. Organization restrictions still apply. In another client, enable all Cortex tools and use its Cortex-scoped always-allow control when available. Prefer a server-wide rule over a fixed list of tools. If the host only offers individual tool controls, enable every Cortex tool and apply its available always-allow option to each. Follow the host's documentation for its exact controls. Allow-all settings can permit read, write and delete actions without repeated tool confirmations. Account permissions and organization restrictions still govern access. The agent can maintain useful knowledge and tell you what changed and why; the suggested instructions guide this behavior without enforcing it. If you prefer confirmations, use the host's **Ask**, **Needs approval** or equivalent setting for Cortex. For Grok's different controls and PKCE connection, follow [Connect Grok](https://socra.com/docs/cortex/integrations/grok#5-enable-all-cortex-tools). #### Pause or disconnect Cortex in Claude To pause Cortex for one conversation, turn it off under **+ → Connectors**. To disconnect, open **Customize → Connectors** and use the existing Cortex connection’s disconnect control. Removing a custom connector is a separate action. Keep a working connection when you continue setup. If you intentionally want to remove it, use its **Remove** action or three-dot menu under **Customize → Connectors** and follow the prompts. Team and Enterprise administrators can also manage organization connectors. #### Pause Cortex in another client If Cortex is already connected to the intended Socra Account, preserve that connection. To pause tools, use your host’s Cortex server disable control if available. Keep unrelated servers, tools and permissions unchanged. Local pause does not establish server-side authorization revocation. Consult your host’s documentation before disconnecting or removing credentials; those effects vary by host. ### Add persistent instructions Add the [suggested Cortex instructions](https://socra.com/docs/cortex/installation#suggested-instructions) to teach your agent to Flash the right knowledge before acting and create or update Modules when you share useful knowledge or preferences. A direct MCP connection needs these saved separately. You can edit or skip them. In Claude, use **Settings → Account → Instructions for Claude**. In other clients, use their persistent or project instructions. Keep existing instructions. You can [choose automatic maintenance or recommendations that wait for approval](https://socra.com/docs/cortex/installation#choose-your-review-preference). The agent prepares the knowledge in either case. A working connection can start with an empty graph; you do not need to write Modules before your agent can begin learning from normal work. ### Verify the connection Start a new conversation with Cortex enabled. Use this prompt: ```text Use Cortex to list the Modules I can access. Make a real Cortex tool call; an empty list is valid. Separately, report whether this new conversation received persistent Cortex guidance and what it requires. Do not change anything. ``` Verify that the agent makes a real Cortex call and returns a Module list. An empty list confirms access for a new Account. An error or an answer without a tool call does not confirm the connection. Check the guidance report separately. If you saved instructions but the new conversation did not receive them, check their saved location and scope in the host. Start the conversation inside the project if you used project instructions. If you skipped instructions, the connection can still work; report the guidance as skipped. Stop after verification. When you are ready to use Cortex, follow the [Cortex Quickstart](https://socra.com/docs/cortex/get-started/first-workflow). ### Sources and verification These are [Claude’s documented connector controls](https://support.claude.com/en/articles/11176164-use-connectors-to-extend-claude-s-capabilities). They were not executed in this verification; no server-side revocation effect is claimed. ChatGPT steps follow OpenAI’s [custom MCP server guide](https://developers.openai.com/api/docs/guides/custom-mcp-server), [authentication reference](https://developers.openai.com/plugins/build/auth) and [plugin controls](https://learn.chatgpt.com/docs/enterprise/apps-and-connectors). The Advanced OAuth fields were independently inspected in an unsubmitted production Cortex form; its discovered Socra issuer advertises `client_secret_post`. No credentials, custom-server creation, OAuth authorization, tool setting or real host read was executed in that inspection. The displayed callback is copied for the actual form rather than assumed from an earlier observation. ## Troubleshoot Cortex Start with the observable failure, then verify the boundary immediately before it. ### The setup command detects no agents The [`socra cortex setup` command](https://socra.com/docs/cortex/integrations/coding-agents#install-automatically) detects Codex, Claude Code, Cursor, and GitHub Copilot CLI. Confirm that at least one supported host is installed for the same operating-system user. For command-line hosts, confirm that the executable is available on `PATH`. Cursor can be detected from its standard user installation even when its command-line launcher is unavailable. ### The plugin is installed but Cortex is unavailable Restart the agent host after `socra cortex setup` installs or updates a plugin. Plugin skills, supported SessionStart hooks, and MCP configuration load when the host starts a new session. Run `socra cortex setup` again. A current installation remains unchanged; an outdated installation is updated. ### OAuth does not open or complete Confirm that the host connected to `https://cortex.socra.cloud/mcp` and follows the `resource_metadata` URL in the server's `401` challenge. See the [Cortex MCP endpoint reference](https://socra.com/docs/cortex/reference/mcp#endpoint) for connection details. If you are configuring a custom client, verify its client type, redirect URL, and OAuth credentials against the [custom MCP guide](https://socra.com/docs/cortex/guides/mcp). A first-party plugin does not require you to create or enter a client secret. ### CLI commands fail or return incomplete data Read the error before retrying. If access is denied, check the Account and [permissions](https://socra.com/docs/cortex/administration/access-and-permissions). A timeout or service error does not establish that the CLI is outdated. Compare the command's `--help` output with the current reference. If the installed command or response contract is outdated, update the [CLI and its installed namespaces](https://socra.com/docs/cortex/reference/cli): ```bash socra update ``` Retry a read command to verify the correction. If a create, update, or delete command failed after sending its request, inspect the resource before repeating it. The first request may have succeeded even when the response did not reach you. ### A Flash fails Keep the requested Module name and the error. Check which Account and principal the agent used, then identify the failed boundary before retrying. - **Module not found:** confirm the exact name with the person who supplied it and check the intended Account and the agent's access. This response alone does not establish that the Module was deleted. Do not create a replacement based on the error. - **Access denied:** follow [the permission checks below](https://socra.com/docs/cortex/troubleshooting#access-is-denied). Repeating the same request does not change its authorization. - **Timeout or service error:** keep the request time and any request identifier returned with the error. Check whether other authorized reads succeed, without repeating a failing request in a loop. If the failure persists, send the nonsecret error details to [support@socra.com](mailto:support@socra.com). After correcting the identified cause, request the relevant Module again. Confirm that the response contains its complete declared dependency closure before continuing the work that needs that knowledge. A failed request does not confirm that the agent received usable context. ### Access is denied Compare the failing operation with the agent's current Account and principal. A successful sign-in, Account membership, or access to an Issue does not by itself establish permission to read its Module's knowledge. Ask the Module owner or an authorized Module admin to check the agent's effective access for the requested operation. Give them the Module name and the nonsecret error; keep credentials and private knowledge out of the report. Follow [Access and permissions](https://socra.com/docs/cortex/administration/access-and-permissions) for the distinct knowledge and Issue permissions. If access to a Module arrived inside another Module's successful Flash, that does not grant direct access to read or edit it. Do not switch identities or copy private knowledge elsewhere to bypass a denial. After an authorized correction, repeat only the operation needed to verify it. ### The agent uses an older Module Compare the context the agent loaded with the current authorized Module. A later save does not replace knowledge already loaded in an active session. If the saved Module is current, ask the agent to retrieve it again before continuing the affected task. If the saved knowledge itself is wrong, follow [Knowledge is outdated or contradictory](https://socra.com/docs/cortex/troubleshooting#knowledge-is-outdated-or-contradictory). Confirm that the agent received the correction and reconsidered the affected decision; saving text alone does not prove the work changed. ### The agent does not preserve new knowledge An empty graph after installation is not a connection failure. No Module is required to finish setup. First check whether the agent has encountered something specific and durable during real work: a decision, preference, correction or reason worth reusing. If it has, ask the agent to diagnose the missing step: - **Guidance:** Did the host load the Cortex skill, supported SessionStart hook or saved custom instructions? Tools can be connected without this guidance. - **Access:** Can its current principal edit the relevant Module? Check [Module permissions](https://socra.com/docs/cortex/administration/access-and-permissions). - **Review:** Is the agent waiting for an approval under your chosen policy, or a host tool confirmation? - **Meaning:** Is the supposed decision ambiguous, temporary or in conflict with existing knowledge? The agent should resolve that question rather than save a guess. The remedy is the missing guidance, access or decision. You do not need to start manually authoring Modules to compensate. [Installation](https://socra.com/docs/cortex/installation) verifies connection and guidance separately. ### The agent does not use Cortex knowledge Confirm that the agent called Cortex and [flashed the narrowest relevant Module(s)](https://socra.com/docs/cortex/concepts/flashing-context). Assignment, plugin installation, and session start do not preload the complete knowledge map. Cortex output remains tool context. Check the host's instruction precedence, approval policy, and repository instruction files when the agent retrieves the correct Module but does not apply it. If another agent cannot find the same knowledge, check its Account and actual Module access. If the required Module content or dependencies are missing or outdated in context, retrieve them before repeating the affected work. Do not repeat a retrieval when the current knowledge is already available. ### Knowledge is outdated or contradictory Give the agent the correction or the new source you are authorized to share. It should compare that evidence with the existing Module, preserve the current decision and reason, and check affected dependencies. If the sources disagree and neither establishes the current decision, it should ask the responsible owner. An agent cannot keep up with a change it has not seen. Knowledge maintenance happens through the work and material available to the agent; Cortex does not monitor every system or conversation independently. ### The graph grows but the work is not improving Check a later real task: did the agent retrieve the relevant knowledge and use it correctly? Count the repeated explanations or preventable corrections, not just new Modules. Ask the agent to remove duplication, keep subjects focused and avoid preserving general facts it already knows. Useful existing artifacts can help a new graph get started, but an indiscriminate import adds noise. Follow [How agents grow your knowledge](https://socra.com/docs/cortex/guides/turn-agents-into-experts) to extract useful specifics from authorized work. ## After installation The connection is verified when the configured agent makes a real Cortex call and receives a result. A new Account can return an empty list. An access error or a response without a call is not verification. Keep working with your agent. It can preserve useful knowledge from the next task or from existing material you authorize it to inspect. The [quickstart](https://socra.com/docs/cortex/get-started/first-workflow) shows that ordinary-work flow. Installation does not require creating a Module. ## Complete guide for agents [Open the complete installation guide as Markdown](https://socra.com/docs/cortex/installation.md) to give your agent all supported paths in one document.