---
title: "How to get started with Codex"
source_name: "OpenAI Blog"
original_url: "https://openai.com/academy/codex-how-to-start"
canonical_url: "https://www.traeai.com/articles/4708ded6-5da2-45c1-bf50-4e1c3d32eb22"
content_type: "article"
language: "英文"
score: 7.5
tags: ["Codex","AI工具","OpenAI"]
published_at: "2026-04-23T10:00:00+00:00"
created_at: "2026-04-26T23:02:10.649175+00:00"
---

# How to get started with Codex

Canonical URL: https://www.traeai.com/articles/4708ded6-5da2-45c1-bf50-4e1c3d32eb22
Original source: https://openai.com/academy/codex-how-to-start

## Summary

OpenAI 提供了关于如何开始使用 Codex 的详细指南，包括设置环境、创建项目和执行任务的技巧。

## Key Takeaways

- Codex 可通过桌面应用设置，支持基于线程的任务协作。
- 建议从简单任务入手，逐步建立对工具的信任。
- 项目文件夹权限管理是确保安全操作的重要步骤。

## Content

Title: How to get started with Codex

URL Source: http://openai.com/academy/codex-how-to-start

Markdown Content:
# How to get started with Codex | OpenAI

[Skip to main content](http://openai.com/academy/codex-how-to-start#main)

[](http://openai.com/)

*   [Research](http://openai.com/research/index/)
*   Products
*   [Business](http://openai.com/business/)
*   [Developers](http://openai.com/api/)
*   [Company](http://openai.com/about/)
*   [Foundation(opens in a new window)](https://openaifoundation.org/)

Log in[Try ChatGPT(opens in a new window)](https://chatgpt.com/)

*   Research
*   Products
*   Business
*   Developers
*   Company
*   [Foundation(opens in a new window)](https://openaifoundation.org/)

[Try ChatGPT(opens in a new window)](https://chatgpt.com/)Login

OpenAI

April 23, 2026

OpenAI Academy

# How to get started with Codex

Tips to set up Codex, create your first project, and start completing real tasks.

Loading…

Share

Start by downloading the [Codex desktop app](http://openai.com/codex/) and signing in with your ChatGPT account.

Once you open Codex, create your first thread. A thread is like a chat in ChatGPT: a space where you go back and forth with Codex to accomplish a task.

![Image 1: Codex Thread Image](https://images.ctfassets.net/kftzwdyauwt9/5a7uKTozmVeEuSwi3QdWAB/14acd3d814d1a3cf208eb3439d5a84e8/codexthread.png?w=3840&q=90&fm=webp)

Codex keeps your projects and conversation history in the left sidebar, while the main workspace shows your current thread and the chat where you collaborate with Codex.

You can create a standalone thread, but most of the time you’ll want to work inside a project. A project is connected to a folder on your computer:

![Image 2: Codex folder image](https://images.ctfassets.net/kftzwdyauwt9/tX1Csx6I3JfJYeJetPa0t/6e415a6c0efb94cab9ea3cb4395ad7e8/filestructure.png?w=3840&q=90&fm=webp)

**Tip**: To keep things simple, create a folder on your computer named _Codex_. Inside that _Codex_ folder, you can have a separate folder for each project.

If you want Codex to work with specific files for a project, just drag them into the folder. If not, you can leave the folder empty and use it as the place where Codex creates new files for that project.

Pick a first task that is simple and useful. For example, you might ask Codex to organize notes, clean up a small dataset, or compare two drafts of a document.

![Image 3: First task in Codex](https://images.ctfassets.net/kftzwdyauwt9/5TedeTt4EoBLlDElPZUWF7/70b40b708719a7e32e7314ca4d49e676/5point5.png?w=3840&q=90&fm=webp)

Start with the default recommended Codex model, and increase reasoning for harder tasks.

If you’re working in a project, you may see the term “Work locally” below the input box. This means “Codex can only work in that folder I designated, using the tools that I choose.” You’ll also see a dropdown menu asking whether you want to change permissions. We recommend sticking with Default permissions in a local environment when you’re getting started with Codex. Codex does not automatically get access to everything on your computer.

Full permissions give Codex more room to act, which can be helpful for advanced tasks, but you should only use them when you understand what Codex is doing and you’ve checked with an admin.

A good first prompt is:

Try it

Inspect this folder and tell me what you see. Then suggest one small task you can complete safely. Wait for my approval before making changes.

As you get more comfortable, you can give Codex bigger tasks. Start small, review what it does, and build trust one task at a time.

## Continue learning with OpenAI Academy

Discover additional guides and resources to help you build practical AI skills.

[View all topics](http://openai.com/academy/)

## Keep reading

[View all](http://openai.com/news/)

![Image 4: What is Codex? > card image](https://images.ctfassets.net/kftzwdyauwt9/1UmriWebOfrrf0B43OooqE/973b3b7ee2ac96e537f2efb697c2f69c/what-is-codex.png?w=3840&q=90&fm=webp)

[What is Codex? OpenAI Academy Apr 23, 2026](http://openai.com/academy/what-is-codex/)

![Image 5: Automations > card image](https://images.ctfassets.net/kftzwdyauwt9/WWbNfZvQUCV942pR9wPFw/69567e99135e87f695b94809ac026162/automations.png?w=3840&q=90&fm=webp)

[Automations OpenAI Academy Apr 23, 2026](http://openai.com/academy/codex-automations/)

![Image 6: Top 10 uses for Codex at work > card image](https://images.ctfassets.net/kftzwdyauwt9/23Axi2CAv85jqsBMZ98fAI/230757b8f4bcdc4de4ec24c50da3f5be/top-10-at-work.png?w=3840&q=90&fm=webp)

[Top 10 uses for Codex at work OpenAI Academy Apr 23, 2026](http://openai.com/academy/top-10-use-cases-codex-for-work/)

Our Research
*   [Research Index](http://openai.com/research/index/)
*   [Research Overview](http://openai.com/research/)
*   [Research Residency](http://openai.com/residency/)
*   [Economic Research](http://openai.com/signals/)

Latest Advancements
*   [GPT-5.5](http://openai.com/index/introducing-gpt-5-5/)
*   [GPT-5.4](http://openai.com/index/introducing-gpt-5-4/)
*   [GPT-5.3 Instant](http://openai.com/index/gpt-5-3-instant/)
*   [GPT-5.3-Codex](http://openai.com/index/introducing-gpt-5-3-codex/)

Safety
*   [Safety Approach](http://openai.com/safety/)
*   [Security & Privacy](http://openai.com/security-and-privacy/)
*   [Trust & Transparency](http://openai.com/trust-and-transparency/)

ChatGPT
*   [Explore ChatGPT(opens in a new window)](https://chatgpt.com/overview)
*   [Business](https://chatgpt.com/business/business-plan)
*   [Enterprise](https://chatgpt.com/business/enterprise)
*   [Education](https://chatgpt.com/business/education)
*   [Pricing(opens in a new window)](https://chatgpt.com/pricing)
*   [Download(opens in a new window)](https://chatgpt.com/download)

Sora
*   [Sora Overview](http://openai.com/sora/)
*   [Features](http://openai.com/sora/#features)
*   [Pricing](http://openai.com/sora/#pricing)
*   [Sora log in(opens in a new window)](https://sora.com/)

API Platform
*   [Platform Overview](http://openai.com/api/)
*   [Pricing](http://openai.com/api/pricing/)
*   [API log in(opens in a new window)](https://platform.openai.com/login)
*   [Documentation(opens in a new window)](https://developers.openai.com/api/docs)
*   [Developer Forum(opens in a new window)](https://community.openai.com/)

For Business
*   [Business Overview](http://openai.com/business/)
*   [Solutions](http://openai.com/solutions/)
*   [Contact Sales](http://openai.com/contact-sales/)

Company
*   [About Us](http://openai.com/about/)
*   [Our Charter](http://openai.com/charter/)
*   [Foundation(opens in a new window)](https://openaifoundation.org/)
*   [Careers](http://openai.com/careers/)
*   [Brand](http://openai.com/brand/)

Support
*   [Help Center(opens in a new window)](https://help.openai.com/)

More
*   [News](http://openai.com/news/)
*   [Stories](http://openai.com/stories/)
*   [Academy](http://openai.com/academy/)
*   [Livestreams](http://openai.com/live/)
*   [Podcast](http://openai.com/podcast/)
*   [RSS](https://openai.com/news/rss.xml)

Terms & Policies
*   [Terms of Use](http://openai.com/policies/terms-of-use/)
*   [Privacy Policy](http://openai.com/policies/privacy-policy/)
*   [Other Policies](http://openai.com/policies/)

[(opens in a new window)](https://x.com/OpenAI)[(opens in a new window)](https://www.youtube.com/OpenAI)[(opens in a new window)](https://www.linkedin.com/company/openai)[(opens in a new window)](https://github.com/openai)[(opens in a new window)](https://www.instagram.com/openai/)[(opens in a new window)](https://www.tiktok.com/@openai)[(opens in a new window)](https://discord.gg/openai)

OpenAI © 2015–2026 Manage Cookies

English United States
