Skip to content

About

Channel and routing gateway in front of klaus instances; uses agentgateway as the LLM/MCP/A2A data plane

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

497 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klaus-gateway

CircleCI License

klaus-gateway is the Slack front door of the Giant Swarm agent platform. It receives Slack messages, binds every thread to one agent and one kagent Session, and runs the turn as A2A v1 over gRPC against the kagent controller, reached through agentgateway as the data plane. Every call is made as the person behind the turn: the Dex id_token of their Slack account link.

Channels

Channel Path prefix Description
Slack /channels/slack/* Events API webhook or Socket Mode

Slack is the only channel. IDE and OpenAI/MCP-native clients connect to agentgateway directly, not through this gateway.

Architecture

Slack                     Gateway layer                    Platform
+---------+              +---------------------------+     +---------------------------+
| Slack   | -----------> | klaus-gateway             | --> | agentgateway (data plane) |
| Events  |              | Slack adapter             |     +---------------------------+
| Socket  |              | thread state (routing     |                  |
+---------+              |   store: memory/valkey/   |                  v
                         |   bolt)                   |     +---------------------------+
                         | muster account linking    |     | kagent controller         |
                         | team reviews              |     | (Agents, Sessions,        |
                         +---------------------------+     |  A2A v1)                  |
                                                           +---------------------------+

The chart and the agentgateway wiring are described in docs/deployment.md, the agent carrier under the channel in docs/kagent-a2a.md.

Documentation

Quick start

# Build and test
go build ./...
make test

# Container image (copies the prebuilt binary)
CGO_ENABLED=0 go build -o klaus-gateway-linux-amd64 . && docker build -t klaus-gateway:dev .

See docs/development.md.

Layout

main.go             # binary entrypoint
pkg/                # Slack adapter, thread-state store, server, kagent (a2a) client, OBO link store, team reviews
internal/           # config, version
helm/klaus-gateway/ # Helm chart
deploy/slack/       # Slack app manifest
hack/               # kagent proto sync
tests/              # chart tests CI runs on kind (app-test-suite)
docs/               # development, deployment, API, and channel guides

License

Apache 2.0 — see LICENSE.

About

Channel and routing gateway in front of klaus instances; uses agentgateway as the LLM/MCP/A2A data plane

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages