Skip to content

Connect your agent

Connect Ridge once to a workspace, then let the agent derive task-specific access for its children. The same resources and policy are available through MCP, CLI, and Python; integrations do not create another authorization system.

Choose the connection

Start with client setup for Codex, Claude Code, Claude Desktop, and VS Code/Copilot, or the LangChain agent. The local plugin packages setup guidance with your installed server. The agent-led handoff is a runnable parent/child workflow for terminal clients.

Surface Use it for Start here
Local stdio MCP An agent discovers resources and invokes Ridge tools MCP setup
CLI Terminal agents, scripts, and explicit process launches CLI reference
Python Programmable hosts that own child lifecycle and supervision Python API

Install Ridge on the host that runs the frontend and select the workspace with an absolute configuration path. That host needs the existing backend access and must remain available for its background work. Resources themselves can be remote. Use the matching vX.Y.Z source tag for repository-owned skills, plugin builders, and integration examples so they agree with the installed release.

Give each child its own access

The parent agent calls create_scope with the resources and operations needed for a task. The harness binds a separate child connection using the returned handle through RIDGE_SCOPE_TOKEN or a protected token file. The child verifies its identity with inspect_access before work.

A shared operator connection does not become scoped because a prompt names a subagent. The host must support a distinct binding per child. Read delegating work for lifecycle and the runnable handoff for process plumbing.

Setup and troubleshooting

The ridge-setup skill helps an agent configure a workspace or derive access in an existing one. It is repository-owned, not automatically installed by the Python package.

  • Configuration rejected: run ridge config validate in operator mode. This validates the loader, not backend connectivity.
  • Wrong access or resources: inspect the child's effective scope. Check its launch environment/token-file selection; do not clear a failed binding.
  • Tool approval denied: the host may have stopped the call before Ridge. Host approval and Ridge permission are separate.
  • Resource busy: inspect claims and reservations; a different child name does not create an independent resource.
  • Job no longer visible: verify the scope is active and has the required grants. An authorized parent can supervise closed descendants' jobs.