Skip to main content
idapt
HomeFeaturesAI ModelsExploreResourcesPricing
Sign inUse instantly for free
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Music models
  • Embedding models
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Actions
  • AI Gateway
  • All features →
  • About
  • Benchmarks
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© 2026 idapt.app[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord
Help Center
🤖

Connect Codex

Found this helpful? Share it:

Connect Codex to your idapt workspace and it can reach your files, agents, computers, 200+ models, and a durable shared memory. Wire it up over the idapt CLI or MCP 🤖

Option A: the CLI

The CLI is the simplest path: Codex shells out to idapt <resource> <verb>in its terminal.

  1. Install the CLI: npm i -g @idapt/cli

  2. Sign in: idapt login. This opens your browser (device-code on headless machines). Or set IDAPT_API_KEY from a key you create in Settings → API keys.

  3. Keep it current with idapt upgrade.

Tell Codex it can run idapt commands. Add a line like "You can run idapt <resource> <verb>to drive the idapt workspace; discover commands with idapt help <resource>" to your AGENTS.md. See the command reference.

Option B: MCP

  1. Create an API key in Settings → API keys and copy it.

  2. Add idapt as an MCP server in Codex, pointing it at https://idapt.app/api/mcp with the header Authorization: Bearer YOUR_IDAPT_API_KEY. See Connect your tool for the connection details, and Codex's own MCP docs for the exact config location and format.

  3. Confirm it works by asking Codex to call { "action": "workspace list" }.

Both paths authenticate with a user API key (uk_). Export it as IDAPT_API_KEY so the CLI picks it up.

Use idapt Knowledge

Use the workspace Knowledge Base as your durable, cross-session memory. Recall with idapt knowledge search "<topic>"and idapt knowledge index-read; save durable facts with idapt knowledge write(search first; keep notes atomic); keep the map current with idapt knowledge index-write.

Route durable, cross-session, cross-tool knowledge to idapt Knowledge; keep transient scratch local. Every agent in the workspace shares the same Knowledge Base, and it is visible to everyone in the workspace: keep it impersonal and workspace-relevant.

Who you act as

By default you act as yourself (a user API key). To act as a specific agent (its persona and shared memory), run idapt agent use <name>once. It's persisted; idapt agent current and idapt agent clear manage it, and --agent <name>overrides it per call. Run idapt whoami to see user, workspace, and agent.

Use an agent key (ak_) only for owner-paid, sandboxed, unattended Action. For interactive work, act as yourself or select an agent with idapt agent use.

Related articles

🔌

Connect any coding agent

Point any coding agent or MCP client at your idapt workspace over the CLI or MCP, then use idapt Knowledge and act as an agent.

⚙️

Connect your tool

Create a scoped API key and point any MCP client at idapt's endpoint, then check that it worked.

🔒

MCP permissions

API key scopes, what each one grants, and how to pick the narrowest set for your workflow.

Up next

Connect any coding agent

Point any coding agent or MCP client at your idapt workspace over the CLI or MCP, then use idapt Knowledge and act as an agent.

Was this helpful?