Getting started
What Graphrt is, how to install it with one command, run your first agent, and put it online with the gateway.
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.
What you need
Section titled “What you need”- 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.
1. Install in one command
Section titled “1. Install in one command”Open a terminal and run:
curl -fsSL https://raw.githubusercontent.com/Graphrt/graphrt/main/install.sh | shThis 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.
2. Run your first agent
Section titled “2. Run your first agent”Save this as hello.yaml. It is a complete workflow: it takes a name and
answers with a greeting.
version: "1"name: hellograph: 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:
graphrt run hello.yaml --input name=AdaGraphrt prints the answer:
{ "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.
3. Put it online with the gateway
Section titled “3. Put it online with the gateway”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.
-
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 -
Start a local gateway in development mode with your workflow:
terminal graphrt gateway --dev hello.yamlDevelopment mode skips logins, so only use it on your own computer.
-
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.
-
When you are ready for production,
graphrt deployships a new version of the agent to the place you choose, for example--target localor--target k8s. Each version is kept, so you can roll back.
The gateway guide explains configuration, security and every deploy target.