Skip to content

add ollama version and instruction for teenages#86

Open
ezcat207 wants to merge 4 commits intoshareAI-lab:mainfrom
ezcat207:main
Open

add ollama version and instruction for teenages#86
ezcat207 wants to merge 4 commits intoshareAI-lab:mainfrom
ezcat207:main

Conversation

@ezcat207
Copy link

Title: feat: add Ollama support and simplified instructions for teenagers
Summary
This PR introduces two major updates to the learn-claude-code repository:

Ollama Integration: A parallel set of agent scripts (s01 through s12) that utilize Ollama via its OpenAI-compatible API. This allows users to run the entire agent evolution series using local models (e.g., qwen2.5-coder:7b).

Teenager-Focused Docs: A new documentation suite under docs/en-13year/ designed to explain complex agentic concepts (loops, tools, context management, and teams) to a younger audience (ages 13+).

Key Technical Changes

  1. Local Model Support (Ollama)
    API Adaptation: Implemented agents/s*_ollama.py versions of all core sessions. These scripts replace the Anthropic SDK with the openai Python library to interface with Ollama’s local server.

Format Transformation: * Converted Anthropic’s input_schema tool definitions to OpenAI’s function.parameters format.

Adapted the agent loop to handle OpenAI-style tool_calls and finish_reason.

Updated message structures to support the role: "tool" requirement.

Environment Variables: Added OLLAMA_BASE_URL and OLLAMA_MODEL_ID to the .env configuration.

  1. Educational Content
    Simplified Concepts: Created 12 new markdown files that break down professional agent engineering into relatable analogies (e.g., describing context windows as "sticky notes" or subagents as "helpers with clean desks").

Step-by-Step Code Walkthroughs: The docs include simplified Python snippets specifically tailored to the local Ollama implementation.

ezcat207 added 4 commits March 1, 2026 17:06
…llama with corresponding documentation and configuration.
…res with Ollama implementations, documentation, and LiteLLM configuration.
…operations, and worktree task isolation, along with their documentation and LiteLLM configuration.
@vercel
Copy link

vercel bot commented Mar 16, 2026

@ezcat207 is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant