{"id":"4fa67bcf-9315-45c2-b28b-6cc5096aad03","entityType":"agent","slug":"crewai-tdiprima-ai-agent-flow","name":"AI-Agent-Flow","canonicalUrl":"https://www.xpersona.co/agent/crewai-tdiprima-ai-agent-flow","canonicalPath":"/agent/crewai-tdiprima-ai-agent-flow","generatedAt":"2026-10-09T01:03:16.781Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":null},"description":"Runnable Python examples for LangChain, CrewAI, LangGraph, and Pydantic AI agents with real-world use cases. AI-Agent-Flow A hands-on collection of working AI agent examples across seven frameworks — LangChain, CrewAI, LangGraph, Pydantic AI, AutoGen, Agno, and smolagents. The Problem With Learning Agent Frameworks Every major AI agent framework has its own mental model, API style, and tradeoffs. Reading docs only gets you so far — you need runnable, real-world examples to understand when to reach for CrewAI versus LangGrap","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 5/18/2026.","installCommand":"git clone https://github.com/tdiprima/AI-Agent-Flow.git","sourceUrl":"https://github.com/tdiprima/AI-Agent-Flow","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/tdiprima/AI-Agent-Flow","kind":"source"}],"safetyScore":66,"overallRank":22.6,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Runnable Python examples for LangChain, CrewAI, LangGraph, and Pydantic AI agents with real-world use cases. AI-Agent-Flow A hands-on collection of working AI a"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"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"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-05-18T06:45:22.621Z","emptyReason":null},"lastUpdatedAt":"2026-05-18T06:45:22.622Z","lastCrawledAt":"2026-05-18T06:45:22.621Z","lastIndexedAt":null,"nextCrawlAt":"2026-05-25T06:45:22.621Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/tdiprima/AI-Agent-Flow.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","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."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T01:03:16.781Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-tdiprima-ai-agent-flow/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":null},"readme":"# AI-Agent-Flow\n\n![License](https://img.shields.io/github/license/tdiprima/OpenAI-Cookbook)\n![Languages](https://img.shields.io/github/languages/top/tdiprima/OpenAI-Cookbook)\n![Personal](https://img.shields.io/badge/repo-personal-blueviolet)\n\nA hands-on collection of working AI agent examples across seven frameworks — LangChain, CrewAI, LangGraph, Pydantic AI, AutoGen, Agno, and smolagents.\n\n## The Problem With Learning Agent Frameworks\n\nEvery major AI agent framework has its own mental model, API style, and tradeoffs. Reading docs only gets you so far — you need runnable, real-world examples to understand when to reach for CrewAI versus LangGraph, or why type-safe agents with Pydantic AI matter for production systems. Most tutorials cover hello-world; few show frameworks doing actual work.\n\n## Working Examples, Not Toy Demos\n\nEach module in this repo solves a real problem using a specific framework. They run end-to-end, connect to live APIs, and demonstrate patterns you'd actually use in production: multi-agent collaboration, RAG with memory, conditional workflow routing, structured output validation, email alerting, and web scraping with deduplication.\n\n## Example: Stock Alert System with CrewAI\n\nTwo agents collaborate — a Researcher fetches current and previous prices from Yahoo Finance, and an Analyst calculates the change and sends an email alert if a threshold is crossed:\n\n```bash\n# Configure your stocks and alert threshold\nvim src/crewai_stock_alert_system/config.py\n\n# Run the multi-agent crew\npython src/crewai_stock_alert_system/run_stock_alert.py\n```\n\nThe Researcher and Analyst agents hand off context automatically. If AAPL drops more than 2%, an email goes out.\n\n## Usage\n\n### Prerequisites\n\n- Python 3.10+\n- [`uv`](https://docs.astral.sh/uv/) package manager\n\n### Setup\n\n```bash\n# Install dependencies\nuv sync\n\n# Copy and fill in your API keys\ncp .env_sample .env\n```\n\n**Required environment variables** (see `.env_sample`):\n\n| Variable | Purpose |\n|---|---|\n| `OPENAI_API_KEY` | Required by all agents |\n| `WEATHER_API_KEY` | OpenWeatherMap (RAG agent) |\n| `EMAIL_SENDER` | Gmail address (stock alerts) |\n| `EMAIL_PASSWORD` | Gmail app password (stock alerts) |\n| `EMAIL_RECEIVER` | Alert recipient (stock alerts) |\n\n### Run Any Example\n\n| Agent | Framework | What It Does | Command |\n|---|---|---|---|\n| Reasoning transparency | Agno | Shows GPT thinking step-by-step | `python src/agno_hello/hello_agno.py` |\n| Multi-agent dev team | AutoGen | CodeGen + Tester agents write and critique code | `python src/autogen_dev_team/create_sorting_algorithm.py` |\n| Stock alert system | CrewAI | Monitors prices and sends email alerts | `python src/crewai_stock_alert_system/run_stock_alert.py` |\n| Weather RAG agent | LangChain | Conversational Q&A over live forecast data | `python src/langchain_rag_agent/rag_agent.py` |\n| Branching workflow | LangGraph | Routes inputs to research, analysis, or escalation | `python src/langgraph_branching_agent/run_branching_agent.py` |\n| News analyzer | Pydantic AI | Sentiment, topics, and scoring with type-safe outputs | `python src/pydantic_ai_example/news_analyzer.py` |\n| News scraper | Pydantic AI | Fetches RSS feeds and stores validated articles in SQLite | `python src/type_safe_news_agent/run_news_agent.py` |\n| Web search agent | smolagents | Answers questions using live web search | `python src/smolagents_hello/hello_smolagents.py` |\n\n> **Note:** The news analyzer reads from the database created by the news scraper. Run `run_news_agent.py` first.\n\n### Project Layout\n\n```\nsrc/\n├── agno_hello/                  # Agno reasoning example\n├── autogen_dev_team/            # AutoGen multi-agent code collaboration\n├── crewai_stock_alert_system/   # CrewAI stock monitoring with email\n├── langchain_rag_agent/         # LangChain RAG with FAISS + conversation memory\n├── langgraph_branching_agent/   # LangGraph conditional routing\n├── pydantic_ai_example/         # Pydantic AI news analysis\n├── smolagents_hello/            # smolagents web search\n└── type_safe_news_agent/        # Pydantic AI news scraper + SQLite\ndocs/                            # Per-framework writeups\n```\n","readmeExcerpt":"AI-Agent-Flow A hands-on collection of working AI agent examples across seven frameworks — LangChain, CrewAI, LangGraph, Pydantic AI, AutoGen, Agno, and smolagents. The Problem With Learning Agent Frameworks Every major AI agent framework has its own mental model, API style, and tradeoffs. Reading docs only gets you so far — you need runnable, real-world examples to understand when to reach for CrewAI versus LangGrap","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Configure your stocks and alert threshold\nvim src/crewai_stock_alert_system/config.py\n\n# Run the multi-agent crew\npython src/crewai_stock_alert_system/run_stock_alert.py"},{"language":"bash","snippet":"# Install dependencies\nuv sync\n\n# Copy and fill in your API keys\ncp .env_sample .env"},{"language":"text","snippet":"src/\n├── agno_hello/                  # Agno reasoning example\n├── autogen_dev_team/            # AutoGen multi-agent code collaboration\n├── crewai_stock_alert_system/   # CrewAI stock monitoring with email\n├── langchain_rag_agent/         # LangChain RAG with FAISS + conversation memory\n├── langgraph_branching_agent/   # LangGraph conditional routing\n├── pydantic_ai_example/         # Pydantic AI news analysis\n├── smolagents_hello/            # smolagents web search\n└── type_safe_news_agent/        # Pydantic AI news scraper + SQLite\ndocs/                            # Per-framework writeups"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Runnable Python examples for LangChain, CrewAI, LangGraph, and Pydantic AI agents with real-world use cases. AI-Agent-Flow A hands-on collection of working AI agent examples across seven frameworks — LangChain, CrewAI, LangGraph, Pydantic AI, AutoGen, Agno, and smolagents. The Problem With Learning Agent Frameworks Every major AI agent framework has its own mental model, API style, and tradeoffs. Reading docs only gets you so far — you need runnable, real-world examples to understand when to reach for CrewAI versus LangGrap","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":395,"uniquenessScore":64,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-05-18T06:45:22.622Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:03:16.781Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}