Skip to content

Instantly share code, notes, and snippets.

View cagataycali's full-sized avatar
🧬

./c² cagataycali

🧬
View GitHub Profile
@cagataycali
cagataycali / 05_quick_start_implementation_guide.md
Created September 14, 2025 16:11
LLMs-from-Scratch: Complete Infrastructure Analysis and Implementation Guide

Quick Start Implementation Guide: LLMs-from-Scratch Infrastructure Patterns

Overview

Practical implementation guide for adopting the sophisticated infrastructure patterns discovered in the LLMs-from-scratch repository. Focus on actionable steps and real-world implementation.

1. Multi-Environment Setup (Choose Your Path)

Option A: UV (Recommended for Speed)

# Install UV (ultra-fast package manager)
@cagataycali
cagataycali / 03_package_architecture.md
Created September 14, 2025 16:06
LLMs-from-Scratch: Package Architecture and Production Deployment Patterns

LLMs-from-Scratch: Package Architecture and Deployment Patterns

Overview

This document analyzes the sophisticated package architecture, deployment patterns, and production-ready implementation strategies demonstrated in the LLMs-from-scratch repository.

Package Structure Analysis

1. Modular Chapter-Based Organization

Directory Structure:

@cagataycali
cagataycali / 01_development_environment_setup.md
Created September 14, 2025 16:04
LLMs-from-Scratch Infrastructure Analysis: Development Environment Setup and Best Practices

LLMs-from-Scratch: Development Environment Setup Guide

Overview

The LLMs-from-scratch repository demonstrates sophisticated multi-environment setup patterns for machine learning development, supporting multiple package managers and deployment scenarios.

Multi-Package Manager Strategy

1. Core Dependency Management

pyproject.toml - Modern Python Packaging

@cagataycali
cagataycali / bedrock_analysis_summary.md
Created September 6, 2025 00:05
AWS Bedrock Deep Usage Pattern Analysis - June to September 2025

AWS Bedrock Usage Analysis Summary

Period: June 7 - September 5, 2025 (90 days) Region: us-west-2

🎯 Key Findings

  • Total Invocations: 58,995
  • Total Tokens Processed: 2.155B input + 31.4M output
  • Cache Hit Rate: 48.2% (saving ~$3,072)
@cagataycali
cagataycali / key-findings.md
Created September 5, 2025 04:39
ShipItFast Technical Architecture Analysis: Production-Ready Technology Curation Ecosystem

ShipItFast: Key Technical Findings

🏗️ What ShipItFast Actually Is

NOT: Another framework, platform, or SaaS product IS: A curation ecosystem solving technology choice paralysis

The Problem They Solve

  • "Awesome" lists with 500+ dead projects from 2018
  • Choice paralysis in technology selection
@cagataycali
cagataycali / agent.py
Last active July 30, 2025 17:27
Strands Agents with Qwen:30b - Telemetry enabled with Langfuse
import os
import base64
from strands import Agent
from strands.models.ollama import OllamaModel
from strands.telemetry import StrandsTelemetry
from strands_tools import shell, editor
os.environ["STRANDS_TOOL_CONSOLE_MODE"] = "enabled"
@cagataycali
cagataycali / use_github.py
Created July 22, 2025 17:38
Use GitHub GraphQL API for Strands Agents
"""GitHub GraphQL API integration tool for Strands Agents.
This module provides a comprehensive interface to GitHub's v4 GraphQL API,
allowing you to execute any GitHub GraphQL query or mutation directly from your Strands Agent.
The tool handles authentication, parameter validation, response formatting,
and provides user-friendly error messages with schema recommendations.
Key Features:
1. Universal GitHub GraphQL Access:
@cagataycali
cagataycali / README.md
Created July 18, 2025 15:05
S3 Vectors - Memory tool for Strands Agents

S3 Memory Tool - Semantic Memory with Amazon S3 Vectors

A comprehensive semantic memory tool that leverages Amazon S3 Vectors for intelligent content storage and retrieval. Store any text content and find it later using natural language queries with vector similarity search.

🚀 Key Features

  • 🧠 Semantic Search: Find content using natural language queries, not exact keywords
  • 📚 Full Content Preservation: Stores complete content without truncation or data loss
  • ⚡ Fast Vector Search: Powered by Amazon S3 Vectors native vector database capabilities
  • 🎛️ Flexible Display Control: Configurable content limits and preview modes for optimal UX
@cagataycali
cagataycali / Flipper_Zero_JS_Cheat_Sheet.md
Created July 19, 2024 22:02
A comprehensive cheat sheet for developing JavaScript code on the Flipper Zero, including examples and explanations for various functionalities like GPIO usage, BadUSB, BLE Beacon, UART, USB Disk Emulation, Sub-GHz communication, Textbox, Submenu, Notifications, Storage, and additional menus. This cheat sheet is designed to streamline the coding…

Flipper Zero JavaScript Cheat Sheet

General Structure

  • Path and File Information:
    print("Script path:", __filepath);
    print("Script directory:", __dirpath);

GPIO Usage

@cagataycali
cagataycali / readme.md
Last active March 12, 2024 20:19
Run multimodal llm (llava with llamafile) and open browser after the model start.

Install

[wget ... or download](https://gist.github.com/acaa476865821b02813b8a8e88e59c13.git)
chmod +x run-local-multimodal-llm-openai-compatible.sh
./run-local-multimodal-llm-openai-compatible.sh