whatisgithub

What is graftcode?

grft-dev/graftcode — explained in plain English

Analysis updated 2026-05-18

26PowerShellAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A development layer that turns methods on a remote service into strongly typed local-feeling dependencies, replacing REST and gRPC integration code.

Mindmap

mindmap
  root((graftcode))
    What it does
      Cross language method calls
      Auto generated clients
      No integration layer
    Tech stack
      dotnet Java Python
      Node.js Go PHP
      Docker cloud
    Use cases
      Expose backend services
      Switch monolith microservices
      AI agent MCP access
    Audience
      Backend developers
      Platform teams
      AI agent builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Expose a backend service's public methods as an auto-generated, strongly typed client package.

USE CASE 2

Switch a system between a monolith and separate microservices without rewriting integration code.

USE CASE 3

Make an existing backend callable by AI agents through built-in MCP support.

USE CASE 4

Swap the underlying transport, such as WebSocket, Kafka, or RabbitMQ, without touching application code.

What is it built with?

.NETJavaPythonNode.jsGoPHPDocker

How does it compare?

grft-dev/graftcodeikhd/claude-desktop-rtlandyvandaric/kiroku
Stars262625
LanguagePowerShellPowerShellPowerShell
Setup difficultymoderatemoderatemoderate
Complexity4/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires packaging your service, running the Graftcode Gateway host, and installing a generated client via a package manager.

So what is it?

Graftcode is a development layer that lets you call methods written in one language, running on a remote service, as if they were a local dependency. The pitch is that you write ordinary public methods, run them on a host called Graftcode Gateway, and then install an auto-generated, strongly typed client package, called a Graft, in any other project through its normal package manager, whether that is npm, dotnet, or pip. From there, calling the remote method looks like calling local code, with no hand-written API layer, no OpenAPI spec, and no client code to maintain. The project supports methods written in .NET, Java, Python, Node.js, Go, PHP, C++, and Ruby, and can run on Windows, Linux, macOS, and Android, with cloud options for Azure, AWS, GCP, and Docker. The README claims this removes the need for REST, gRPC, Thrift, or message-bus coupling between services, can cut codebase size significantly, and adds built-in MCP support so any backend becomes usable by AI agents out of the box. It also says teams can switch between a single monolith and separate microservices, or change the underlying communication channel between WebSocket, HTTP/2, RabbitMQ, Kafka, Service Bus, SQS, or Pub/Sub, without changing application code. Getting started involves packaging your library, downloading the Graftcode Gateway with a one-line install script for Windows, Linux, or macOS, and running the Gateway against your compiled module. On the consuming side, a project installs a Graft through its package manager pointed at a project-specific registry URL, then imports and calls the generated client classes directly. The README includes an interactive quick-start tutorial series covering topics like connecting a frontend to a backend, exposing your first service, and switching between monolith and microservice setups. The organization also maintains separate repositories for the core Gateway engine, live demos, full documentation, Docker images, and plugins for various messaging systems.

Copy-paste prompts

Prompt 1
Explain how Graftcode Gateway turns a compiled service module into a callable Graft package.
Prompt 2
Walk me through hosting a .NET service with Graftcode Gateway and installing its client in a Node.js project.
Prompt 3
How does Graftcode's built-in MCP support let AI agents call my backend's methods?
Prompt 4
Compare Graftcode's approach to calling remote code against writing a REST or gRPC integration layer by hand.

Frequently asked questions

What is graftcode?

A development layer that turns methods on a remote service into strongly typed local-feeling dependencies, replacing REST and gRPC integration code.

What language is graftcode written in?

Mainly PowerShell. The stack also includes .NET, Java, Python.

How hard is graftcode to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is graftcode for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.