Skip to main content

Get started

TensorQuay Agent is a self-hosted AI agent server. Each task you give it runs in a sandboxed computer of its own, on a workspace of files you keep, with a local model or a hosted one. One administrator installs it on a Linux host or a Mac, and people use it from their browser.

Not yet run on a real install. The commands on this page have not been run against an installation as written here yet. Each block says so until it has been.

What you need​

  • A Linux host, or a Mac with Docker Desktop, with Docker Engine 27.4 and Docker Compose 2.31 or newer (docker version and docker compose version show them).
  • Python 3.
  • A model server with the common chat-completions API, on your machine or hosted, and its key if it needs one. No model server yet? The install can start a scripted test model instead, enough to see a task run from start to end.
  • Hardware for the model you choose: Hardware has measured figures, from a GPU workstation down to CPU only.

1. Get a release​

Install from a release, not from main. Pick the newest tag on the releases page:

# Not yet run on a real install.
git clone --branch <release tag> https://github.com/TensorQuay/tensorquay-agent.git && cd tensorquay-agent

2. Install​

From release 18.2, one command does it:

# Not yet run on a real install.
deploy/install.sh

It asks where people will open TensorQuay Agent, which model server to use (or none, for the test model), and who the first administrator is. It then pulls the release's images, writes the installation's files, starts it and creates that administrator; most of its ten minutes or so is the pull. It never changes an existing installation. deploy/install.sh --help lists its options. On an earlier release, or to do each step yourself, follow the install guide by hand.

3. Sign in and run a task​

Open the address you gave the install and sign in as the administrator. Check the model route under Settings › Models, then choose New task, write what the agent should do and choose Send. The first task starts a sandbox, so its first reply takes a little longer. The install guide's first administrator, route and task has each step.

Next​