Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@strideos/agent-bridge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strideos/agent-bridge

Connect your local machine to Stride's AI agent workforce dashboard. Runs Claude Code, Codex, or other CLI agents locally using your subscription.

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

@strideos/agent-bridge

Connect your local machine to the Stride AI agent workforce dashboard. Run Claude Code, Codex, or other CLI agents locally using your own subscription while managing them from the Stride web dashboard.

Quick Start

npx @strideos/agent-bridge connect --token YOUR_TOKEN

Setup

1. Get a connection token

  • Go to your Stride dashboard at https://app.strideagents.com
  • Navigate to Build > Sandboxes
  • Under Local Bridges, click New Bridge
  • Give it a name (e.g., "Josh's MacBook")
  • Copy the connection token

2. Connect your machine

# Using npx (no install needed)
npx @strideos/agent-bridge connect --token YOUR_TOKEN

# Or install globally
npm install -g @strideos/agent-bridge
stride-bridge connect --token YOUR_TOKEN

3. Create an agent with Local Bridge

  • Go to Build > Agents and click Create Agent
  • Under Sandbox, select Local Bridge (your machine)
  • Pick your bridge from the dropdown
  • Create the agent

Now when the agent receives tasks from the dashboard, they'll execute on your machine using your local Claude Code CLI.

Options

stride-bridge connect [options]

Options:
  -t, --token <token>        Bridge connection token (required)
  -s, --server <url>         Stride server URL (default: https://app.strideagents.com)
  -c, --command <cmd>        Agent CLI to use (default: claude)
  -p, --poll-interval <ms>   Poll interval in ms (default: 5000)

How It Works

Stride Dashboard (web)
    │
    │  "Run this prompt"
    ▼
Your Machine (this bridge)
    │
    │  spawns: claude -p "prompt" --output-format json
    ▼
Claude Code CLI (your subscription)
    │
    │  result + cost
    ▼
Stride Dashboard (displays result)
  • The bridge connects to your Stride server and registers itself
  • It polls for pending commands assigned to agents using this bridge
  • When a command arrives, it spawns the Claude Code CLI with the prompt
  • Output streams to your terminal AND back to the dashboard
  • Results, cost, and token usage are reported to the dashboard

Important Notes

  • Your credentials stay local. Stride never sees your Anthropic API key or OAuth tokens.
  • Usage counts toward your subscription. If you're on Claude Pro/Max, this uses your subscription hours.
  • The bridge must be running for local agents to work. When you close the bridge, agents go idle until you reconnect.
  • One bridge per machine. Each bridge represents a single machine's connection.

Using with other agents

# Use Codex instead of Claude
stride-bridge connect --token YOUR_TOKEN --command codex

# Use a custom agent CLI
stride-bridge connect --token YOUR_TOKEN --command "my-agent"

Programmatic Usage

import { AgentBridge } from "@strideos/agent-bridge"

const bridge = new AgentBridge({
  token: "your-token",
  serverUrl: "https://app.strideagents.com",
  agentCommand: "claude",
})

const connection = await bridge.connect()
console.log("Connected:", connection.name)

// Bridge runs until disconnected
process.on("SIGINT", () => bridge.disconnect())

Keywords

ai

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts