Skip to content
Get Graphrt Desktop

Getting started

What Graphrt is, how to install it with one command, run your first agent, and put it online with the gateway.

CLI and serverAbout 3 minutes

Graphrt runs AI agents for your business: answering customers, sorting tickets, pulling data from documents, calling your other systems. You describe what the agent does in one short, readable file, and Graphrt runs that same file on a laptop, on your own servers, in your cloud, or inside a phone app.

It is free and open source. There is nothing to rent and no account to create.

  • A Mac or Linux computer (Windows works too, with the download from the releases page).
  • For agents that talk to an AI model: an API key from a model provider such as OpenAI, Anthropic or Google. The first example below needs none.

Open a terminal and run:

terminal
curl -fsSL https://raw.githubusercontent.com/Graphrt/graphrt/main/install.sh | sh

This downloads one small program called graphrt and checks that the file is genuine. Prefer Homebrew? Use brew install graphrt/graphrt/graphrt. Other options (Rust, containers) are in the project overview.

Save this as hello.yaml. It is a complete workflow: it takes a name and answers with a greeting.

hello.yaml
version: "1"
name: hello
graph:
nodes:
- id: start
type: start
variables:
- { variable: name, type: text-input, required: true }
- id: greet
type: template-transform
template: "Hello, {{ name }}."
variables:
- { variable: name, value_selector: [start, name] }
- id: end
type: end
outputs:
- { variable: greeting, value_selector: [greet, output] }
edges:
- { source: start, target: greet }
- { source: greet, target: end }

Then run it:

terminal
graphrt run hello.yaml --input name=Ada

Graphrt prints the answer:

json
{
"greeting": "Hello, Ada."
}

That is the whole loop: write the file, run it, read the answer. A real agent adds steps such as an AI model call, a tool, a web request or a human approval. Those steps are listed in the workflow format, and connecting a model is covered in model providers.

The gateway is the always-on front door for your agents. It accepts requests, keeps every conversation safe, and starts an agent only when there is work, so agents cost nothing while they wait.

  1. Install the gateway build (the same program, plus the gateway):

    terminal
    curl -fsSL https://raw.githubusercontent.com/Graphrt/graphrt/main/install.sh | sh -s -- --gateway
  2. Start a local gateway in development mode with your workflow:

    terminal
    graphrt gateway --dev hello.yaml

    Development mode skips logins, so only use it on your own computer.

  3. Send it a request, the way your app or website would:

    terminal
    curl -s localhost:8700/v1/deployments/dev/runs -d '{"inputs":{"name":"Ada"}}'

    The reply holds the same greeting, plus a run id and status. The gateway started the agent for this request and stops it again after two idle minutes.

  4. When you are ready for production, graphrt deploy ships a new version of the agent to the place you choose, for example --target local or --target k8s. Each version is kept, so you can roll back.

The gateway guide explains configuration, security and every deploy target.