Skip to content

Instantly share code, notes, and snippets.

View ngtrphuong's full-sized avatar

Phương Nguyễn ngtrphuong

  • HCM - Viet Nam
View GitHub Profile

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@maximus2600
maximus2600 / prompt.md
Last active December 3, 2025 21:08
collection of nanobrowser prompts

huggingface papers

prompt:

- Go to https://huggingface.co/papers and click through each of the top 3 upvoted papers.
- For each paper:
  - Record the title, URL and upvotes
  - Summarise the abstract section
- Finally, compile together a summary of all 3 papers, ranked by upvotes
@maximus2600
maximus2600 / local.md
Last active July 12, 2025 12:29
using nanobrowser with local llm

install inference engine

install llama.cpp: go to https://github.com/ggml-org/llama.cpp and follow the instructions of your platform. Alternatively you can use other inference engines of your choice.

install OpenAI compatible layer

install llama-swap: https://github.com/mostlygeek/llama-swap and follow the instruction

download model

Best model which fits in 12GB VRAM to date is https://huggingface.co/prithivMLmods/Ophiuchi-Qwen3-14B-Instruct choose a quantization which fits in the VRAM and still has enough room fo the context. Nanabrowser uses a lot of tokens (>10K).

configuration

llama-swap

"qwen3":
@cyysky
cyysky / install_open_webui_service.bat
Last active October 24, 2025 05:51
Batch script to install Open WebUI as a Windows service using nssm and uvx, need to run it command prompt with administrator right.
@echo off
setlocal enabledelayedexpansion
echo ========================================
echo Installing Open WebUI as a Windows service
echo ========================================
:: Define variables
set "INSTALL_DIR=%~dp0"
set "INSTALL_DIR=%INSTALL_DIR:~0,-1%"
set "DATA_DIR=%INSTALL_DIR%\data"
@renschni
renschni / Manus_report.md
Last active May 9, 2026 20:52
In-depth technical investigation into the Manus AI agent, focusing on its architecture, tool orchestration, and autonomous capabilities.

I wrote an in-depth research prompt to conduct a GPT-Deep-Research on the Manus topic, seeking to replicate it with currently available open source tools. This is the result:

TLDR: Manus AI Agent Report

Manus is an autonomous AI agent built as a wrapper around foundation models (primarily Claude 3.5/3.7 and Alibaba's Qwen). It operates in a cloud-based virtual computing environment with full access to tools like web browsers, shell commands, and code execution. The system's key innovation is using executable Python code as its action mechanism ("CodeAct" approach), allowing it to perform complex operations autonomously. The architecture consists of an iterative agent loop (analyze → plan → execute → observe), with specialized modules for planning, knowledge retrieval, and memory management. Manus uses file-based memory to track progress and store information across operations. The system can be replicated using open-source components including CodeActAgent (a fine-tuned Mistral model), Docker for sandbox

@jlia0
jlia0 / agent loop
Last active May 10, 2026 16:26
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@spotnic
spotnic / Windows-11-activation-keys.md
Last active January 6, 2026 08:34 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Looking to buy Windows 11 Pro keys?

Head over to krbkeys.com. They are trustworthy, and their customer service is top-notch. If you run into any trouble activating Windows 11, their team is ready to help, and also they have a great Trustpilot score.

For a direct purchase of a Windows 11 Pro key, use this link: https://www.krbkeys.com/product/windows-11-professional-cd-key-digital-download/

@ngtrphuong
ngtrphuong / ABC.md
Created April 16, 2024 03:40 — forked from jdnichollsc/ABC.md
The Job Interview Guide

The Job Interview Guide 💼

And English is a Work in Progress ⌛

@robin-collins
robin-collins / userscript.js
Last active January 12, 2025 02:04
Claude.ai-ChatDownloader - userscript to download claude.ai chats to a text file.
// ==UserScript==
// @name Claude.ai-ChatDownloader
// @namespace http://tampermonkey.net/
// @version 1.9
// @description Download all chats from Claude.ai as a single file
// @match https://claude.ai/*
// @match https://claude.ai/chats
// @match https://claude.ai/chat/*
// @grant GM_setValue
// @grant GM_getValue
@plembo
plembo / dellchromelinux.md
Last active May 5, 2026 13:10
Linux on a Dell Chromebook 11

Linux on a Dell Chromebook 11

NOTE: The N3060 CPU's 2 cores on this old Chromebook were just too sluggish for it to be usable during that overseas trip mentioned below. It now sits unused on my lab table, as I contemplate taking it on a journey to our local county recycling center. I leave this gist here mostly out of nostalgia.

My retail (not enterprise) Dell Chromebook 11 (an Inspiron model 3181, not the 3180 or 3189) went EOL shortly after I purchased it new from Best Buy. Since then it saw some hard use in the family kitchen as a recipe lookup device, but was finally retired when replaced by a (relatively) newer Android tablet (that also reached EOL shortly thereafter).

With an overseas trip looming, I decided to look into refurbishing the Chromebook for use as a privacy hardened travel laptop. Frankly, the thought of TSA and Customs manhandling my trusty portable workstation was too much to bear.

I mostly followed the detailed instructions in the Chrultrabook Docs,