# lemonai | hexdocom | Knowledge Base | Instagit

Lemon AI is the first Full-stack Open-source Self-Evolving General AI Agent, offering a fully local alternative to Agentic platforms like Manus & Genspark AI.🔔 Official updates   X(twitter) @LemonAI_cc

GitHub Stars: 1.5k

Repository: https://github.com/hexdocom/lemonai

---

## Articles

### [How to Add Custom Tools to the Lemon AI Agent Framework: A Complete Developer Guide](/hexdocom/lemonai/process-adding-custom-tools-lemon-ai-agent-framework)

Easily add custom tools to the Lemon AI agent framework. Follow this guide to create JavaScript modules that integrate seamlessly with the agent for enhanced functionality. Start building now.

- Tags: how-to-guide
- Published: 2026-03-03

### [How the Lemon AI Experience Repository Stores and Retrieves User Interaction Memories](/hexdocom/lemonai/experience-repository-store-retrieve-user-interaction-memories)

Discover how Lemon AI stores user interaction memories as JSON files using FileStorage and retrieves them with full-text search for categorized knowledge caches. Learn more about the hexdocom/lemonai repository.

- Tags: internals
- Published: 2026-03-03

### [Approach Taken by the Screenshot Utility for Capturing UI States in Lemon AI](/hexdocom/lemonai/screenshot-utility-approach-capturing-ui-states)

Discover how Lemon AI captures UI states using a headless Chromium browser with Playwright. Learn about authentication injection, navigation waits, and metadata export for stable UI snapshots.

- Tags: internals
- Published: 2026-03-03

### [How Lemon AI's Image Generation Utility Converts Text Prompts into Images](/hexdocom/lemonai/image-generation-utility-convert-text-to-images)

Discover how Lemon AI's image generation utility transforms text prompts into images. Learn about the four-stage pipeline and the Gemini API integration.

- Tags: how-to-guide
- Published: 2026-03-03

### [What Templating System Generates Structured AI Responses in Lemon AI?](/hexdocom/lemonai/templating-system-structured-ai-responses)

Discover the custom templating system powering structured AI responses in Lemon AI. Explore the lightweight solution in the srcutils template.js file. Understand its unique placeholder syntax.

- Tags: deep-dive
- Published: 2026-03-03

### [How Lemon AI Handles API Availability Checking Across Multiple LLM Providers](/hexdocom/lemonai/lemon-ai-api-availability-checking-multiple-llm-providers)

Learn how Lemon AI checks LLM provider API availability. It sends test requests to the /chat/completions endpoint with an 8s timeout to ensure reliability before production use.

- Tags: how-to-guide
- Published: 2026-03-03

### [Lemon AI Provider Settings Schema: Platform Configuration Structure Explained](/hexdocom/lemonai/schema-structure-provider-settings-platform-configuration)

Explore the Lemon AI provider settings schema. Discover the structured JSON format that defines platform configuration for Search Provider Setting API endpoints. Learn more now.

- Tags: api-reference
- Published: 2026-03-03

### [How the Debug Utility Facilitates Tracing and Logging of Agent Execution Flow in Lemon AI](/hexdocom/lemonai/debug-utility-trace-log-agent-execution-flow)

Trace and log Lemon AI agent execution flow with the debug utility. Get complete visibility using real-time console output and structured JSON logging without impacting performance.

- Tags: deep-dive
- Published: 2026-03-03

### [default_model Settings in Lemon AI: Configuration Options and API Reference](/hexdocom/lemonai/configuration-options-default-model-settings)

Explore default_model settings in Lemon AI. Learn about configurable fields like id, setting_type, model_id, config, and timing to control LLM functions for chat, naming, and translation.

- Tags: api-reference
- Published: 2026-03-03

### [How Lemon AI's Markdown Utility Parses AI-Generated Markdown Content](/hexdocom/lemonai/markdown-utility-parse-render-ai-generated-markdown)

Discover how Lemon AI's markdown utility tokenizes LLM output with the marked lexer, parsing AI-generated markdown into structured task arrays and mapping headings to content blocks.

- Tags: how-to-guide
- Published: 2026-03-03

### [Understanding the versionManager Utility for Model Versioning in Lemon AI](/hexdocom/lemonai/versionmanager-utility-purpose-functionality-model-versioning)

Discover Lemon AI versionManager for seamless model versioning. Track changes, retrieve file versions, and rollback easily. Essential for developers managing AI file histories.

- Tags: internals
- Published: 2026-03-03

### [How the Browser Tool in Lemon AI Automates Web Interaction: Architecture and Code Walkthrough](/hexdocom/lemonai/browser-tool-interact-web-pages-automated-browsing)

Explore Lemon AI's browser tool architecture and code. Learn how natural language prompts automate web interaction via Playwright and LangChain.

- Tags: architecture
- Published: 2026-03-03

### [JWT Authentication in Lemon AI: Structure, Content, and Implementation](/hexdocom/lemonai/jwt-structure-authentication-lemon-ai)

Explore JWT authentication in Lemon AI. Discover its HS256 structure, payload content, and how calls are secured without built-in expiration or issuer claims.

- Tags: how-to-guide
- Published: 2026-03-03

### [How Lemon AI's File Type Response System Detects and Handles Different Formats](/hexdocom/lemonai/file-type-response-system-detect-handle-file-formats)

Lemon AI's file type response system detects and handles formats by checking extensions and returning JSON or binary Blobs. Learn how it works.

- Tags: how-to-guide
- Published: 2026-03-03

### [Understanding the sub_server_request Utility in Lemon AI: Proxy Architecture and Implementation](/hexdocom/lemonai/sub-server-request-utility-role-proxying-requests)

Discover the sub_server_request utility in Lemon AI. It centralizes proxy requests to remote sub-servers, managing URL construction, authentication, and error handling for seamless integration.

- Tags: deep-dive
- Published: 2026-03-03

### [How the Stream Utility Manages Real-Time Token Streaming in Lemon AI](/hexdocom/lemonai/stream-utility-manage-real-time-token-streaming-llms)

Discover how Lemon AI's stream utility manages real-time token streaming directly from LLMs. Learn about SSE and chunked formats for efficient client delivery.

- Tags: internals
- Published: 2026-03-03

### [Lemon AI Thinking Utility Parameters for Reasoning Processing](/hexdocom/lemonai/thinking-utility-parameters-reasoning-processing)

Discover the nine key parameters for reasoning processing in Lemon AI's thinking utility. Learn how prompt, model, temperature, and more shape LLM reasoning blocks.

- Tags: deep-dive
- Published: 2026-03-03

### [How the Lemon AI Planning Module Coordinates Multi-Step Agent Tasks](/hexdocom/lemonai/planning-module-coordinate-multi-step-agent-tasks)

Discover how the Lemon AI planning module coordinates multi-step agent tasks. Learn its three-stage pipeline for goal conversion to executable action lists within the hexdocom/lemonai repository.

- Tags: deep-dive
- Published: 2026-03-03

### [Function Call Utility Operational Flow in LemonAI: How AI-Generated Functions Execute](/hexdocom/lemonai/function-call-utility-execute-ai-generated-functions-flow)

Explore the LemonAI function call utility operational flow learn how AI-generated functions are discovered converted and executed through a three-stage pipeline in src tools and src routers agent proxy js

- Tags: how-to-guide
- Published: 2026-03-03

### [How Lemon AI Integrates with Ollama and VLLM for Local LLM Support](/hexdocom/lemonai/lemon-ai-integrate-ollama-vllm-local-llm-support)

Learn how Lemon AI integrates with Ollama and VLLM for local LLM support. Discover its generic OpenAI client for seamless local endpoint integration without API keys.

- Tags: deep-dive
- Published: 2026-03-03

### [Lemon AI Web Search Provider Implementations: Available Backends and Configuration Guide](/hexdocom/lemonai/web-search-provider-implementations-configuration)

Discover Lemon AI's web search provider options including Tavily, Google, and more. Configure them easily via database or environment variables for efficient searching.

- Tags: how-to-guide
- Published: 2026-03-03

### [Koa.js Middleware Chain for Authentication and Token Management in Lemon AI](/hexdocom/lemonai/koa-js-middleware-chain-authentication-token-management)

Discover how Lemon AI's Koa.js middleware chain handles authentication and token management. Learn about bearer token extraction, global storage, and extensible auth gates for API requests.

- Tags: architecture
- Published: 2026-03-03

### [Lemon AI Self-Evolving Memory System Architecture: A Technical Deep Dive](/hexdocom/lemonai/architecture-lemon-ai-self-evolving-memory-system)

Explore the Lemon AI self-evolving memory architecture. Discover how layered JSON storage refines agent behavior with execution traces and reflection feedback.

- Tags: architecture
- Published: 2026-03-03

### [How Lemon AI's Docker VM Sandbox Isolates Code Execution for Security](/hexdocom/lemonai/how-lemon-ai-docker-vm-sandbox-isolate-code-execution-security)

Discover how Lemon AI secures code execution using Docker VM sandbox isolation. Learn about process isolation, filesystem bind-mounts, and network controls preventing host access.

- Tags: how-to-guide
- Published: 2026-03-03

