# We Open Sourced Our Design Brain

## Executive summary

Content Studio, a design agent developed by LangChain, has been open-sourced. This agent, which functions as a 'design brain,' generates professional assets—including graphics (as HTML pages) and videos (as animation timelines)—directly within a Slack workspace. The system is built on three layers: the open-source Deep Agents harness, the production runtime Managed Deep Agents (running on LangSmith), and a custom media harness that integrates design skills and brand assets. The process involves setting up the LangSmith API, deploying the agent via `uv run mda deploy`, and then training it with a brand book to handle complex tasks like generating launch cards and storyboarding films.

## Key takeaways

- Agent-Driven Asset Generation: Content Studio can generate diverse assets, such as launch cards in multiple sizes and 30-second launch films, based on initial inputs like product screenshots or storyboards (3:20).
- Code-Native Assets: All generated graphics are HTML pages, and videos are animation timelines, ensuring that the resulting work remains editable and on-brand (0:00).
- Multi-Layered Memory System: The agent utilizes two types of memory: Agent memory (shared by the whole team) and User memory (for individual preferences), allowing it to learn and enforce brand guidelines (2:49).
- Structured Design Workflow: The process for video creation starts with a storyboard in Paper, which the agent uses to create a rough cut before parallel scene building begins (3:47).

## Technical details

- Agent Architecture: The system is built on three layers: Deep Agents (the open-source agent harness for planning and context management), Managed Deep Agents (the production runtime on LangSmith providing Slack integration and tracing), and a custom media harness (which includes HyperFrames and Paper integration) (0:22).
- Deployment Process: Deployment requires a LangSmith API key and the use of the LangSmith LLM Gateway. The agent is deployed using the command `uv run mda deploy`, which initializes a Linux machine containing Chromium and HyperFrames (1:58).
- Brand Integration: Brand assets (logos, fonts, visuals) are provided via a 'brand folder' in the repository, which is copied into the sandbox for the agent to access during design runs (2:49).

## Practical implications

- Teams can automate the creation of brand-compliant marketing materials (launch cards, films) directly within their existing communication channels (Slack).
- The modular design (Deep Agents/MDA) allows for the integration of specialized tools (HyperFrames, Paper) into a unified AI workflow.
- The open-source nature allows build teams to fork and customize the agent for specific enterprise needs.

## Topics

AI Agents, Design Automation, LangChain, CI/CD, Generative Media, Content Studio repo, How we built our design agent

Source: https://www.youtube.com/watch?v=emId9_O2sU8
