Lambda Lab

•

Generate, execute, and monitor algorithms on demand while analyzing runtime performance and computational complexity through an interactive chat interface.

Lambda Lab is an expert system chatbot designed to generate, validate, and execute Python algorithms on demand. Driven by Google Gemini and integrated via the Model Context Protocol (MCP), the platform features a modular architecture combining a FastAPI execution backend, a FastMCP server, and a Chainlit chat frontend. It validates code syntax using AST parsing, executes code in isolated processes under strict memory and time quotas, and measures runtime duration alongside peak memory usage. With local semantic caching via ChromaDB and an LLM-as-a-Judge evaluation suite, it provides an intelligent, self-correcting environment for exploring, analyzing, and benchmarking algorithms.

主要功能

01On-demand algorithm generation with syntax validation and automatic self-correction for failed executions
02Chainlit interactive chat powered by Gemini with local semantic caching via ChromaDB and sentence-transformers
03Isolated Python execution in background sub-processes measuring duration, stdout, and peak memory usage
04FastMCP server exposing algorithm management, execution dispatch, and monitoring tools over HTTP
05Built-in LLM-as-a-Judge evaluation framework to benchmark correctness, efficiency, and clarity against reference cases
060 GitHub stars

使用案例

01Benchmarking computational algorithms and analyzing real-world time and memory consumption
02Studying data structures, complexity theory, and problem-solving strategies interactively
03Developing and testing agentic workflows that require safe execution and evaluation of dynamic code