getting-started / v0.5 — connect your agent, then ask it

v0.5: adds VS Code, Visual Studio, JetBrains AI Assistant and Windsurf to the MCP clients, and the one-click install for VS Code and Cursor. v0.4 is still served as GET /specs/getting-started/v0.4.

v0.4: rewritten for how a4sx is used today. You connect your agent once, sign in with one browser approval, and ask your agent for what you want. The workspace quick start this page used to be (admin and read tokens, stations, producers) is still served as GET /specs/getting-started/v0.3. Running a workspace is covered by Running a workspace (GET /specs/user-onboarding/latest).

a4sx is agent-first. Almost everything here is meant to be done through your agent: it searches the marketplace, saves your sessions, and resumes them on your behalf. Connect it once, over MCP or with the /orient brief, and use the web UI as your overview and fallback. You need the web UI only for things that take your own hands: signing in, paying, and approving what your agent asks you to approve.

The addresses below are for the public service, https://session-exchange.com. On another a4sx host, use that host's own address; its Connect your agent page (/guide/connect) fills it in.


1. Connect your agent

Pick one of the three ways. The Connect your agent page has every snippet ready to copy.

MCP

Add the a4sx MCP server to your MCP client. Its endpoint is https://session-exchange.com/mcp. No snippet carries a credential.

ClientHow
Claude Codeclaude mcp add --scope user --transport http a4sx 'https://session-exchange.com/mcp' (--scope user adds it for every project)
Claude Code, your own Libraryclaude mcp add --scope user --transport http a4sx-library 'https://session-exchange.com/mcp/library' (requires sign-in (OAuth); its library tools work on your own Library)
Codexin ~/.codex/config.toml: [mcp_servers.a4sx] with url = "https://session-exchange.com/mcp"
Cursorin ~/.cursor/mcp.json: {"mcpServers":{"a4sx":{"url":"https://session-exchange.com/mcp"}}}
claude.ai and Claude DesktopSettings › Connectors › Add custom connector, URL https://session-exchange.com/mcp
Any other MCP client{"mcpServers":{"a4sx":{"type":"http","url":"https://session-exchange.com/mcp"}}}
VS Codein .vscode/mcp.json: {"servers":{"a4sx":{"type":"http","url":"https://session-exchange.com/mcp"}}}
Visual Studioin %USERPROFILE%\.mcp.json: {"servers":{"a4sx":{"url":"https://session-exchange.com/mcp"}}}
JetBrains AI AssistantSettings › Tools › AI Assistant › Model Context Protocol (MCP) › Add, as HTTP: {"mcpServers":{"a4sx":{"url":"https://session-exchange.com/mcp"}}}
Windsurf (Devin Desktop)in ~/.config/devin/mcp_config.json: {"mcpServers":{"a4sx":{"serverUrl":"https://session-exchange.com/mcp"}}}

VS Code and Cursor can also add it in one click: the Connect your agent page has an Install in VS Code and an Add to Cursor button.

Without sign-in, MCP searches the public marketplace and reads listing summaries. Your Library (saving, loading and adding sessions) needs you signed in. Where the host offers MCP sign-in, a client that supports OAuth opens a browser page the first time your agent needs your Library, and you approve it there. The Connect your agent page checks whether this host offers MCP sign-in. It recommends MCP only when it does; otherwise it starts with the /orient brief below.

The /orient brief (any agent, no install)

Paste this into your agent:

You have access to a4sx at https://session-exchange.com — my platform for saved sessions, memory, and the marketplace. Fetch the orientation brief and follow it:

https://session-exchange.com/orient

It tells you how to sign me in (a one-time browser device login) and exactly what you can do on my behalf. Work through it, then tell me what you found.

This works with any agent that can make an HTTP request. When your agent needs your Library, it signs you in with a one-time browser approval: it shows you a link and a code, you open the link and approve. You never paste a token into the chat.

The a4sx CLI

curl -fsSL https://session-exchange.com/install.sh | sh
a4sx login        # one browser sign-in

The CLI needs Python 3 and curl, and it drives Claude Code. Its full reference is The a4sx CLI (/guide/cli, or GET /specs/cli/latest).

Before you connect: run your agent in a permission mode where you can approve actions. Claude Code's auto mode can block or interrupt uploads and network calls that need your approval, so start the session in the default mode (or approve each step) when saving or pushing sessions.


2. Ask it

Once your agent is connected, ask it in plain words:

  • "Find a session about Postgres upgrades." It searches the marketplace and tells you what it found.
  • "Save this session." It saves the session to your Library. Before anything is uploaded, your agent reads what happens to the data (GET /orient?topic=data) and asks you first.
  • "Resume my-work." It loads a saved session as starting context, on this machine or another one.

Your Library is free; you don't need a workspace to use it.


3. Where the web UI fits

The web UI is the overview, and the place for the few things your agent cannot do for you:

  • Sign in. Your agent sends you to a browser page to approve the sign-in. You can also sign in on the site directly.
  • Library shows your saved sessions, their versions and their lineage.
  • Marketplace is the same catalogue your agent searches.
  • Paying is always your own act: your agent hands you a checkout link, and you open it.
  • Account › Agent keys lists the keys your agents hold and lets you revoke them.

Where to go next

  • Connect your agent (/guide/connect): every snippet, and the brief your agent reads.
  • What your agent reads: GET /orient, and GET /orient?topic=mcp for the MCP server.
  • The a4sx CLI: /guide/cli, or GET /specs/cli/latest.
  • What a4sx is for: /guide/a4sx-overview.
  • Running a workspace (stations, producers, skills, shims): GET /specs/user-onboarding/latest. The earlier workspace quick start is GET /specs/getting-started/v0.3.

Signing in with Google, GitHub or Microsoft is used to identify your account (your name, e-mail address and profile picture) and to send you receipts and service notices. Browsing the marketplace needs no account.

Browse the marketplace What is an agent session? Getting started How it works Session library Pricing How selling works FAQ Community (Discord) Why keep the dead ends Blog

Builders a4sx platform Lab

Privacy Policy Terms of Service Imprint Impressum Datenschutz

a4sx is a product of crossVault GmbH.

Loading a4sx…