Factory introduces three core concepts that work together to transform how you build software: Context Management, Droids, and Sessions. Understanding these concepts is key to maximizing your productivity with Factory.

Context

What is Context?

Context in Factory represents all the information relevant to your current development task.

Factory supports various types of context, including:

Code Context

  • Repository contents
  • Pull requests
  • Code history
  • Local files

Documentation Context

  • Design documents
  • API specifications
  • Technical guides
  • Meeting notes

Task Context

  • Jira tickets
  • Linear issues
  • Project roadmaps
  • Sprint planning

Discussion Context

  • PR comments
  • Slack threads
  • Email threads

Droids

Droids are specialized AI assistants in Factory, each optimized for specific types of development tasks.

Understanding Droids

Droids in Factory are:

  • Pre-configured AI assistants for specific use cases
  • Optimized with specialized system prompts
  • Equipped with the right tools and models
  • Designed to excel at particular development tasks

Key Droid Types

Code Droid

Specialized in coding tasks including writing, refactoring, debugging, and testing code

Reliability Droid

Focused on incident management, RCA creation, and system reliability tasks

Knowledge Droid

Expert at documentation, codebase Q&A, and knowledge management

Product Droid

Specialized in product management tasks like creating PRDs and user stories

Tutorial Droid

Helps you learn Factory features and optimize your workflow

How Droids Work

Each Droid is pre-configured with:

1

Optimized System Prompts

Specialized instructions that guide the AI to excel at specific tasks

2

Pre-selected Tools

The right set of tools automatically enabled for each use case

3

Ideal Model Selection

The most appropriate AI model for the specific task at hand

4

Specialized Knowledge

Task-specific knowledge and best practices

Sessions & Fragments

Sessions are your working environment in Factory, featuring a malleable interface that adapts to your current task through different types of fragments.

Understanding Sessions

Sessions provide:

  • A dedicated space for your current task

  • Persistent context and conversation history

  • Collaborative features for team work

Fragment Types

Code Fragments

Write and edit code with syntax highlighting and intelligent suggestions

Documents

Create and edit markdown documents with live preview

React Components

Build and preview UI components with live rendering

Mermaid Diagrams

Create and edit system diagrams and flowcharts

Python Scripts

Run data analysis and automation scripts

HTML/CSS

Design and preview web interfaces

SVG Graphics

Create and edit vector graphics

Putting It All Together

These concepts work together to create a powerful development environment:

  1. Context provides the foundation of information

  2. Droids deliver specialized AI assistance for specific tasks

  3. Sessions & Fragments give you the right interface for each task

Start Building

Now that you understand the core concepts, try Factory yourself with our quickstart guide