Build with Kratos framework
Get started with a production-ready starter powered by Kratos.
func main() { httpSrv := http.NewServer( http.Address(":8000"), ) grpcSrv := grpc.NewServer( grpc.Address(":9000"), ) v1.RegisterGreeterServer(srv, greeter) v1.RegisterGreeterHTTPServer(srv, greeter) app := kratos.New( kratos.Name("kratos-app"), kratos.Version("v1.0.0"), kratos.Server( httpSrv, grpcSrv, ), ) if err := app.Run(); err != nil { log.Fatal(err) }}func main() { agent := blades.NewAgent( "Basic Agent", blades.WithModel("gpt-5"), blades.WithProvider(openai.NewChatProvider()), blades.WithInstructions("You are a helpful assistant that provides detailed and accurate information."), ) input := blades.UserMessage("What is the capital of France?"), runner := blades.NewRunner(agent) output, err := runner.Run(context.Background(), input) if err != nil { log.Fatal(err) } log.Println(output.Text())}Build with Kratos framework
Get started with a production-ready starter powered by Kratos.
Build with Blades agent
Build AI agents and apps using Blades modular agent framework.
Microservices
Build and deliver production-ready features fast with independently scalable and evolvable microservices architecture.
Specified API
Define consistent and type-safe interfaces using Protobuf, supporting both HTTP and gRPC communication out of the box.
Plug-able
Flexible middleware system supporting custom interceptors for logging, authentication, rate limiting, tracing, and more — enabling clean and reusable request pipelines.
Observability
Built-in tracing, metrics, and logging support help you gain full visibility into system performance and behavior.
Contribution
Thank you for contributing to the Kratos framework. Each contribution brings us one step closer to making Kratos even better.