Project Info

engram

Devpost

This project did not submit a demo video on Devpost.

Inspiration

Especially in the modern era, agents are handling more and more complex tasks which involves making many tool calls sequentially, potentially taking a long time. But what if your agent already had the information?

What it does

When an agent takes in a prompt, it often has a chain of thought before making a sequence of MCP tool calls. We read that, predict which MCP tool calls it will make, and fetch them all in parallel before execution to put in a cache. When the agent starts executing, it reads the cached responses ,which makes it much faster.

How we built it

A drop-in MCP proxy that can be used with any agent making any types of MCP tool calls. It uses multiple systems like a small classifier AI model, and a mathematical Markov model, to predict the tool calls in advance based on the chain of thought.

Challenges we ran into

Building the system to be effective with any type of MCP tool calls was difficult, as different types of prompts can lead to very different tool calls.

Accomplishments we're proud of

We are proud of building something that generalizes fairly well in testing, and can have very significant speedups (3x or faster) in complex prompts.

What we learned

We learned a lot about the middleware layer between the agent and the tool it is accessing.

What's next

Researching more advanced systems to make the tool call predictions more accurate.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • HTMLIn code
  • JavaScriptIn code
  • PythonIn code
  • ReactIn code
  • Tailwind CSSIn code
  • DockerClaimed
  • Next.jsClaimed
  • Node.jsClaimed
  • RedisClaimed

6 of 10 appear in the indexed code. 4 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

267 KB

Source files

56

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars