# Magnet > Magnet is the multiplayer workspace for building software with autonomous, long-running coding agents. ## Docs - [Create Session](https://docs.magnet.run/api-reference/sessions/create-session.md): Create a new AI coding session. Optionally link a repository and provide an initial prompt. - [Get Session](https://docs.magnet.run/api-reference/sessions/get-session.md): Retrieve a single session with its full message history. - [List Sessions](https://docs.magnet.run/api-reference/sessions/list-sessions.md): Retrieve all sessions for a workspace, along with aggregate stats. - [Update Session](https://docs.magnet.run/api-reference/sessions/update-session.md): Update a session's title or status. - [Authentication](https://docs.magnet.run/authentication.md): Learn how to authenticate requests to the Magnet API using API keys. - [magnet issues](https://docs.magnet.run/cli/issues.md): List, get, create, and update Magnet issues from the command line. - [magnet link](https://docs.magnet.run/cli/link.md): Link a local directory to a Magnet workspace. - [magnet login](https://docs.magnet.run/cli/login.md): Log in to Magnet from the command line using the browser device flow. - [magnet logout](https://docs.magnet.run/cli/logout.md): Revoke the stored CLI token and remove it from this machine. - [Magnet CLI](https://docs.magnet.run/cli/overview.md): Manage Magnet issues, pages, and sandbox images from the command line. Single native binary — no runtime required. - [magnet pages](https://docs.magnet.run/cli/pages.md): List, get, create, and update Magnet pages from the command line. - [magnet sandbox-image](https://docs.magnet.run/cli/sandbox-image.md): Register custom sandbox images for Magnet sessions. - [magnet search](https://docs.magnet.run/cli/search.md): Search Magnet issues and pages from the command line. - [magnet whoami](https://docs.magnet.run/cli/whoami.md): Show the user or workspace the CLI is authenticated as. - [Environments](https://docs.magnet.run/environments.md): Configure sandbox environments for your sessions — repositories, setup scripts, dev servers, preview URLs, and environment variables. - [GitHub Integration](https://docs.magnet.run/integrations/github.md): Connect your GitHub repositories to Magnet for automated cloning, branching, and pull request creation from AI coding sessions. - [MCP Server](https://docs.magnet.run/integrations/mcp-server.md): Connect AI coding tools like Cursor and Claude Code to your Magnet workspace using the Model Context Protocol (MCP). - [Slack Integration](https://docs.magnet.run/integrations/slack.md): Connect Magnet to Slack to create issues with @mentions, get link previews, and stay in the loop without leaving your team chat. - [Introduction](https://docs.magnet.run/introduction.md): Magnet is the multiplayer workspace for building software with autonomous, long-running coding agents. Manage issues, specs, sessions, and PRs — all in one place. - [Quickstart](https://docs.magnet.run/quickstart.md): Set up your Magnet workspace and launch your first AI coding session in under 5 minutes. - [Session Lifecycle](https://docs.magnet.run/sessions/lifecycle.md): A walk-through of each phase in a Magnet session — from creation through agent execution to pull request creation. - [Sessions Overview](https://docs.magnet.run/sessions/overview.md): Understand how Magnet sessions work — from creation to completion, including real-time streaming and pull request integration. ## OpenAPI Specs - [openapi](https://docs.magnet.run/api-reference/openapi.json)