Crawler Summary

agentic-ai-from-scratch answer-first brief

Agentic AI concepts, tool use, RAG, memory, agents, LangGraph, CrewAI, MCP AI Agent Fundamentals A hands-on build-up of agentic AI concepts — tool use, RAG, memory, multi-agent coordination, and evaluation — implemented first by hand in plain Python, then compared against the frameworks that automate them (LangGraph, CrewAI, Chroma). What this demonstrates - Understanding of how LLM tool-calling actually works under the hood — not just how to call a framework's API - A working RAG pipeline Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Freshness

Last checked 10/9/2026

Best For

agentic-ai-from-scratch is best for crewai, multi-agent workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB REPOS, runtime-metrics, public facts pack

Agent DossierGITHUB REPOSSafety: 66/100

agentic-ai-from-scratch

Agentic AI concepts, tool use, RAG, memory, agents, LangGraph, CrewAI, MCP AI Agent Fundamentals A hands-on build-up of agentic AI concepts — tool use, RAG, memory, multi-agent coordination, and evaluation — implemented first by hand in plain Python, then compared against the frameworks that automate them (LangGraph, CrewAI, Chroma). What this demonstrates - Understanding of how LLM tool-calling actually works under the hood — not just how to call a framework's API - A working RAG pipeline

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Oct 9, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Oct 9, 2026

Vendor

Victoriasof

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Setup snapshot

  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Victoriasof

profilemedium
Observed Oct 9, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Oct 9, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB REPOS

Extracted files

0

Examples

4

Snippets

0

Languages

python

Executable Examples

cmd

git clone https://github.com/victoriasof/agentic-ai-from-scratch.git
cd agentic-ai-from-scratch

python -m venv venv
venv\Scripts\activate

pip install -r requirements.txt
copy .env.example .env

cmd

cd stage4_agent
python agent.py

cmd

py -3.10 -m venv venv310
venv310\Scripts\activate
pip install -r requirements.txt
pip install "crewai[anthropic]"

cmd

pip install "mcp<2.0.0"

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB REPOS

Docs source

GITHUB REPOS

Editorial quality

ready

Agentic AI concepts, tool use, RAG, memory, agents, LangGraph, CrewAI, MCP AI Agent Fundamentals A hands-on build-up of agentic AI concepts — tool use, RAG, memory, multi-agent coordination, and evaluation — implemented first by hand in plain Python, then compared against the frameworks that automate them (LangGraph, CrewAI, Chroma). What this demonstrates - Understanding of how LLM tool-calling actually works under the hood — not just how to call a framework's API - A working RAG pipeline

Full README

AI Agent Fundamentals

A hands-on build-up of agentic AI concepts — tool use, RAG, memory, multi-agent coordination, and evaluation — implemented first by hand in plain Python, then compared against the frameworks that automate them (LangGraph, CrewAI, Chroma).

What this demonstrates

  • Understanding of how LLM tool-calling actually works under the hood — not just how to call a framework's API
  • A working RAG pipeline built from raw embeddings and cosine similarity, before ever using a vector database
  • The ability to evaluate whether a framework (LangGraph, CrewAI) is adding real value over a hand-rolled equivalent, for a given level of complexity
  • Basic production-readiness practices: a golden-dataset evaluation suite, structured logging, and cost tracking

Setup

git clone https://github.com/victoriasof/agentic-ai-from-scratch.git
cd agentic-ai-from-scratch

python -m venv venv
venv\Scripts\activate

pip install -r requirements.txt
copy .env.example .env

Fill in your real keys in .env:

  • ANTHROPIC_API_KEY from console.anthropic.com (you'll need to top up credits — the free trial credit runs out fast)
  • GITHUB_TOKEN from github.com/settings/tokens, no scopes needed, only used for Stage 7's public repo lookups

Never commit .env.

Windows notes, since that's what this was built on:

  • Use python, not python3 — there's no python3 alias on Windows
  • Activate the venv with venv\Scripts\activate, not the Mac/Linux source venv/bin/activate
  • If PowerShell refuses to activate the venv, either switch to Command Prompt or run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once

Each stage folder needs its own copy of docs/ (three short .txt files about a made-up company, Blorbex). They're small, so it made more sense to duplicate them per stage than to fight with relative paths across folders. Run a stage from inside its own folder:

cd stage4_agent
python agent.py

.env at the project root gets found automatically no matter which folder you run from — python-dotenv looks in the current folder and walks upward until it finds one.

One shared venv/ and one shared requirements.txt cover everything except Stage 6b — see below for why that one's different.

The stages

| Folder | File(s) | What it covers | |---|---|---| | stage1_first_call/ | chat.py | A single API call, no tools | | stage2_tool_use/ | tool_use.py | First tool call — a local calculator function | | stage2b_weather/ | weather_tool.py | A real external API call, plus the first working memory | | stage3_rag/ | rag.py, docs/ | RAG from scratch — chunking, embeddings, cosine similarity, no vector database | | stage4_agent/ | agent.py | Full agent loop — multiple tools, memory, honest "I don't know" when the data isn't there | | stage5_langgraph/ | langgraph_agent.py | Same Stage 4 agent, rebuilt in LangGraph, with a graph diagram printed out | | stage6_vector_db/ | vector_db.py | Swaps the hand-built search from Stage 3 for a real vector database (Chroma) | | stage6b_crewai_multiagent/ | crew.py | Three agents — Planner, Writer, Reviewer — with a real fix applied along the way | | stage7_authenticated_api/ | authenticated_tool.py | A real API that needs a token (GitHub), with proper error handling | | stage8_evaluation/ | evaluate.py, golden_dataset.py, observability.py, cost_guard.py | A small evaluation set, logging, and a cost cutoff I actually tested | | stage9_mcp/ | mcp_server.py, mcp_client.py | The calculator tool exposed as an MCP server, called by a separate client |

Things that broke and what I did about them

Worth writing down honestly, since none of this worked first try and the fixes taught me more than a clean run would have.

RAG picked the wrong chunk (Stage 3). With three short documents that all mention the same company, the small embedding model (all-MiniLM-L6-v2) scored the right answer for a motto question just barely below the wrong one — 0.5553 vs 0.5630. I only found this by printing the actual similarity scores instead of guessing why the answer was wrong. Fixed it by pulling the top 2 chunks instead of just the top 1, so a near-miss like that doesn't lose the right answer entirely. This isn't a bug in my code — it's a real limit of small embedding models on short, similar text, and it's exactly why bigger systems use bigger embedding models.

CrewAI kept asking for an OpenAI key (Stage 6b). Even though I never touched OpenAI, CrewAI assumes any plain model name is an OpenAI model unless told otherwise. Fixed by writing the model as "anthropic/claude-sonnet-4-6" instead of just "claude-sonnet-4-6".

Then it still failed, because Anthropic support isn't installed by default (Stage 6b). CrewAI treats it as an optional extra. Fixed with pip install "crewai[anthropic]".

Python 3.14 couldn't install CrewAI at all (Stage 6b). numpy, one of CrewAI's dependencies, had no ready-made install for Python 3.14 yet, and there's no C compiler on a normal Windows machine to build it from source. Fixed by making a second, separate environment just for this stage, using Python 3.10 instead:

py -3.10 -m venv venv310
venv310\Scripts\activate
pip install -r requirements.txt
pip install "crewai[anthropic]"

Every other stage uses the normal venv (3.14). Only stage6b_crewai_multiagent/ needs venv310.

The Reviewer agent couldn't actually review anything (Stage 6b). In the first version, the Reviewer only ever saw the Writer's finished paragraph as plain text — no access to the real documents, no tool to check anything with. So it did the honest thing and refused to approve it, saying it had no way to verify the facts. That's not a broken agent, that's a badly wired one. Fixed by giving the Reviewer the same document-search tool the Writer had, so it could actually check things itself instead of taking the Writer's word for it.

One evaluation test "failed" even though the agent was right (Stage 8). I asked a question with no answer in the documents, expecting the agent to say so — and it did, correctly. But my test was checking for exact phrases like "don't know" or "no information," and Claude said "the internal documents don't appear to contain..." instead — same meaning, different words, so the test called it a fail. I left this one as-is rather than fixing the wording, because it's a more honest demonstration of a real limitation: simple string-matching can't tell when two answers mean the same thing, only when they're written the same way.

The MCP SDK changed its API right as I was building this stage (Stage 9). A new major version (2.0.0) renamed FastMCP and moved where it lives, which broke the original code with an error that didn't obviously point to the real cause. Fixed by pinning an older version:

pip install "mcp<2.0.0"

What's not here on purpose

This is a learning project, not something meant to run in production. Missing on purpose:

  • No token-refresh handling for OAuth2 — Stage 7 uses a simpler, permanent token instead, with notes on what OAuth2 would add
  • No retry logic for failed API calls
  • No actual deployment, everything runs locally
  • The evaluation set is four questions, not a real test suite
  • requirements.txt reflects the main venv only — venv310 for Stage 6b has its own separate installs

What I'd do next

  • Make the Reviewer in Stage 6b stricter (a more skeptical backstory) and see how much that alone changes its output, separate from what tools it has
  • Give the Stage 9 MCP server more than one tool, so list_tools() actually has something to discover beyond a single function
  • Add a proper LLM-as-judge check to Stage 8, since plain string-matching clearly isn't enough
  • Try wrapping the Stage 7 pattern around something that actually needs OAuth2, now that the basic tool-calling shape is second nature

Why I built it this way

Building each piece by hand before touching a framework meant that when the frameworks did show up, I could actually tell what they were doing instead of just trusting them. The LangGraph version in Stage 5 was recognizably my own loop from Stage 4, just drawn differently. The CrewAI bug in Stage 6b took minutes to figure out because the tool-calling mechanic underneath it was already familiar — I wasn't learning the concept and debugging it at the same time.

Nothing here touches real data or runs unsupervised. Every tool works on a small, made-up dataset, and every decision an "agent" makes — which tool to use, how many times, whether to answer at all — is something Claude actually decided while running, not something I hardcoded in advance. That's the actual meaning of "agentic".

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB REPOS

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Github ReposUpdated 8h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_REPOS",
      "generatedAt": "2026-10-10T02:44:14.041Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "crewai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "multi-agent",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Victoriasof",
    "href": "https://github.com/victoriasof/agentic-ai-from-scratch",
    "sourceUrl": "https://github.com/victoriasof/agentic-ai-from-scratch",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-10-09T14:52:37.155Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-10-09T14:52:37.155Z",
    "isPublic": true
  },
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-victoriasof-agentic-ai-from-scratch/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to agentic-ai-from-scratch and adjacent AI workflows.