Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Graftcode
Connect any code. Call as dependency. The official repository for Graftcode: the integration-free development layer that lets you call methods across languages and runtimes on…
Install
git clone https://github.com/grft-dev/graftcodeInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →graftcode
Call remote code like local dependencies.
Graftcode is the integration-layer-free development framework that lets you call methods across any language and runtime as if they were local, without writing integration code, SDKs, or client layers.
Supported Languages
Platforms & OS
Cloud Ready
Call remote code like local dependencies. Let package managers keep them fresh.
Graftcode is the integration-free development layer that lets you call methods across languages and runtimes as native dependencies: no integration layer code, no SDKs, no client code.
Turn your public methods into instantly consumable, strongly-typed clients in any technology using regular package managers.
Access your remote services from web, mobile, and edge clients. Seamlessly connect microservices and expose business logic the way it was always meant to be clean, type-safe, and effortless.
Imagine a world where you can share business logic across any technology as easily as publishing a package to a public repository. With Graftcode, you simply write public methods, communicate errors through exceptions, and call them like local code.
Graftcode removes the need to hand-write REST, gRPC, or Thrift integration layers, or to couple your code to message buses and event systems. It reduces your codebase by up to 50%, dramatically improves AI-assisted development (lower token usage, higher efficiency, and simpler code reviews), and makes every backend immediately MCP-compatible for AI agents.
It also enables true modular monoliths you can decompose and recombine modules at will, switch communication channels (WebSocket, HTTP/2, RabbitMQ, Kafka, Service Bus, SQS, Pub/Sub, etc.) without changing a single line of code, and build truly polyglot systems with zero integration overhead.
What is Graftcode?
Instead of building and maintaining APIs, DTOs, clients, and integration layers, Graftcode lets you:
- Write public methods in your preferred language
- Run them on Graftcode Gateway (multi-runtime host running on your cloud instances, bare metal, containers or local machine)
- Install auto-generated, strongly-typed Grafts in any other project via
npm,dotnet,pip, etc. - Call remote code as if it was local
No controllers. No OpenAPI. No client code. No IDL.
Graftcode works with monoliths, microservices, and everything in between — and comes with built-in MCP support for AI agents.
Quick Start
1. Host your service
# 1. Build/package your library
# 2. Navigate to the output folder
# 3. Download Graftcode Gateway
# Windows
iwr https://grft.dev/get | iex
# Linux / macOS
curl -fsSL https://grft.dev/get | sh
# Run the Gateway with your module:
# Example with .NET
gg --modules ./MyService.dll
2. Consume it from anywhere
Install a Graft using your package manager (example for npm):
npm install --registry https://grft.dev/YOUR_PROJECT_ID @graft/your-service-name
Graft installed command can be obtained by navigating to your service hosted on Graftcode Gateway i.e. http://localhost if executed locally.
3. Call it like local code
Once you install Graft in client project of your choice, just import classes replicating your remote API and call the methods as if they where available as local module.
import { EnergyPriceCalculator } from '@graft/...';
const price = await EnergyPriceCalculator.GetPrice();
Similar plugs
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
Mastra is the modern TypeScript framework for AI-powered applications and agents.
The fast, Pythonic way to build MCP servers and clients.
Your ultimate Go microservices framework for the cloud-native era.