BeFreed
    Categories>Technology>Build a TypeScript CLI Research Agent with Specialized Sub-Agents

    Build a TypeScript CLI Research Agent with Specialized Sub-Agents

    28 min
    |
    |
    Apr 8, 2026
    TechnologyAIProductivity

    Learn to build a TypeScript CLI research agent with specialized sub-agents for deep research, auditing, and writing. Features Docker, Modal GPU, and Node.js.

    Build a TypeScript CLI Research Agent with Specialized Sub-Agents

    Best quote from Build a TypeScript CLI Research Agent with Specialized Sub-Agents

    “

    It’s an architectural solution to a prompting problem. By giving each agent a smaller, more focused task, the quality of the output skyrockets because the LLM isn't trying to juggle a dozen different goals at once.

    ”

    This audio lesson was created by a BeFreed community member

    Input question

    Build a TypeScript CLI research agent with four specialized sub-agents: Researcher, Reviewer, Writer, and Verifier. Deliver capabilities as Markdown skill files synced to a local skills directory on startup. Expose slash commands (/deepresearch, /lit, /audit, /replicate) that dispatch agents in parallel across papers, web, and repos. Ground every output in cited sources with direct URLs. Add Docker for safe execution and Modal/RunPod for GPU compute. Stack: TypeScript, Node.js.

    Host voices
    Lenaplay
    Milesplay
    Learning style
    Deep
    Knowledge sources
    Keras Reinforcement Learning Projects
    ChatGPT for Dummies
    Artificial Intelligence and Generative AI for Beginners
    Developing Backbone.js Applications
    Kubernetes Patterns
    What Is ChatGPT Doing ... and Why Does It Work?

    Frequently Asked Questions

    Discover more

    Cli agents

    Cli agents

    LEARNING PLAN

    Cli agents

    As automation shifts toward AI-driven workflows, mastering intelligent command-line tools is essential for modern developers. This plan is ideal for software engineers and DevOps professionals looking to transition from basic scripts to autonomous, AI-integrated agents.

    3 h 10 m•4 Sections
    How to setup ai agents like a pro

    How to setup ai agents like a pro

    LEARNING PLAN

    How to setup ai agents like a pro

    This plan is essential for developers and business leaders looking to move beyond basic prompts into the world of autonomous systems. It provides a technical roadmap for anyone wanting to automate complex operations and scale productivity using advanced AI architectures.

    4 h 26 m•4 Sections
    Understand creating prompts for AI

    Understand creating prompts for AI

    LEARNING PLAN

    Understand creating prompts for AI

    As AI becomes a core workplace tool, the ability to direct these systems effectively is a critical competitive advantage. This plan is designed for professionals and creators looking to transition from basic chat interactions to building sophisticated, autonomous AI workflows.

    3 h 37 m•4 Sections
    Chat GPT prompts

    Chat GPT prompts

    LEARNING PLAN

    Chat GPT prompts

    Effective prompt engineering unlocks the full potential of AI language models, turning basic interactions into powerful tools for problem-solving and content creation. This learning plan benefits professionals, creators, and enthusiasts seeking to leverage AI as a productivity multiplier rather than just a novelty.

    3 h 36 m•4 Sections
    Ai researcher

    Ai researcher

    LEARNING PLAN

    Ai researcher

    This path is designed for aspiring researchers and engineers looking to move beyond simple implementation to deep innovation. It bridges the gap between basic coding and high-level algorithmic research, making it ideal for those targeting roles in advanced AI labs.

    2 h 50 m•4 Sections
    AI Cybersecurity: How Claude Mythos Transforms Vulnerability Discovery
    BLOG

    AI Cybersecurity: How Claude Mythos Transforms Vulnerability Discovery

    Discover how Anthropic's Claude Mythos uses agentic AI to find software vulnerabilities faster than human teams. Explore the future of AI cybersecurity.

    BeFreed Team

    Use AI to enhance daily life

    Use AI to enhance daily life

    LEARNING PLAN

    Use AI to enhance daily life

    As AI rapidly shifts from experimental technology to everyday tool, the gap between those who can harness it effectively and those who can't is widening. This learning plan is essential for professionals, entrepreneurs, students, and curious individuals who want to stay relevant and amplify their capabilities rather than being left behind. Whether you're overwhelmed by AI hype or already dabbling with ChatGPT, this structured approach will transform you from a casual user into someone who strategically leverages AI to multiply their impact.

    2 h 6 m•5 Sections
    Self-Improvement, Social Skills & Tech Study

    Self-Improvement, Social Skills & Tech Study

    LEARNING PLAN

    Self-Improvement, Social Skills & Tech Study

    In an industry that increasingly values the 'T-shaped' professional, technical brilliance alone is no longer enough. This plan is designed for aspiring developers who want to pair programming expertise with the psychological resilience and social intelligence required for high-level leadership.

    2 h 48 m•4 Sections

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star
    1.5K Ratings4.7
    Start your learning journey, now
    BeFreed App
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy

    Key Takeaways

    1

    Beyond the Single Prompt Fallacy

    0:00
    0:13
    0:27
    0:45
    1:00
    2

    Defining the Team through Specialized Skill Files

    1:10
    1:25
    1:55
    2:03
    2:26
    2:36
    3:02
    3:16
    3:39
    3:45
    4:13
    3:16
    4:34
    4:46
    3

    Orchestrating Slash Commands and Parallel Dispatch

    5:03
    5:19
    5:41
    3:16
    6:10
    6:14
    6:37
    6:48
    7:10
    7:20
    7:42
    7:48
    8:07
    3:16
    8:40
    8:52
    4

    Securing the Agent with Docker Sandboxing

    9:04
    9:29
    9:47
    3:16
    10:11
    3:45
    10:37
    10:48
    11:12
    11:17
    11:37
    11:40
    11:54
    12:02
    12:20
    12:35
    5

    Scaling Up with Remote GPU Compute

    12:48
    13:05
    13:22
    13:28
    13:46
    3:16
    14:11
    6:14
    14:34
    14:38
    15:01
    15:08
    15:19
    15:23
    15:46
    16:03
    6

    Grounding Every Claim with Provenance and Citations

    16:14
    16:27
    16:46
    16:50
    17:15
    3:16
    17:38
    17:44
    18:06
    11:40
    18:33
    18:43
    19:00
    19:07
    19:18
    10:48
    7

    Building Long-term Value with Episodic Memory

    19:43
    20:00
    20:21
    20:26
    20:37
    20:45
    21:01
    3:45
    21:29
    21:33
    21:49
    22:01
    22:18
    22:36
    8

    Practical Playbook for the AI Engineer

    22:47
    23:05
    23:26
    23:33
    23:54
    23:59
    24:26
    24:33
    24:51
    24:54
    25:15
    25:22
    25:42
    25:49
    26:10
    3:16
    9

    Closing Reflections on the Future of Agentic Research

    26:22
    26:39
    26:54
    27:17
    27:31
    1:55
    10:48
    28:13

    More like this

    AI agents are more than just better prompting book cover
    Keras Reinforcement Learning ProjectsHow to Stay Smart in a Smart WorldWhat Is ChatGPT Doing ... and Why Does It Work?Rebooting AI
    26 sources
    AI agents are more than just better prompting
    Stop babysitting your AI. Learn how agents use planning and memory to solve complex tasks autonomously so you can move beyond simple chat prompts.
    30 min
    Writing AI Prompts That Actually Work book cover
    Artificial Intelligence and Generative AI for BeginnersHow to Talk to AnyoneSense of StyleThank You for Arguing
    24 sources
    Writing AI Prompts That Actually Work
    Stop getting generic AI results by treating it like a search engine. Learn how to use context and roles to turn vague briefs into high-quality output.
    31 min
    Prompt engineering for better AI reasoning book cover
    Every Prompt Engineering Technique Explained: The Research-Backed Guide (2026) | SurePromptsPrompt Engineering Guide 2026: Advanced Techniques That Actually Work | Happycapy GuidePrompt Engineering Best Practices: Tips, Tricks, and Tools | DigitalOceanMastering Prompt Engineering: An In-depth Look at Key Techniques - Jon Bishop
    7 sources
    Prompt engineering for better AI reasoning
    Stop guessing which prompts work. Learn how to use Chain of Thought and Tree of Thoughts to improve accuracy and build reliable AI architectures.
    28 min
    Build a Private AI Encyclopedia for Your Data book cover
    Artificial Intelligence and Generative AI for BeginnersChatGPT for DummiesKeras Reinforcement Learning ProjectsPython Cookbook
    17 sources
    Build a Private AI Encyclopedia for Your Data
    Stop drowning in messy digital archives. Learn how to use a TypeScript CLI and AI agents to turn raw data into a structured, local-first personal wiki.
    27 min
    AI agents are more than just chatbots book cover
    Keras Reinforcement Learning ProjectsAutomation AdvantageHow to Stay Smart in a Smart WorldIrreplaceable
    21 sources
    AI agents are more than just chatbots
    Struggling with digital busywork? Learn how to move beyond simple prompts to build persistent AI agents that manage your schedule and automate tasks.
    29 min
    Agentic AI: Why Chatbots Aren't Enough Anymore book cover
    Keras Reinforcement Learning ProjectsRebooting AISuperintelligenceImpromptu
    24 sources
    Agentic AI: Why Chatbots Aren't Enough Anymore
    Stop settling for simple chat responses. Learn how to build autonomous agent architectures using ReAct loops and multi-agent teams to get real work done.
    27 min
    Impromptu book cover
    Impromptu
    Reid Hoffman with GPT-4
    A visionary exploration of AI's potential to enhance human capabilities, written in collaboration with GPT-4.
    9 min
    User Research book cover
    User Research
    Stephanie Marsh
    A practical guide to understanding users through research methods, enhancing product design and user experience for businesses.
    9 min