Tech Ocean
Author

Tech Ocean

Focused on AI programming, sharing ready-to-use development efficiency solutions.

158
Articles
0
Likes
1.2k
Views
0
Comments
Recent Articles

Latest from Tech Ocean

100 recent articles max
Tech Ocean
Tech Ocean
May 5, 2026 · Artificial Intelligence

How the Deep Agents ‘task’ Tool Delegates Complex Work to Sub‑Agents

The article explains how Deep Agents’ task tool splits complex responsibilities into a main agent that schedules and sub‑agents that execute specialized roles, detailing the tool’s placement, SubAgent definition, predefined versus dynamic agents, context isolation, AsyncSubAgent use cases, and practical criteria for when to decompose tasks.

AsyncSubAgentDeepAgentsSubAgent
0 likes · 11 min read
How the Deep Agents ‘task’ Tool Delegates Complex Work to Sub‑Agents
Tech Ocean
Tech Ocean
May 5, 2026 · Artificial Intelligence

Why AI Agents Need a Safe ‘execute’ Tool: Running Commands and Managing Risks

The article explains how the execute tool lets Deep Agents run shell commands and close the verification loop, but also outlines the security risks, backend choices, sandbox options, permission handling, human‑in‑the‑loop approval, and logging best practices required for safe deployment.

AI agentsbackendexecute tool
0 likes · 11 min read
Why AI Agents Need a Safe ‘execute’ Tool: Running Commands and Managing Risks
Tech Ocean
Tech Ocean
May 5, 2026 · Backend Development

Switching an Agent’s File System Like Building Blocks with Deep Agents Backend

The article explains Deep Agents’ Backend abstraction, compares StateBackend, FilesystemBackend, StoreBackend, LocalShellBackend and CompositeBackend, and provides a step‑by‑step selection guide based on persistence, sharing, and command‑execution isolation, with code examples and routing tables for practical implementation.

CompositeBackendDeepAgentsFilesystemBackend
0 likes · 10 min read
Switching an Agent’s File System Like Building Blocks with Deep Agents Backend
Tech Ocean
Tech Ocean
May 2, 2026 · Backend Development

Day 4 Deep Agents: File System & Permission Boundaries for Safe AI Editing

The article explains how Deep Agents separates file tools, backend storage, and permission rules to prevent AI from missing required files or accessing forbidden ones, detailing virtual file system defaults, permission configuration syntax, ordering rules, and sub‑agent inheritance for secure code editing.

AI Code EditingDeep AgentsFilesystemPermission
0 likes · 10 min read
Day 4 Deep Agents: File System & Permission Boundaries for Safe AI Editing
Tech Ocean
Tech Ocean
May 2, 2026 · Artificial Intelligence

write_todos: A Guardrail, Not a To‑Do List, for Keeping Agents on Track

The article explains how the write_todos tool in Deep Agents serves as a process controller that breaks long tasks into observable steps, updates status in real time, and prevents agents from losing track, offering concrete guidelines, data structures, and best‑practice rules for effective task management.

AI task managementDeep AgentsLong-running Tasks
0 likes · 9 min read
write_todos: A Guardrail, Not a To‑Do List, for Keeping Agents on Track
Tech Ocean
Tech Ocean
May 2, 2026 · Artificial Intelligence

Switch Over 20+ LLM Providers with a Single String in Deep Agents

The article explains how Deep Agents compresses model provider switching into a one‑line "provider:model" string, compares this approach with passing a LangChain model instance, and provides installation, configuration, and best‑practice guidance for both standard and domestic AI services.

AI agentsConfigurationDeepAgents
0 likes · 11 min read
Switch Over 20+ LLM Providers with a Single String in Deep Agents
Tech Ocean
Tech Ocean
Apr 29, 2026 · Artificial Intelligence

How to Connect Claude Desktop to DeepSeek V4 for 1M‑Token Context

This guide walks through installing Claude Desktop, enabling Developer Mode, obtaining a DeepSeek API key, configuring the Anthropic‑compatible gateway, adding DeepSeek V4‑Pro and V4‑Flash models (including the 1M‑token variant), verifying the setup, and troubleshooting common issues.

1M contextAnthropic-compatibleClaude Desktop
0 likes · 9 min read
How to Connect Claude Desktop to DeepSeek V4 for 1M‑Token Context
Tech Ocean
Tech Ocean
Apr 28, 2026 · Artificial Intelligence

Deep Agents Day 1: 3 Key Differences for LangChain Users

This article explains how Deep Agents differs from LangChain and LangGraph, outlines the built‑in capabilities it provides for long‑task agents, details its middleware architecture and key parameters, and advises when to adopt Deep Agents versus staying with LangChain.

AIAgentDeepAgents
0 likes · 12 min read
Deep Agents Day 1: 3 Key Differences for LangChain Users
Tech Ocean
Tech Ocean
Apr 27, 2026 · Artificial Intelligence

Building a RAG Agent with LangGraph: Precisely Answer Your Private Knowledge Base

This tutorial walks through the RAG Agent architecture, core components, Python implementation, continuous dialogue handling, integration with a real vector store, and a performance comparison with pure RAG, demonstrating how to enable AI to retrieve and answer from a private knowledge base.

AgentLLMLangGraph
0 likes · 5 min read
Building a RAG Agent with LangGraph: Precisely Answer Your Private Knowledge Base