# Skywake

URL: https://skywake.dev/docs

Shared disks of files for agents, with branches and search, on object storage.

<Hero
  title="Skywake docs"
  actions={[
    { label: "Get started", href: "/getting-started" },
    { label: "Install", href: "/getting-started/install" },
    { label: "API reference", href: "/reference/api" },
  ]}
>
  Skywake keeps disks of files in object storage, and gives every agent its own branch. A fork
  copies only a pointer, so no data is copied.
</Hero>

New to the idea? Start with [what an agent filesystem is](./agent-filesystem.mdx), and why agents need one. Otherwise, set `SKYWAKE_API_KEY`, then:

```ts tab="TypeScript"
import { Skywake } from "skywake";

const app = new Skywake().disk("app");
await app.write("hello.txt", "hi");
console.log(await app.read("hello.txt"));
```

```py tab="Python"
from skywake import Skywake

app = Skywake().disk("app")
app.write("hello.txt", "hi")
print(app.read("hello.txt"))
```

```bash tab="CLI"
echo hi | skywake write app/hello.txt
skywake read app/hello.txt
```

<Section title="Start here">
  <Cards>
    <Card href="./getting-started/index.mdx" />
    <Card href="./getting-started/install.mdx" />
    <Card href="./getting-started/first-branch.mdx" />
  </Cards>
</Section>

<Section title="Guides">
  <Cards wide>
    <Card
      href="./filesystem/branches.mdx"
      title="Disks"
      icon="FolderTree"
      description="Files with branches: fork, merge, mount, autosave and protection."
    />
    <Card
      href="./filesystem/search.mdx"
      title="Search"
      icon="Search"
      description="Turn search on for a disk, then query its files by meaning and keywords."
    />
    <Card
      href="./agents/mcp.mdx"
      title="Agents"
      icon="Bot"
      description="The MCP server, the bash tool, and the CLI from agents."
    />
    <Card
      href="./self-hosting/what-to-run.mdx"
      title="Self-hosting"
      icon="Server"
      description="Docker Compose on one machine, or Helm in your own cloud."
    />
    <Card
      href="./security/sso.mdx"
      title="Security"
      icon="Shield"
      description="SSO, API keys, scoped credentials, IP allowlist, audit log, encryption keys."
    />
    <Card href="./benchmarks.mdx" />
  </Cards>
</Section>

<Section title="Reference">
  <Cards>
    <Card href="/reference/api" />
    <Card href="/reference/cli" title="CLI" description="Every `skywake` command and flag." />
    <Card href="/reference/sdk" />
    <Card href="./reference/index.mdx" title="All references" />
  </Cards>
</Section>