Back to Home
autolearnai icon

autolearn

by autolearnai

Overview

AutoLearn is a Model Context Protocol (MCP) server that enables AI agents to dynamically create, refine, and reuse functional code workflows (skills) from natural language, acting as a self-improving coding agent.

Installation

Run Command
python demo.py

Environment Variables

  • OPENAI_API_KEY
  • OPENAI_MODEL
  • LOG_LEVEL
  • DB_PATH

Security Notes

CRITICAL: The `backend/sandbox.py` explicitly bypasses the sandboxing mechanism (`logger.warning(f"Executing skill {skill_name} directly (no sandbox) due to pickling limitations")`), meaning dynamically generated Python code is executed directly in the main server process using `exec()`. This allows for arbitrary remote code execution via API endpoints (`/skills/generate`, `/skills/register`, `/mcp` tools/call), which is an extremely severe vulnerability. Any unauthenticated access to these endpoints would allow complete system compromise. This is the most critical security flaw, making the system unsafe to run in its current state without a robust sandbox or process isolation.

Similar Servers

Stats

Interest Score26
Security Score1
Cost ClassHigh
Avg Tokens2000
Stars39
Forks4
Last Update2025-12-16

Tags

AI AgentsCoding AgentsDynamic Skill CreationMCP ServerCode GenerationFastAPIOpenAI