A technical guide to architecting and shipping AI agents that act on live web data — covering tool design, failure modes, and production dec

Session Identity and Concurrency Isolation as Architectural Preconditions for Agent Fleet Scraping

Isolating IPs alone fails; agent fleets need four identity layers.

· 8 min read
Cover illustration for “Session Identity and Concurrency Isolation as Architectural Preconditions for Agent Fleet Scraping”
Tool and API Design · November 12, 2026 · 8 min read · 1,864 words

A web scraping API for agents should bind each agent to its own isolated network, browser, application, and memory state for the full session. An API that handles requests but lets agents share those identities cannot reliably keep the fleet isolated, even when each request succeeds.

Why agent fleet scraping is a session architecture problem, not a proxy or bandwidth problem

A single browser agent needs one browser session. A fleet of hundreds needs hundreds of distinct identities at the same moment, because parallelism is the point of running a fleet. That requirement is independent of data volume. A workload can move little data yet need thousands of clean sessions at the same time.

More proxy capacity addresses only part of that demand. Proxy rotation changes network identity but leaves browser fingerprints, application state, and agent memory untouched. When session management is treated as an operational setting, failures remain that more bandwidth cannot fix. The architectural requirement is to isolate all four layers together, and the failure at each layer explains why.

The four identity layers every agent session must hold simultaneously

Network identity is the IP assigned to an agent for its session. Browser identity is the machine persona exposed through attributes including GPU renderer, screen dimensions, CPU core count, timezone, language, and fonts. These identities must agree without being shared across concurrent agents. A distinct IP does not make a shared browser persona distinct.

Application identity consists of cookies, localStorage, session tokens, and authenticated state. It tells a site which transaction or logged-in identity goes with the agent’s work. Agent state sits deeper still. It includes persistent memory that can influence decisions across steps and sessions, so separating website login state does not by itself separate agent behavior.

Together, these layers define one coherent transaction identity. Their boundaries must hold through session creation, execution, persistence, restoration, and termination. Each layer can be isolated on its own while its connection to another remains broken. Treating them as separate procurement decisions rather than one per-agent specification leaves their connections ungoverned across the fleet.

What breaks at the network layer when IP identity is shared across concurrent agents

Hundreds of concurrent sessions need hundreds of IPs available together. Sequential rotation cannot satisfy that requirement. If the pool is too shallow, the fleet must either lose parallelism or reuse network identities across agents.

Provider connection limits impose a separate constraint. DataImpulse supports a default concurrency allowance of 2,000 threads on its residential gateway, raisable on request. That allowance is distinct from the available IP pool and the amount of bandwidth purchased. A connection limit below peak fleet demand throttles the workload even when data usage is low.

Distinct IPs also need sufficient geographic and ASN distribution. Running concurrent sessions in one region or subnet can create burst patterns that look suspicious, even when each session has its own address. Pricing shapes this architecture too, because per-connection pricing charges for parallelism, while per-GB pricing charges for how much traffic flows regardless of the connection count. For fleet buyers, maximum concurrent sessions and the pool behind them come before the per-GB rate.

What breaks at the browser layer when fingerprints are not isolated per session

An isolated IP does not rescue an incoherent browser fingerprint. Anti-bot systems check how machine attributes fit together. A GPU string inconsistent with the reported screen resolution can flag a session regardless of its IP. The browser must present a believable whole.

Plugin-based stealth and monkey-patching leave a different weakness. Changes applied on top of a standard headless browser can leave readable seams while the browser’s native-code layer still exposes the underlying automation identity. Scrapeless Agent Browser describes its approach as engine-level fingerprinting built into a real browser engine.

Fleet isolation also depends on when personas are generated. Creating a persona when each session starts avoids the patterns that lazy generation or reuse can leave across concurrent sessions. Persistence solves a different problem, namely reducing repeated authentication. Stored browser profiles still need per-agent ownership and re-keying on restoration, or replay can make supposedly separate agents converge on the same identity.

What breaks at the application layer when session state is not isolated between agents

Application-state leakage can be worse than a visible block. Shared cookies, tokens, localStorage, or authenticated profiles can conflate distinct transactions while requests continue to succeed. There may be no HTTP error, block, or retry. The pipeline receives data without a signal that the transaction identity was wrong.

Keeping login state alive across steps is not the problem. Sharing that state across agents is the problem. Scrapeless describes cloud-stored profiles as encrypted at rest and isolated per workspace, with a profile pool for identity rotation. Workspace separation and encryption help keep profiles apart, but the fleet must also give each agent ownership of its own profile. A pool of authenticated identities cannot substitute for that ownership across concurrent work.

Session lifetime creates another route for leakage. A session reused after its intended transaction can transfer cookies and state into a later agent’s work. Even a profile correctly separated at creation can fail when it is written to a shared store and then read by a different agent. This write-back race can harm data integrity even when there is no authentication error.

Persistent memory makes multi-step workflows possible, but it also allows information accumulated in one session to influence later behavior. If agents share readable or writable memory, separating their cookies does not separate their decisions. The deepest identity boundary is therefore also a security boundary.

The preprint Stateful Agent Backdoors: Constructing Cross-Session Attack Programs demonstrates the feasibility of attacks that use persistent memory to connect behavior across sessions. Its method fine-tunes models on local sub-backdoor behaviors, then uses one initial trigger to start a cross-session attack program. The paper evaluates sequential execution with conditional waiting, branching and merging, looping, and condition accumulation in a LangChain-based environment across four models. It reports mean complete-program success rates from 71.7% to the mid-nineties for the primary instantiation.

That result needs a narrow reading. The paper’s evidence is limited to the feasibility of the attacks it evaluates. For fleets, the related concern is that a compromised tool call or shared memory store could let one agent’s state influence others across sessions. Frameworks vary in their support for physical per-session state isolation, so teams must set clear memory boundaries themselves. Application and agent-state separation must hold when a session is first created and when its state is written back.

Why the four layers must be specified together, not procured separately

Isolation at some layers is not proportional protection against failures at the others. Dedicated IPs do not defeat a detector that identifies shared browser fingerprints. Fresh browser personas do not prevent IP reuse when a proxy pool runs out at peak concurrency.

Network and browser isolation may keep requests running while shared application profiles silently conflate transactions. If agents also share memory, contaminated state can affect later work after the original session ends.

Separate vendors are not inherently incompatible with isolation. The gap appears when no specification binds their resources to the same agent for the same lifetime. Proxy leases, browser profiles, stored authentication, and memory ownership then follow separate rules. Infrastructure needs a unified per-agent session specification across all four layers.

What should a web scraping API for agents provide before a fleet workload is viable?

A viable API must turn the session specification into enforceable behavior. Its network capacity must let each peak concurrent session hold a distinct IP, with connection headroom and broad geographic and ASN distribution. Its browser layer must generate a coherent persona at session creation. Cold starts must also be fast enough that launching isolated sessions does not erase the benefit of parallel work.

Scrapeless exposes a standard CDP WebSocket endpoint with session TTL, proxy country, and fingerprint controls set at connection time. Modal’s Sandboxes address a different requirement beneath the browser layer through VM and gVisor-based isolation between containerized workloads and the host. Modal also describes filesystem and directory snapshots for restoring browser state across lifecycles, plus fast Sandbox startup for browser and agent workflows. Compute isolation and session identity are complementary capabilities.

At the application layer, profiles must be encrypted in storage, kept separate by workspace, and owned by one agent each. TTL enforcement must terminate sessions cleanly rather than permit profile reuse across agent boundaries. Agent execution needs a separate boundary too. Sandboxed memory and tool access must prevent co-running agents from reading or writing one another’s state, with application-level controls wherever the framework does not guarantee that separation.

A unified API reduces the integration points where these bindings can break. Scraping, proxying, browser management, and session identity belong in one contract, with client-side script rendering and residential proxy rotation built into the browser platform. Per-GB pricing also avoids charging separately for every increase in connection count.

How the emerging signed-agent-metadata protocol changes the session identity negotiation

The IETF draft last updated October 29, 2026 proposes a Signature-Agent header for cryptographic bot identification. Thibault Meunier of Cloudflare and Sandor Major of Google are its authors. It remains an unadopted proposal. Its session and tenant identification would let a site throttle one part of a shared agent platform without blocking the entire signing key.

The per-session identifier connects directly to the architecture described here. An identifier bound to one agent’s transaction makes the session boundary explicit to the receiving site rather than leaving identity to inference from IPs and fingerprints. If adopted, that approach could make authorized identity negotiation possible. It does not make internal state isolation automatic.

The infrastructure would still need to keep browser fingerprints coherent and application state separate even where sites accept signed-agent verification. A signed identifier cannot prevent two agents from reading the same stored profile or memory. Cloudflare’s work on cryptographically recognizing agent traffic also describes Web Bot Auth using HTTP message signatures. These efforts signal a protocol-level response to agent identity while leaving the four-layer design necessary and implementation of an unadopted proposal premature.

What teams building agent fleets should specify before choosing any infrastructure vendor

The practical sequence is to write the per-agent session specification before selecting vendors. At the network layer, that means stating peak concurrency, the simultaneous distinct-IP requirement, and the headroom required above that peak. Pool capacity and connection limits need separate answers. Pricing should also distinguish bandwidth consumption from the cost of parallel sessions.

The browser specification should establish whether fingerprints are generated at engine level or through plugins, and whether each session receives a fresh, internally coherent persona. It should also say how fast cold starts must be and require client-side script rendering and proxy rotation in the same session. Persistence needs equally explicit ownership rules. Profiles must remain isolated per agent, encrypted in storage, scoped to a workspace, and protected against reuse through enforced session lifetimes and write-back boundaries.

The agent-state specification must name the isolation primitive that prevents co-running agents from reading or writing one another’s memory and tool state. It must distinguish framework guarantees from controls the application team has to build. Those answers make vendor evaluation concrete. Without them, a fleet is relying on defaults where it needs an architecture.

Sources

  1. Stateful Agent Backdoor
  2. FP-Agent: Fingerprinting AI Browsing Agents

More in Tool and API Design