End-to-end, code-first tutorials for building production-grade GenAI agents. From prototype to enterprise deployment.
38 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tutorials/fastapi-agent/scripts/fastapi_agent.py | 61 | # Create an instance of our agent |
| MEDIUM | tutorials/fastapi-agent/scripts/fastapi_agent.py | 70 | # Create a synchronous endpoint for the agent |
| MEDIUM | tutorials/fastapi-agent/scripts/fastapi_agent.py | 77 | # Create a streaming endpoint for the agent |
| MEDIUM | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 12 | # Create a pseudo-research tool that returns fake information |
| MEDIUM | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 82 | # Create the task for our topic |
| MEDIUM | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 99 | # Create the crew with just our blog writer |
| MEDIUM | tutorials/agent-with-streamlit-ui/app.py | 36 | # Define a function to generate a response from the AI given a user message |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tutorials/runpod-gpu-deploy/README.md | 271 | --header "authorization: [YOUR_API_KEY]" \ |
| HIGH | …od-gpu-deploy/crew-ai-ollama-runpod-tutorial/README.md | 79 | --header "authorization: [YOUR_API_KEY]" \ |
| HIGH | tutorials/agent-with-streamlit-ui/app.py | 17 | # client = openai.OpenAI(api_key="sk-your-api-key") # (Not recommended to hard-code in real apps) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tutorials/runpod-gpu-deploy/README.md | 0 | creates a blog post on the given topic using crewai |
| HIGH | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 0 | creates a blog post on the given topic using crewai |
| HIGH | …od-gpu-deploy/crew-ai-ollama-runpod-tutorial/README.md | 0 | creates a blog post on the given topic using crewai |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tutorials/fastapi-agent/run_server.py | 21 | except Exception as e: |
| MEDIUM | tutorials/fastapi-agent/run_server.py | 22 | print(f"Error running server: {e}") |
| LOW | tutorials/runpod-gpu-deploy/README.md | 126 | except Exception as e: |
| LOW | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 128 | except Exception as e: |
| LOW | …od-gpu-deploy/crew-ai-ollama-runpod-tutorial/README.md | 155 | except Exception as e: |
| LOW | tutorials/agent-security-apex/model_testing_tools.py | 73 | except Exception as e: |
| MEDIUM | tutorials/agent-security-apex/model_testing_tools.py | 74 | print(f"Error loading CSV file: {e}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tutorials/fastapi-agent/scripts/fastapi_agent.py | 1 | |
| LOW | tutorials/fastapi-agent/scripts/fastapi_agent.py | 1 | |
| LOW | tutorials/fastapi-agent/scripts/fastapi_agent.py | 1 | |
| LOW | tutorials/fastapi-agent/scripts/fastapi_agent.py | 6 | |
| LOW | …d-gpu-deploy/crew-ai-ollama-runpod-tutorial/handler.py | 6 | |
| LOW | tutorials/agent-with-streamlit-ui/app.py | 6 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tutorials/kotlin-agent-with-koog/run.sh | 2 | # ------------------------------------------------------- |
| MEDIUM | tutorials/kotlin-agent-with-koog/run.sh | 5 | # ------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …torials/ai-memory-with-cognee/guido_contributions.html | 40 | var nodes = [{"name": "", "type": "DocumentChunk", "ontology_valid": false, "version": 1, "topological_rank" |
| LOW | …ls/ai-memory-with-cognee/data/guido_contributions.json | 194 | "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\ |
| LOW | …ls/ai-memory-with-cognee/data/guido_contributions.json | 195 | "after_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\n |
| LOW | …ls/ai-memory-with-cognee/data/guido_contributions.json | 196 | "diff_context": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tutorials/docker-intro/README.md | 401 | #1 transferring context: 2B done |
| LOW | tutorials/kotlin-agent-with-koog/tutorial.md | 181 | // "suspend fun main()" is Kotlin's way of writing an async main function. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tutorials/agent-security-apex/model_testing_tools.py | 16 | async def generate_chatgpt_response(client: AsyncOpenAI, prompt, system_prompt): |
| LOW | tutorials/agent-security-apex/model_testing_tools.py | 49 | def check_password_in_response(response): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tutorials/agent-security-apex/model_testing_tools.py | 139 | # Check if encoding succeeded where unencoded failed |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …rials/agent-security-apex/prompt_manipulation_tools.py | 1 |