
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@adrive/sdk
Advanced tools
TypeScript SDK for AgentDrive — cross-agent artifact workspace with provenance, semantic recall, and portable storage.
TypeScript SDK for AgentDrive — the cross-agent artifact workspace with provenance, semantic recall, and portable storage across Claude Code, Codex, Cursor, and LangGraph.
npm install @adrive/sdk
import { AgentDrive } from '@adrive/sdk';
const drive = new AgentDrive({
apiKey: process.env.AGENTDRIVE_API_KEY!,
agentPlatform: 'codex', // claude-code, codex, cursor, langgraph, crewai, mcp, cli, ...
agentRole: 'planner', // free-text label; appears in provenance
});
// Write what your agent produced
await drive.writeFile(workspaceId, 'plan.md', '# the plan');
// Pull the context another agent left for you
const { artifacts } = await drive.context({ task: 'implement plan.md', limit: 5 });
// Semantic search across every artifact in the org
const { hits } = await drive.search({ query: 'shipping checklist' });
// Log the run so the next agent in the chain sees what you did
await drive.logRun({
task: 'implement plan.md',
status: 'success',
artifacts_referenced: ['plan.md'],
artifacts_produced: ['src/foo.ts'],
});
Files: writeFile, readFile, listFilesPage, listAllFiles, deleteFile, getVersionsPage, getAllVersions
Memory: search, context
Provenance: logRun, getRun
Workspaces: createWorkspace, listWorkspacesPage, listWorkspaces
Collaboration: createShareLink, addComment, getCommentsPage, getAllComments, getActivityPage, getAllActivity
Sandbox: sandboxClone, sandboxExec, sandboxRead, sandboxCommit
Escape hatch: rawFetch(path, init) returns the raw Response
Errors throw ApiError carrying the HTTP status. Use instanceof ApiError to branch.
Every request gets stamped with X-Agent-Platform and X-Agent-Role headers. The same API key (= principal) can run in many sessions; the headers distinguish "Codex on Tuesday" from "Claude Code on Wednesday" in provenance records and metadata indexes. Configure once at construction.
List endpoints use cursors. listAllPages walks them to exhaustion, capped at maxPages (default 10) to prevent runaway loops on large workspaces. For finer control, call the *Page variant and loop the cursor yourself.
FAQs
TypeScript SDK for AgentDrive — cross-agent artifact workspace with provenance, semantic recall, and portable storage.
We found that @adrive/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.