After testing every AI coding tool available - Copilot, Cursor, Codeium, and more - I can definitively say Factory AI is different. It's not another line-completion tool. It's a platform with specialized AI agents (Droids) that handle your entire development workflow: coding, debugging, research, documentation, and production incidents.
This is the complete Factory AI guide based on real usage. You'll learn setup, how each Droid works, context management, integrations, and workflows for students, professional developers, and teams.
Get 40M Free Tokens
Start building with Factory immediately. No credit card required.
Claim Free Tokens āComplete Guide Contents
- What is Factory AI and why it's different
- 5 Specialized Droids explained
- Setup guide: CLI, Web, and IDE (5 min)
- Context management: The secret to AI accuracy
- Spec Mode: Plan before you build
- Tool integrations: Jira, Notion, Slack, Sentry
- Real-world workflows: Students, Devs, Teams
- Advanced: Droid Exec, Custom Droids, Memory
- Factory vs Copilot vs Cursor vs Others
What is Factory AI?
Factory AI is a development platform with specialized AI agents (called Droids) that handle different parts of software development. While GitHub Copilot suggests code line-by-line, Factory understands your entire project, executes commands, and maintains context across sessions.
Key difference: Factory integrates with your entire development workflow - Jira tickets, Notion docs, Slack discussions, Sentry errors, and your codebase. It uses all this context to make better decisions.
Why I Switched from Copilot
Copilot: Suggests next line based on current file.
Factory: Reads your architecture docs, understands project structure, executes tests, and makes coordinated changes across multiple files. Plus it remembers your coding style across sessions.
Meet the Specialized Droids
Each Droid is optimized for specific tasks with specialized tools and system prompts:
Code Droid
Main engineering assistant. Handles features, refactoring, and bug fixes.
Knowledge Droid
Research specialist. Searches codebase, docs, and internet.
Reliability Droid
On-call specialist. Handles alerts and troubleshooting.
Product Droid
PM assistant. Manages backlog and creates specs.
Tutorial Droid
Learning assistant. Helps you master Factory.
Complete Setup Guide
Factory works through CLI, Web App, and IDE. I recommend starting with CLI as it's the most powerful.
1Install the CLI
Open your terminal and run one command:
On first launch, authenticate through your browser. You'll get free tokens immediately.
Pro Tip: Extra Tokens
Use this promo link for 40M free tokens (vs standard amount): app.factory.ai/?promo=mPRFZ2oAuEwh1hblDSGI
2Set Up AGENTS.md (Critical)
Create an AGENTS.md file in your project root. This is how Factory understands your project:
This file gets loaded at conversation start. Factory uses it to understand your conventions, testing approach, and project structure.
Why AGENTS.md Matters
Without this file, Factory guesses. With it, Factory knows exactly how you work. This is the difference between mediocre and amazing AI assistance.
3First Session: Understand Your Codebase
Start by asking Factory to analyze your project:
Factory will read your code and respond with insights about:
- Project architecture and patterns
- Test frameworks used
- Code conventions
- How components connect
Spec Mode: Plan Before Building
Factory's killer feature is Specification Mode. Press Shift-Tab to cycle through modes:
- Default: Ask permission for every action
- Automatic: Make reversible changes automatically
- Planning (Spec Mode): Generate detailed spec before coding
How Spec Mode Works
Switch to Spec mode and describe what you want:
Factory generates a complete specification:
- Acceptance Criteria: What "done" looks like
- Implementation Plan: Step-by-step approach
- Technical Details: Libraries, patterns, security
- File Changes: Which files affected
- Testing Strategy: What tests needed
Specs Are Saved
Approved specs save to `.factory/docs/` as markdown. This creates documentation of your decisions that future Droids (and team members) can reference.
Three Autonomy Levels
After approving a spec, choose how much control to give Factory:
- Low (Manual approval): Approve every file edit
- Medium (Safe commands): Reversible changes automatic, risky ones need approval
- High (Full autonomy): Factory handles everything
Start with Low Autonomy
Build trust with the tool before giving full control. Use version control (git) religiously so you can always rollback. I use Medium autonomy for most tasks.
Context Management: How Factory Sees Your Project
Factory's intelligence comes from layered context management:
Layer 1: AGENTS.md
Repository-level conventions loaded at every session start. You can have multiple:
- `/AGENTS.md` - Root conventions
- `/packages/api/AGENTS.md` - API-specific rules
- `/packages/web/AGENTS.md` - Frontend patterns
Layer 2: Dynamic Code Context
When you ask a question, Factory automatically:
- Searches for relevant files
- Picks out important code sections
- Avoids duplicating context
- Lazy loads additional context as needed
You can also @mention specific files, but letting Factory figure it out usually works better.
Layer 3: Tool Integrations
Connect Factory to where your context lives:
Observability
Sentry, Datadog errors
Documentation
Notion, Google Docs
Project Management
Jira, Linear
Communication
Slack threads
Layer 4: Memory
Factory maintains two types of persistent memory:
User Memory (Private to you):
- Your dev environment setup
- Your work history
- Your preferences and patterns
Organization Memory (Shared):
- Company-wide conventions
- Security requirements
- Architecture patterns
Memory in Action
Say "Remember that our staging is at staging.company.com" once. Factory never forgets. Your teammate adds a convention? Every Droid on your team follows it automatically.
Connecting Your Dev Tools
Sign in to Factory web app and connect integrations:
Essential: Source Control
Connect GitHub or GitLab (cloud or self-hosted). Required for Droids to read and write code.
High Impact Integrations
Notion/Google Docs: Architecture decisions, design docs, onboarding guides
Jira/Linear: Ticket descriptions, acceptance criteria, dependencies
Slack: Technical discussions, decisions made in channels
Sentry/Datadog: Error traces, performance metrics, incident history
Example: Integrated Workflow
You: "Implement the notification system from this Notion doc: [link]"
Factory: Fetches Notion doc ā Searches existing patterns ā Recalls team conventions ā Implements according to all context
Advanced Features
Droid Exec: Headless Automation
Run Factory non-interactively for CI/CD, cron jobs, or pre-commit hooks:
Factory executes everything and exits. Perfect for automation.
Custom Droids
Create specialized sub-agents in `.factory/droids/` as markdown files:
Custom Slash Commands
Automate routine actions. Define in `.factory/commands/`:
Bring Your Own Model Key
Use Factory's orchestration with your own API key. Access via /model command.
Real-World Workflows
Here's how different users leverage Factory's capabilities:
For Students: Learning + Building
Debugging Assignments:
Factory analyzes, identifies the issue (likely O(n²) complexity), and teaches you why it breaks on large datasets.
Course Projects That Impress:
Factory generates tech stack, database schema, API design, and implementation roadmap. Most students submit basic apps - you can submit production-quality tools.
Learning New Frameworks:
Factory teaches concepts while building practical examples you can learn from.
Academic Integrity Note
Use Factory to understand concepts, not skip learning. Most universities allow AI assistance similar to Stack Overflow or tutoring. Always check your school's policy and disclose AI usage if required.
For Professional Developers: Features + Debugging
Feature Development with Spec Mode:
Factory reads your existing auth code, generates a complete spec matching your patterns, then implements with tests.
Production Debugging (Reliability Droid):
Reliability Droid fetches Sentry traces, analyzes logs, identifies connection pool exhaustion, and suggests fixes with monitoring.
Refactoring Legacy Code:
Factory analyzes dependencies, proposes module structure, refactors with tests to ensure nothing breaks.
For Teams: Collaboration + Context
Implementing from Tickets:
Factory fetches ticket details, reads Notion architecture doc, checks team conventions in Org Memory, and implements following all context.
Onboarding New Team Members:
Knowledge Droid searches codebase, reads documentation, and provides comprehensive overview with file references.
Incident Response:
Reliability Droid analyzes metrics, identifies slow database query, suggests index addition, documents resolution in incident report.
Pricing & Tokens
Factory uses token-based pricing, not subscriptions:
- Free Tier: Generous starting tokens (use promo for 40M)
- Pay-as-you-go: Buy tokens as needed
- Enterprise: Unlimited for teams
Token Usage
Simple queries use ~1,000 tokens. Complex multi-file refactoring might use 50,000. Free tier covers weeks of daily student usage.
Factory AI vs Alternatives: Complete Comparison
Based on 3 months testing every major AI coding tool:
| Feature | Factory AI | GitHub Copilot | Cursor | Codeium |
|---|---|---|---|---|
| Full codebase context | ā Deep | Limited (current file) | ā Good | ā Basic |
| Specialized agents | ā 5 Droids | ā | ā | ā |
| Command execution | ā Full | ā | ā | ā |
| Tool integrations | ā Jira, Notion, Slack, Sentry, Datadog | ā | Limited | ā |
| Persistent memory | ā User + Org | ā | ā | ā |
| Spec Mode (planning) | ā | ā | ā | ā |
| Multi-file refactoring | ā Coordinated | Manual | ā | Limited |
| Production debugging | ā Reliability Droid | ā | ā | ā |
| AGENTS.md support | ā Native | ā | ā | ā |
| CLI interface | ā Full-featured | ā | ā | Basic |
| Web interface | ā | ā | ā | ā |
| Free tier | ā Generous tokens | $10/mo (free for students) | ā Limited | ā Forever free |
| Best use case | Full development lifecycle | Autocomplete while typing | Interactive code editing | Free autocomplete |
When to Use Each Tool
Use Factory AI when:
- Building complete features (not just editing code)
- Working on complex projects with lots of context
- Need production debugging and incident response
- Want integrations with your entire dev stack
- Planning before implementation (Spec Mode)
Use Copilot when:
- You want simple autocomplete while typing
- Working in IDE with minimal context needed
- Your organization already pays for GitHub Enterprise
Use Cursor when:
- You want a purpose-built AI IDE
- Interactive code editing is your main workflow
- Willing to switch from VS Code
Use Codeium when:
- You want free forever autocomplete
- Basic suggestions are sufficient
- Budget is zero
Ready to Build Smarter?
Get started with 40M free tokens. No credit card required.
Start Building āCommon Questions
Is Factory free for students?
Yes, you get free tokens to start (use promo link for 40M). This covers weeks of regular usage. Additional tokens are affordable pay-as-you-go.
Does it work offline?
No, Factory requires internet as it uses cloud-based AI models.
Which languages are supported?
All major languages: Python, JavaScript, TypeScript, Java, C++, Go, Rust, Ruby, PHP, and more.
Can I use this for homework?
Check your school's policy. Use Factory to learn and understand, not to skip learning. Most universities allow AI assistance similar to Stack Overflow or tutoring.
How is my code used?
Factory uses your code only to provide assistance. It's not used for training models. See privacy policy.
What if I'm not happy with generated code?
Hit Escape to reject and provide feedback. Factory learns from corrections. With proper AGENTS.md setup and clear prompts, accuracy is very high.
Video Tutorial
Complete Factory AI walkthrough by Dan Mac ⢠Watch on YouTube ā
Official Resources
- Factory AI Docs: docs.factory.ai
- CLI Quickstart: Getting Started Guide
- Factory Website: factory.ai
- Context Guide: Managing Context
Key Takeaways
After months of real-world usage, here's what makes Factory AI worth using:
What Factory does best:
- Context understanding: AGENTS.md + Memory + Integrations = AI that actually understands your project
- Specialized agents: Different Droids for different tasks (not one-size-fits-all)
- Planning mode: Spec Mode prevents costly mistakes by planning before coding
- Team workflows: Org Memory ensures everyone's AI follows same conventions
- Production debugging: Reliability Droid handles incidents like an on-call engineer
Success formula:
- Create detailed AGENTS.md (this is critical)
- Connect your integrations (Jira, Notion, Slack, etc.)
- Start with low autonomy, build trust
- Use Spec Mode for complex features
- Let Factory handle boilerplate while you focus on architecture
Reality check: Factory won't magically make you a better developer. But it will handle repetitive tasks, help you understand unfamiliar codebases faster, and catch issues before they hit production. The developers who succeed with Factory use it to amplify their skills, not replace them.
Start with the free tokens, experiment with different Droids, and integrate with your workflow. The learning curve is real, but once you understand how to manage context effectively, Factory becomes indispensable.
ā All Articles | Join Telegram Community
Questions? DM me on Telegram: @ai4studentss