diff --git a/src/sf_version.c b/src/sf_version.c
new file mode 100644
index 0000000..187bbd6
--- /dev/null
+++ b/src/sf_version.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2026 YuQing <384681@qq.com>
+ *
+ * This program is free software: you can use, redistribute, and/or modify
+ * it under the terms of the Lesser GNU General Public License, version 3
+ * or later ("LGPL"), as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the Lesser GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#include "sf_version.h"
+
+void sf_version(Version *version)
+{
+ version->major = SF_MAJOR_VERSION;
+ version->minor = SF_MINOR_VERSION;
+ version->patch = SF_PATCH_VERSION;
+}
diff --git a/src/sf_version.h b/src/sf_version.h
new file mode 100644
index 0000000..23d4faa
--- /dev/null
+++ b/src/sf_version.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2026 YuQing <384681@qq.com>
+ *
+ * This program is free software: you can use, redistribute, and/or modify
+ * it under the terms of the Lesser GNU General Public License, version 3
+ * or later ("LGPL"), as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the Lesser GNU General Public License
+ * along with this program. If not, see .
+ */
+
+//sf_version.h
+
+#ifndef _SF_VERSION_H
+#define _SF_VERSION_H
+
+#include "fastcommon/common_define.h"
+
+#define SF_MAJOR_VERSION 1
+#define SF_MINOR_VERSION 2
+#define SF_PATCH_VERSION 13
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ void sf_version(Version *version);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif