Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI

on:
pull_request:
push:
branches:
- main

env:
CGO_ENABLED: 0

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: go build
run: go build ./...

- name: go vet
run: go vet ./...

- name: go test -race
# -race requires cgo (go: "-race requires cgo; enable cgo by
# setting CGO_ENABLED=1"). ubuntu-latest ships gcc via
# build-essential by default, so no apt-get install is needed
# here, unlike the sqlite3 dev headers this file used to install.
env:
CGO_ENABLED: 1
run: go test ./... -race

- name: gofmt
run: |
unformatted="$(gofmt -l .)"
if [ -n "${unformatted}" ]; then
echo "The following files are not gofmt-formatted:"
echo "${unformatted}"
exit 1
fi

- name: go mod tidy drift check
run: |
go mod tidy
git diff --exit-code go.mod go.sum
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AgentGate

[![CI](https://github.com/Clawdlinux/agentgate/actions/workflows/ci.yml/badge.svg)](https://github.com/Clawdlinux/agentgate/actions/workflows/ci.yml)

A thin API gateway that lets AI agents call SaaS APIs (GitHub, Slack, Google Workspace) on behalf of users. Agents never see tokens — the gateway handles OAuth, encrypted token storage, and request proxying. Every action gets a signed, gap-free receipt that anyone can verify offline, without AgentGate's secret key.

## Quickstart
Expand Down
Loading