explaingit

superalp1985/fame-knowledge-agent-gateway

Analysis updated 2026-05-18

10JavaScriptAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

An external memory and tool-approval gateway for AI coding agents, combining a knowledge graph, project memory, and a governed tool-call workflow.

Mindmap

mindmap
  root((repo))
    What it does
      External agent memory
      Knowledge graph routing
      Governs tool calls
    Tech stack
      JavaScript
      React
      SQLite
      MCP
    Use cases
      Give an agent persistent memory
      Approve tool calls before execution
      Visualize a knowledge graph
    Audience
      Developers
      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

Give a coding agent persistent external memory outside its context window.

USE CASE 2

Gate risky tool calls behind an approval step before they run.

USE CASE 3

Browse and edit a graph based knowledge net through a visual workbench.

USE CASE 4

Run a local MCP gateway that agents connect to for memory and tools.

What is it built with?

JavaScriptReactThree.jsSQLiteMCP

How does it compare?

superalp1985/fame-knowledge-agent-gatewayaetherwing-io/keystrokesagi-ruby/ai-gpt_image2-seedance_2.0-video-skills
Stars101010
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatemoderateeasy
Complexity4/52/51/5
Audiencedeveloperdevelopervibe coder

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Documentation is bilingual, with the Chinese edition described as the more complete open source version.

Apache License 2.0: use, modify, and distribute freely, including commercially, with attribution.

In plain English

FAME Knowledge Agent Gateway is an external memory and tool control system meant to sit alongside AI coding agents. Instead of stuffing everything an agent knows into its active conversation, it keeps a separate knowledge graph, project memory, and a set of rules that govern which tools the agent is allowed to call, all running outside the agent itself with a visual workbench to inspect it. The README is explicit that this is not a typical retrieval system and not simple chat memory. Its stated purpose is to help an agent first align on a goal, then reason through a structured knowledge path rather than a flat search index, then have any tool calls that change something pass through an approval step before they actually run, and finally write successes, failures, and lessons learned back into external memory instead of just letting that information disappear once the conversation ends. The project is organized around a few pieces: a graph based workbench built with React and Three.js for browsing and editing the knowledge net, a runtime server that exposes an HTTP and MCP gateway backed by SQLite, a project memory layer meant to hold engineering context without polluting the core knowledge base, and lightweight indexes for images and other non-text assets so the raw files stay in separate storage rather than the graph itself. Documentation and the codebase are presented in both Chinese and English, with the Chinese material described as the more complete open edition. It ships with npm scripts to install, generate indexes, run the workbench and gateway locally, run tests, and package a portable release, plus a Docker Compose setup. It is released under the Apache License 2.0.

Copy-paste prompts

Prompt 1
Help me set up superalp1985/fame-knowledge-agent-gateway locally with npm run dev.
Prompt 2
Explain how the ProposedAction to ApprovedAction approval flow works here.
Prompt 3
Walk me through connecting an agent to the MCP stdio gateway this project provides.
Prompt 4
Explain the difference between the Chinese open edition and the English edition of this project.

Frequently asked questions

What is fame-knowledge-agent-gateway?

An external memory and tool-approval gateway for AI coding agents, combining a knowledge graph, project memory, and a governed tool-call workflow.

What language is fame-knowledge-agent-gateway written in?

Mainly JavaScript. The stack also includes JavaScript, React, Three.js.

What license does fame-knowledge-agent-gateway use?

Apache License 2.0: use, modify, and distribute freely, including commercially, with attribution.

How hard is fame-knowledge-agent-gateway to set up?

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

Who is fame-knowledge-agent-gateway for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.