What is Context?

Context in Assembly represents all the information relevant to your current development task. Unlike traditional development environments where context lives across multiple tools and tabs, Assembly brings everything together in one place, allowing AI to understand and assist with your work more effectively.

How Context Works

Smart Aggregation

Assembly automatically collects and organizes context from your connected tools and repositories.

Intelligent Understanding

Our AI analyzes relationships between different pieces of information to provide relevant insights.

Selective Focus

Prioritize the most relevant information for your current task to maintain optimal performance.

Context Limits and Optimization

Understanding Token Limits

Tokens are the fundamental units that Assembly uses to process text. Each session has a context limit based on the underlying LLM being used.

Best Practices for Context Management

1

Start Focused

Begin with core context essential to your task:

  • Main repository or file
  • Directly related tickets
  • Immediate documentation needs
2

Add Context Gradually

Expand context as needed:

  • Add related PRs when reviewing code
  • Include additional documentation when exploring features
  • Bring in historical context for deeper understanding
3

Maintain Context Hygiene

Regularly review and update your context:

  • Remove outdated or irrelevant information
  • Update stale documentation
  • Refresh context when switching tasks
4

Monitor Context Size

Keep an eye on your context usage:

  • Stay within the 40,000-80,000 token sweet spot
  • Use the context panel to track token usage
  • Remove unnecessary context when approaching limits

Next Steps