Get started with Codex CLI integration in Amplifier in just 5 minutes. This quick start guide covers the essential steps to begin using Codex with the Amplifier project.
- Installing prerequisites
- Starting your first Codex session
- Using basic MCP tools
- Understanding key concepts
Before starting, you'll need:
- Codex CLI installed - Follow Anthropic's installation guide
- Python 3.11+ and uv package manager
- Basic familiarity with command line
- Prerequisites (1 minute)
- First Session (2 minutes)
- Key Concepts (1 minute)
- Common Commands (1 minute)
- Next Steps
-
Verify Codex installation:
# Follow Anthropic's installation guide # https://docs.anthropic.com/codex/installation codex --version
-
Clone the project:
git clone <repository-url> cd amplifier-project
-
Install dependencies:
make install
-
Start the wrapper script:
./amplify-codex.sh
What you'll see:
🔧 Amplifier Codex Integration ✅ Prerequisites verified 📚 Loading session context... 🚀 Starting Codex with development profile Available MCP Tools: • initialize_session - Load memories • check_code_quality - Run quality checks • save_current_transcript - Export session • create_task - Manage tasks • search_web - Web research Type your prompt or use MCP tools... -
Try initializing a session:
codex> initialize_session with prompt "Hello world"
Expected output:
Loaded 3 relevant memories from previous sessions. Session context ready for "Hello world" development. -
Try a quality check:
codex> check_code_quality with file_paths ["README.md"]
Expected output:
Quality check passed ✅ • Lint: OK (ruff) • Type check: OK (pyright) • Tests: 15 passed (pytest) Execution time: 2.3s
-
MCP Tools vs Hooks: Codex uses MCP (Model Context Protocol) servers instead of Claude Code's native hooks. Tools are invoked via natural language or direct calls.
-
Profiles: Choose the right tool set:
development: All tools (session, quality, transcripts, tasks, web)ci: Quality checks onlyreview: Quality + transcripts
-
Memory System: Automatically loads relevant context from past sessions to maintain continuity.
Session Management:
codex> initialize_session with prompt "Working on feature"
codex> finalize_session with recent messages
codex> save_current_transcript with format "both"Quality Checks:
codex> check_code_quality with file_paths ["src/file.py"]
codex> run_specific_checks with check_type "lint"Task Tracking:
codex> create_task with title "Fix bug" and description "Login issue"
codex> list_tasks with filter_status "pending"
codex> complete_task with task_id "task_123"Web Research:
codex> search_web with query "python async patterns" and num_results 5
codex> fetch_url with url "https://example.com/guide" and extract_text trueCongratulations! You've completed the 5-minute quick start. Now you know how to:
- ✅ Start a Codex session with Amplifier integration
- ✅ Use basic MCP tools for session management and quality checks
- ✅ Understand profiles and memory system concepts
- ✅ Execute common development commands
Continue learning:
- Beginner Guide (30 minutes) - Comprehensive walkthrough of all Codex features and workflows
- Workflow Diagrams - Visual guides to Codex architecture and processes
- Troubleshooting Tree - Systematic problem-solving guide
Need help? Check the troubleshooting guide or open an issue in the project repository.
In this quick start, you learned:
- How to verify prerequisites and install dependencies
- Starting your first Codex session using the wrapper script
- Basic MCP tool usage (session management, quality checks, tasks, web research)
- Key concepts: MCP tools vs hooks, profiles, and memory system
- Common commands for session management and development workflows
Next up: Dive into the Beginner Guide for a comprehensive 30-minute walkthrough covering all advanced features, agents, and best practices.