Overview

The chat interface is your primary means of interaction with Factory. It combines natural language communication with powerful context-aware features to help you accomplish your development tasks efficiently.

Key Features

Context Integration

Seamlessly incorporate code, documentation, and other context

@ Commands

Quick access to repositories, files, and external resources

Chat History

Navigate and branch conversations with visual history tracking

Using @ Commands

Factory provides several @ commands for quick context access:

Available Commands

Chat History

The chat history feature helps you navigate and manage your conversations effectively.

Visual History Graph

1

Access History

Open the Chat History panel to view a visual graph of your conversation

2

Navigate Branches

Click on different nodes to move between conversation states

3

Create Branches

Start new conversation branches from any point in history

4

Track Context

See how context changes affect your conversation flow

History Features

  • Branch Management: Create and switch between different conversation paths

  • Context Tracking: Visualize when context was added or modified

  • State Navigation: Jump to specific points in your conversation

  • Branch Comparison: Compare different approaches to the same problem

Best Practices

1. Clear Communication

  • Use specific, detailed questions

  • Break complex requests into steps

  • Provide necessary context upfront

  • Ask for clarification when needed

2. Context Management

  • Use @ commands strategically

  • Keep context relevant and focused

  • Update context when requirements change

  • Remove outdated context

3. History Navigation

  • Create branches for different approaches

  • Label important conversation points

  • Use history to compare solutions

  • Clean up unused branches

4. Effective Questioning

  • Start broad, then narrow down

  • Include relevant details

  • Reference specific context

  • Follow up on unclear points

Advanced Features

Code Interaction

# You can share code directly in chat
def example():
    return "Hello, World!"

File Handling

  • Upload files directly to chat

  • Reference uploaded files in conversation

  • Export chat contents and fragments

Keyboard Shortcuts

  • : Edit last message

  • Cmd/Ctrl + K: Command palette

  • Cmd/Ctrl + /: Quick commands

  • Cmd/Ctrl + B: Toggle sidebar

Troubleshooting

Next Steps