klotz: context*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. - **Inference** – Platforms and engines for running models, plus user interfaces.
    - **Models** – LLMs (general, coding, multimodal, image, audio), model providers, and specific model highlights.
    - **RAG** – Retrieval-Augmented Generation tools.
    - **Safeguards** – Safety and content filtering.
    - **Agents & Tools** – Agent frameworks, Model Context Protocol, coding agents, computer/browser automation, memory management, and testing/evaluation.
    - **Research, Training & Fine-tuning** – Security, sandboxing, and model development.
    - **Hardware** – Local hardware options.
    - **Tutorials** – Guides covering models, prompt/context engineering, inference, agents, and RAG.
    - **Communities** – Places to connect and share knowledge.
  2. Adam Conway writes that running the Qwen 3.6 27B large language model locally on the Tines 3B platform demonstrated that context window constraints, not model capability, were the primary bottleneck in vibe coding. Despite never encountering the platform's specific architecture or documentation, the model successfully constructed a multi-step web application that combined RSS feeds, correctly following novel platform conventions and autonomously debugging its own output. The author notes that while the model occasionally stalled or lost progress due to a 100,000-token limit that maxed out his GPU's VRAM, it ultimately reasoned its way through complex architectural flaws and timeout issues by iteratively testing and refactoring code, proving highly capable when paired with attentive human oversight.

    - Tines 3B injects API credentials through an external proxy, ensuring they never touch the generated code or the model's context window.
    - The experiment ran Qwen 3.6 27B on a local Radeon RX 7900 XTX via llama.cpp with multi-token prediction, yielding 40-50 tokens per second.
    - Platform behavior was governed by a 4,586-word AGENTS.md rulebook defining Docker volume modes, routing syntax, and cron configurations.
    - Context overflow forced manual session forks, causing the model to lose previously verified fixes and inadvertently overwrite functional cache data during timeout retries.
  3. > Lessons from building a fast, reliable scientific agent with local open-weight models, vLLM, and long-context infrastructure
  4. **Redis Iris** is a context and memory platform designed for agentic pull architectures. It replaces static RAG with dynamic, live-synced data, semantic tool access, and session management to handle high-frequency AI agent requests at scale.

    * Delivers petabyte-scale retrieval with sub-millisecond latency by optimizing costs (99% flash/SSD, 1% RAM).
    * Auto-generates MCP tools via Pydantic models, enabling agents to query business data directly with row-level access controls.
    * Uses CDC pipelines for continuous synchronization with sources like Snowflake, Databricks, and Postgres.
    2026-05-19 Tags: , , , , , , , by klotz
  5. This article explores the critical architectural decision of where to store conversation history when building AI agents. It examines how different storage strategies impact user experience, privacy, cost, and portability. The author compares service-managed versus client-managed storage models and details how modern APIs support both linear threads and forking/branching capabilities.
    Key topics include:
    * Service-Managed vs. Client-Managed storage tradeoffs
    * Linear (single-threaded) vs. Forking-capable conversation models
    * Strategies for context window management and compaction such as truncation, summarization, and sliding windows
    * How Microsoft Agent Framework abstracts these patterns using AgentSession and ChatHistoryProvider to ensure provider-agnostic code
    * Practical implementation examples for the Responses API in different modes
  6. A new ETH Zurich study challenges the common practice of using `AGENTS.md` files with AI coding agents. LLM-generated context files decrease performance (3% lower success rate, +20% steps/costs).Human-written files offer small gains (4% success rate) but also increase costs. Researchers recommend omitting context files unless manually written with non-inferable details (tooling, build commands).They tested this using a new dataset, AGENTbench, with four agents.
  7. RAG combines language models with external knowledge. This article explores context & retrieval in RAG, covering search methods (keywords, TF-IDF, embeddings/FAISS/Chroma), context length challenges (compression, re-ranking), and contextual retrieval (query & conversation history).
  8. This research introduces Doc-to-LoRA (D2L), a method for efficiently processing long documents with Large Language Models (LLMs). D2L creates small, adaptable "LoRA" modules that distill key information from a document, allowing the LLM to answer questions without needing the entire document in memory. This significantly reduces latency and memory usage, enabling LLMs to handle contexts much longer than their original capacity and facilitating faster knowledge updates.
    2026-02-27 Tags: , , , by klotz
  9. Here’s the simplest version — key sentence extraction:


    <pre>
    ```
    def extract_relevant_sentences(document, query, top_k=5):
    sentences = document.split('.')
    query_embedding = embed(query)
    scored = »
    for sentence in sentences:
    similarity = cosine_sim(query_embedding, embed(sentence))
    scored.append((sentence, similarity))
    scored.sort(key=lambda x: x 1 » , reverse=True)
    return '. '.join( s[0 » for s in scored :top_k » ])
    ```
    </pre>

    For each sentence, compute similarity to the query. Keep the top 5. Discard the rest
  10. mcp-cli is a lightweight CLI that enables dynamic discovery of MCP servers, reducing token consumption and making tool interactions more efficient for AI coding agents.
    2026-01-09 Tags: , , , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: context

About - Propulsed by SemanticScuttle