Skip to content

AutoMCP: Dynamic Tool Synthesis via Code Pattern Mining and Self-Regenerative Agent Architectures

Notifications You must be signed in to change notification settings

santoshpremi/AutoMCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

AutoMCP: Dynamic Tool Synthesis via Code Pattern Mining and Self-Regenerative Agent Architectures

AutoMCP is a self‑regenerative agent architecture that dynamically mines recurring code‑use patterns, clusters them, and automatically synthesizes lightweight conversion tools at runtime. Built on CodeBERT embeddings and MiniBatchKMeans, AutoMCP continuously learns from developer queries—bootstrapping from simple base utilities (e.g. JSON→YAML) and expanding its toolkit without offline retraining or manual supervision.

Key Features

  • On‑the‑fly Tool Generation: Detects frequent format‑conversion requests and synthesizes new helper functions automatically.
  • Pattern‑driven Clustering: Uses streaming contrastive embeddings to group similar queries and trigger tool induction once a cluster threshold is met.
  • Versioned Registry: Each generated tool is hashed and tracked for reproducibility and safe rollback.
  • Lightweight & Extendable: Operates on commodity hardware with a ~125 M‑parameter encoder; easily extended to new conversion domains.

About

AutoMCP: Dynamic Tool Synthesis via Code Pattern Mining and Self-Regenerative Agent Architectures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published