Codex 完整指南(三):OpenAI 官方实战指南整理|251 篇(最新)

吴恩达从未发布CodeX手册:真相与高效代码工具实践指南 代码辅助工具是现代AI开发的核心生产力组件,其本质是将自然语言需求精准映射为可执行代码。理解底层原理(如AST解析、嵌入向量匹配)比依赖虚假手册更重要。当前主流方案包括GitHub Copilot(企业级SaaS服务)、DeepSeek-Coder(国产开源离线模型)和Claude 3(超长上下文审查),三者分别覆盖云端协同、本地可控与结构化分析场景。需警惕‘吴恩达+Codex/Claude/DeepSeek’等标题党内容,它们多源于自媒体流量炒作,常伴恶意软件、密钥窃取与配置陷阱风险。真实提效路径在于结合 阅读详情
AI摘要

本文整理自OpenAI官方Cookbooks,涵盖251篇技术文章,系统归纳为开源部署、多模态处理、RAG检索、工具调用、代理自动化、微调训练及API性能等核心技术方向,聚焦Codex在工程级AI编程中的应用实践,提供高效学习路径与开发参考。

1. 引言

原文地址:https://developers.openai.com/resources/cookbooks

在前面的博客,博主已经系统讲解了 Codex 的核心能力,有兴趣的同学可以先了解:

本文主要整理自 OpenAI 官方 Cookbooks,合计 251 篇(已排除已归档内容),并按主题分类,便于快速导航,便于定位与阅读。

分类描述篇数
开源与自部署gpt-oss 本地/自托管部署与生态13
多模态-图像/视觉/视频图像生成、理解与视频处理19
音频/语音语音识别、合成与实时音频16
检索/RAG/搜索向量检索、RAG 与搜索集成79
ChatGPT 生态ChatGPT 集成、工作流与数据29
工具调用与扩展函数调用、工具编排与扩展28
代理与自动化Agent 构建、自动化与多代理10
微调/训练与提示词微调、强化学习与提示工程12
评测/安全/合规Evals、治理、安全与合规13
开发工具与工程实践Codex、文档与工程实践7
基础API与性能核心 API、成本与性能优化25

2. 开源与自部署

标题标签发布日期
Build your own content fact checker with gpt-oss-120B, Cerebras, and Parallelcerebras, fact-checking, gpt-oss, open-models, reasoning, search2026-01-13
User guide for gpt-oss-safeguardgpt-oss, guardrails, open-models2025-10-29
Fine-tune gpt-oss for better Korean language performancegpt-oss, open-models2025-08-26
Verifying gpt-oss implementationsgpt-oss, gpt-oss-providers, open-models2025-08-11
How to run gpt-oss locally with LM Studiogpt-oss, gpt-oss-local, open-models2025-08-07
How to run gpt-oss-20b on Google Colabgpt-oss, gpt-oss-server, open-models2025-08-06
Using NVIDIA TensorRT-LLM to run gpt-oss-20bgpt-oss, gpt-oss-server, open-models2025-08-05
OpenAI Harmony Response Formatgpt-oss, gpt-oss-fine-tuning, gpt-oss-providers, harmony, open-models2025-08-05
How to run gpt-oss with vLLMgpt-oss, gpt-oss-server, open-models2025-08-05
How to run gpt-oss with Transformersgpt-oss, gpt-oss-server, open-models2025-08-05
How to run gpt-oss locally with Ollamagpt-oss, gpt-oss-local, open-models2025-08-05
How to handle the raw chain of thought in gpt-ossgpt-oss, gpt-oss-fine-tuning, gpt-oss-providers, open-models2025-08-05
Fine-tuning with gpt-oss and Hugging Face Transformersgpt-oss, gpt-oss-fine-tuning, open-models2025-08-05

3. 多模态-图像/视觉/视频

标题标签发布日期
Gpt-image-1.5 Prompting Guideimages, vision2025-12-16
Sora 2 Prompting Guideprompt, sora2025-10-06
Generate images with high input fidelityimages2025-07-17
Using Evals API on Image Inputsevals, images2025-07-15
Image Understanding with RAGRAG, images, responses, vision2025-05-16
Generate images with GPT Imageimages2025-04-23
Processing and narrating a video with GPT-4.1-mini’s visual capabilities and GPT-4o TTS APIresponses, speech, vision2025-04-22
Using GPT4 Vision with Function Callingchat, vision2024-12-13
Optimizing Retrieval-Augmented Generation using GPT-4o Vision Modalitycompletions, vision2024-11-12
Vision Fine-tuning on GPT-4o for Visual Question Answeringcompletions, fine-tuning, vision2024-11-01
How to parse PDF docs for RAGembeddings, vision2024-09-29
Using GPT4o mini to tag and caption imagesembeddings, vision2024-07-18
Introduction to GPT-4o and GPT-4o minicompletions, vision, whisper2024-07-18
How to combine GPT4o mini with RAG to create a clothing matchmaker appembeddings, vision2024-07-18
Data Extraction and Transformation in ELT Workflows using GPT-4o as an OCR Alternativecompletions, vision2024-07-09
CLIP embeddings to improve multimodal RAG with GPT-4 Visionembeddings, vision2024-04-10
Creating slides with the Assistants API and DALL·E 3assistants, dall-e2023-12-08
What’s new with DALL·E 3?dall-e2023-11-06
How to create dynamic masks with DALL·E and Segment Anythingdall-e2023-05-19

4. 音频/语音

标题标签发布日期
Transcribing User Audio with a Separate Realtime Requestaudio, realtime, speech, transcription, voice2025-11-20
Building with Realtime Minigpt-realtime-mini2025-10-11
Realtime Prompting Guideaudio, realtime, responses, speech2025-08-28
Using Evals API on Audio Inputsaudio, evals2025-08-13
MCP-Powered Agentic Voice Frameworkagents-sdk, functions, mcp, tracing, voice2025-06-17
Practical guide to data-intensive apps with the Realtime APIaudio, speech2025-05-29
Context Summarization with Realtime APIaudio, speech, tiktoken2025-05-10
ElatoAI - Realtime Speech AI Agents for ESP32 on Arduinoarduino, audio, esp32, iot, realtime-api, speech2025-05-01
Comparing Speech-to-Text Methods with the OpenAI APIagents-sdk, audio, speech2025-04-29
Building a Voice Assistant with the Agents SDKaudio, responses, speech2025-03-27
Multi-Language One-Way Translation with the Realtime APIaudio, speech2025-03-24
Steering Text-to-Speech for more dynamic audio generationaudio, completions2024-11-01
Voice Translation into Different Languagesaudio, completions2024-10-21
Enhancing Whisper transcriptions: pre- & post-processing techniqueswhisper2023-08-11
Addressing transcription misspellings: prompt vs post-processingcompletions, whisper2023-08-11
Whisper prompting guidecompletions, whisper2023-06-27

5. 检索/RAG/搜索

标题标签发布日期
Temporal Agents with Knowledge Graphsfunctions, knowledge-graphs, responses, retrieval2025-07-22
Reinforcement Fine-Tuning for Conversational Reasoning with the OpenAI APIevals, fine-tuning, qa, reinforcement2025-05-21
Practical Guide for Model Selection for Real‑World Use CasesRAG, functions, insurance, legal, pharma, responses, tool calling, web-search2025-05-07
Robust question answering with Chroma and OpenAIcompletions, embeddings2025-04-23
Multi-Tool Orchestration with RAG approach using OpenAI’s Responses APIfunctions, pinecone, responses, web-search2025-03-28
Web Search and States with Responses APIfunctions, responses, web-search2025-03-11
How to handle rate limitscompletions, embeddings2025-01-22
Embedding Wikipedia articles for searchcompletions, embeddings2024-11-26
Pinecone Vector Database and Retool Workflow with GPT Actionschatgpt, chatgpt-and-api, embeddings, gpt-actions-library2024-11-11
GCP BigQuery Vector Search with GCP Functions and GPT Actions in ChatGPTchatgpt, chatgpt-and-api, completions, embeddings, tiktoken2024-08-02
Azure AI Search with Azure Functions and GPT Actions in ChatGPTchatgpt, chatgpt-and-api, completions, embeddings, tiktoken2024-07-08
RAG with a Graph databasecompletions, embeddings2023-12-08
Supabase Vector Databaseembeddings2023-12-04
Semantic search using Supabase Vectorembeddings2023-12-04
Semantic search using MongoDB Atlas Vector Search and OpenAIcompletions, embeddings2023-11-21
MongoDB Atlas Vector Searchcompletions, embeddings2023-11-21
Evaluate RAG with LlamaIndexcompletions, embeddings2023-11-06
Question answering with LangChain, Deep Lake, & OpenAIembeddings2023-09-30
Vector similarity search using Neon Postgresembeddings2023-09-28
Neon as a vector databaseembeddings2023-09-28
How to automate AWS tasks with function callingcompletions, embeddings, functions2023-09-27
Using Tair as a vector database for OpenAI embeddingsembeddings2023-09-11
Question answering with Langchain, Tair and OpenAIcompletions, embeddings, tiktoken2023-09-11
Azure AI Search as a vector database for OpenAI embeddingsembeddings2023-09-11
Fine-Tuning for retrieval augmented generation (RAG) with Qdrantcompletions, embeddings, fine-tuning2023-09-04
Semantic search using Elasticsearch and OpenAIembeddings2023-08-29
Retrieval augmented generation using Elasticsearch and OpenAIcompletions, embeddings2023-08-29
Philosophy with vector embeddings, OpenAI and Cassandra / Astra DBcompletions, embeddings2023-08-29
Philosophy with vector embeddings, OpenAI and Cassandra / Astra DBcompletions, embeddings2023-08-29
Elasticsearchcompletions, embeddings2023-08-29
Cassandra / Astra DBembeddings2023-08-29
How to evaluate a summarization taskcompletions, embeddings2023-08-16
Visualizing the embeddings in Kangasembeddings2023-07-11
Using PolarDB-PG as a vector database for OpenAI embeddingsembeddings2023-07-11
Vector databasesembeddings2023-06-28
Using Weaviate for embeddings searchembeddings2023-06-28
Using Typesense for embeddings searchembeddings2023-06-28
Using Redis for embeddings searchembeddings2023-06-28
Using Qdrant for embeddings searchembeddings2023-06-28
Using Pinecone for embeddings searchembeddings2023-06-28
Using MyScale for embeddings searchembeddings2023-06-28
Using Chroma for embeddings searchembeddings2023-06-28
Search reranking with cross-encoderscompletions, embeddings2023-06-28
Financial document analysis with LlamaIndexcompletions, embeddings2023-06-22
Question answering using a search API and re-rankingcompletions, embeddings2023-06-16
Using Weaviate with generative OpenAI module for generative searchcompletions, embeddings2023-05-22
SingleStoreDBcompletions, embeddings2023-05-22
Semantic search with SingleStoreDBcompletions, embeddings2023-05-22
Using Hologres as a vector database for OpenAI embeddingsembeddings2023-05-19
Running hybrid VSS queries with Redis and OpenAIembeddings2023-05-11
Redis as a context store with Chat Completionscompletions, embeddings2023-05-11
Redis vectors as JSON with OpenAIembeddings2023-05-10
Kusto as a vector database for embeddingsembeddings2023-05-10
Kusto as a vector databaseembeddings2023-05-10
Question answering with Langchain, AnalyticDB and OpenAIembeddings, tiktoken2023-05-05
How to build a tool-using agent with LangChainagents, completions, embeddings2023-05-02
Using MyScale as a vector database for OpenAI embeddingsembeddings2023-05-01
Typesenseembeddings2023-04-13
Using AnalyticDB as a vector database for OpenAI embeddingsembeddings2023-04-06
Visualizing embeddings in Atlasembeddings2023-03-28
Getting started with Milvus and OpenAIembeddings2023-03-28
Getting Started with Zilliz and OpenAIembeddings2023-03-28
Filtered search with Milvus and OpenAIembeddings2023-03-28
Filtered Search with Zilliz and OpenAIembeddings2023-03-28
Semantic search with Pinecone and OpenAIembeddings2023-03-24
Retrieval augmentation for GPT-4 using Pineconecompletions, embeddings, tiktoken2023-03-24
Pinecone vector databasecompletions, embeddings2023-03-24
Using Qdrant as a vector database for OpenAI embeddingsembeddings2023-02-16
Question answering with Langchain, Qdrant and OpenAIembeddings2023-02-16
Weaviate <> OpenAIembeddings2023-02-13
Using Weaviate with OpenAI vectorize module for hybrid searchembeddings2023-02-13
Using Weaviate with OpenAI vectorize module for embeddings searchembeddings2023-02-13
Using Redis as a vector database with OpenAIembeddings2023-02-13
Rediscompletions, embeddings2023-02-13
Question Answering in Weaviate with OpenAI Q&A modulecompletions, embeddings2023-02-13
Retrieval augmented generative question answering with Pineconecompletions, embeddings2023-02-07
Visualizing embeddings in Weights and Biasesembeddings2023-02-01
Use cases for embeddingsembeddings2023-01-20
Related resources from around the webcompletions, embeddings2023-01-20

6. ChatGPT 生态

标题标签发布日期
OpenAI Compliance Logs Platform quickstartchatgpt, chatgpt-and-api, chatgpt-data, compliance, enterprise2025-12-11
GPT Actions library - Salesforce & Gongchatgpt, chatgpt-productivity, gpt-actions-library2025-04-07
GPT Actions library - Tray.ai APIMchatgpt, chatgpt-middleware, gpt-actions-library2024-11-26
GPT Actions library - Google Calendarchatgpt, chatgpt-communication, gpt-actions-library2024-11-22
GPT Actions library - Workdaychatgpt, chatgpt-productivity, gpt-actions-library2024-11-20
GPT Actions library - GitHubchatgpt, chatgpt-productivity, gpt-actions-library2024-10-23
GPT Actions library - Google Ads via Adzviserchatgpt, chatgpt-data, chatgpt-middleware, chatgpt-productivity, gpt-actions-library2024-10-10
GPT Actions library - Canvas Learning Management Systemchatgpt, gpt-actions-library2024-09-17
GPT Actions library - Retool Workflowchatgpt, chatgpt-middleware, gpt-actions-library2024-08-28
GPT Actions library - Snowflake Middlewarechatgpt, chatgpt-data, gpt-actions-library2024-08-14
GPT Actions library - Snowflake Directchatgpt, chatgpt-data, gpt-actions-library2024-08-13
GPT Actions library - Google Drivechatgpt, chatgpt-productivity, gpt-actions-library2024-08-11
GPT Actions library (Middleware) - Google Cloud Functionchatgpt, chatgpt-middleware, gpt-actions-library2024-08-11
GPT Actions library - AWS Redshiftchatgpt, chatgpt-data, gpt-actions-library2024-08-09
GPT Actions library - AWS Middlewarechatgpt, chatgpt-middleware, gpt-actions-library2024-08-09
GPT Actions library - Zapierchatgpt, chatgpt-middleware, gpt-actions-library2024-08-05
GPT Actions library - Boxchatgpt, chatgpt-productivity, gpt-actions-library2024-08-02
GPT Actions library - SQL Databasechatgpt, chatgpt-data, gpt-actions-library2024-07-31
GPT Actions library - Confluencechatgpt, chatgpt-productivity, gpt-actions-library2024-07-31
GPT Actions library - Notionchatgpt, chatgpt-productivity, gpt-actions-library2024-07-25
GPT Actions library - Jirachatgpt, chatgpt-productivity, gpt-actions-library2024-07-24
GPT Actions library - Gmailchatgpt, chatgpt-communication, gpt-actions-library2024-07-24
GPT Actions library - Salesforcechatgpt, gpt-actions-library2024-07-18
GPT Actions library - Outlookchatgpt, chatgpt-communication, gpt-actions-library2024-07-15
GPT Actions library - getting startedchatgpt, gpt-actions-library2024-07-09
GPT Actions library - BigQuerychatgpt, chatgpt-data, gpt-actions-library2024-07-09
GPT Actions library - Sharepoint (Return Text)chatgpt, chatgpt-productivity, gpt-actions-library2024-05-24
GPT Actions library - Sharepoint (Return Docs)chatgpt, chatgpt-productivity, gpt-actions-library2024-05-24
GPT Actions library (Middleware) - Azure Functionschatgpt, chatgpt-middleware, gpt-actions-library2024-05-24

7. 工具调用与扩展

标题标签发布日期
Building Consistent Workflows with Codex CLI & Agents SDKagents-sdk, codex, mcp2025-10-01
GPT-5 New Params and Toolsfunctions, gpt-5, reasoning2025-08-07
Building a Supply-Chain Copilot with OpenAI Agent SDK and Databricks MCP Serversagents-sdk, mcp, tracing2025-07-08
Introduction to deep research in the OpenAI APIdeep-research, deep-research-api, mcp, responses2025-06-25
Deep Research API with the Agents SDKagents, agents-sdk, deep-research, deep-research-api, mcp2025-06-25
Building a Deep Research MCP Serveragents, agents-sdk, deep-research, deep-research-api, mcp, responses2025-06-25
Evals API Use-case - MCP Evaluationevals, evals-api, mcp, responses2025-06-09
Eval Driven System Design - From Prototype to ProductionAPI Flywheel, completions, evals, functions, responses, tracing2025-06-02
Multi-Agent Portfolio Collaboration with OpenAI Agents SDKagents-sdk, functions, mutli-agent-collaboration, responses2025-05-28
o3/o4-mini Function Calling Guidefunctions, reasoning, responses2025-05-26
Guide to Using the Responses API’s MCP Toolmcp2025-05-21
Better performance from reasoning models using the Responses APIfunctions, responses2025-05-11
Handling Function Calls with Reasoning Modelsapi, functions, reasoning, responses2025-04-25
Automating Dispute Management with Agents SDK and Stripe APIagents-sdk, functions, responses2025-03-17
Doing RAG on PDFs using File Search in the Responses APIfunctions, responses2025-03-11
Orchestrating Agents: Routines and Handoffsagents, completions, functions2024-10-10
Structured Outputs for Multi-Agent Systemsagents, completions, functions2024-08-06
Introduction to Structured Outputscompletions, functions2024-08-06
Using tool required for customer servicecompletions, functions2024-05-01
Assistants API Overview (Python SDK)assistants, functions2023-11-10
Fine tuning for function callingcompletions, fine-tuning, functions2023-11-07
Named Entity Recognition to Enrich Textcompletions, functions2023-10-20
Function calling with an OpenAPI specificationcompletions, functions2023-10-15
How to build an agent with the OpenAI Node.js SDKagents, completions, functions2023-10-05
Function calling for nearby places: Leveraging the Google Places API and customer profilescompletions, functions2023-08-11
Azure functions examplecompletions, functions2023-07-21
How to use functions with a knowledge basecompletions, functions2023-06-14
How to call functions with chat modelscompletions, functions2023-06-13

8. 代理与自动化

标题标签发布日期
Context Engineering for Personalization - State Management with Long-Term Memory Notes using OpenAI Agents SDKagents-sdk2026-01-05
Build a coding agent with GPT 5.1agents-sdk2025-11-13
Self-Evolving Agents - A Cookbook for Autonomous Agent Retrainingagent-retraining, evals, llmops, partners, prompt-engineering, self-evolving-agents2025-11-04
Build, deploy, and optimize agentic workflows with AgentKitagentkit, evals2025-10-17
Using PLANS.md for multi-hour problem solvingagents, codex, documentation, gpt-5, planning2025-10-07
Context Engineering - Short-Term Memory Management with Sessions from OpenAI Agents SDKagents-sdk2025-09-09
Optimize Promptsagents-sdk, completions, prompt, responses, tracing2025-07-14
Automate Jira ↔ GitHub with Codexautomation, codex2025-06-21
Parallel Agents with the OpenAI Agents SDKagents, agents-sdk, parallel-agents2025-05-01
Evaluating Agents with Langfuseagents-sdk, evals2025-03-31

9. 微调/训练与提示词

标题标签发布日期
Prompt Personalitiesgpt-5, prompt-personalities2026-01-05
Building resilient prompts using an evaluation flywheeldatasets, evals2025-10-06
GPT-5 Troubleshooting Guidegpt-5, prompt-optimization2025-09-17
GPT-5 Prompt Migration and Improvement Using the New Optimizergpt-5, prompt-optimization, reasoning, responses2025-08-07
Prompt Migration Guidecompletions, prompt, responses2025-06-26
Fine-Tuning Techniques - Choosing Between SFT, DPO, and RFT (With a Guide to DPO)fine-tuning2025-06-18
Exploring Model Graders for Reinforcement Fine-Tuningfine-tuning, reinforcement-learning, reinforcement-learning-graders2025-05-23
Leveraging model distillation to fine-tune a modelcompletions, fine-tuning2024-10-16
Prompt Caching 101completions, cost, latency, prompt caching2024-10-01
How to fine-tune chat modelscompletions, fine-tuning2024-07-23
Fine-tuning OpenAI models with Weights & Biasescompletions, fine-tuning, tiktoken2023-10-04
Data preparation and analysis for chat model fine-tuningcompletions, fine-tuning, tiktoken2023-08-22

10. 评测/安全/合规

标题标签发布日期
Evals API Use-case - Web Search Evaluationevals, evals-api, responses2025-06-09
Evals API Use-case - Tools Evaluationevals, evals-api, responses2025-06-09
Evals API Use-case - Structured Outputs Evaluationevals, evals-api, responses2025-06-09
Selecting a Model Based on Stripe Conversion – A Practical Eval for Startupsconversion, evals, stripe2025-06-02
Evals API Use-case - Responses Evaluationevals, responses2025-05-13
Evals API Use-case - Monitoring stored completionscompletions, evals2025-04-08
Evals API Use-case - Detecting prompt regressionscompletions, evals2025-04-08
Evals API Use-case - Bulk model and prompt experimentationcompletions, evals2025-04-08
Custom LLM as a Judge to Detect Hallucinations with Braintrustcompletions, evals2024-10-14
Developing Hallucination Guardrailsguardrails2024-05-29
How to use the moderation APImoderation2024-03-05
How to evaluate LLMs for SQL generationguardrails2024-01-23
How to implement LLM guardrailsguardrails2023-12-19

11. 开发工具与工程实践

标题标签发布日期
Codex Prompting Guidecodex, compaction, responses2025-12-04
Modernizing your Codebase with Codexcodex2025-11-19
Build Code Review with the Codex SDKcodex2025-10-21
Use Codex CLI to automatically fix CI failurescodex2025-09-30
Automating Code Quality and Security Fixes with Codex CLI on GitLabcodex2025-08-29
Reasoning over Code Quality and Security in GitHub Pull RequestsSDLC, completions, reasoning2024-12-24
What makes documentation good2023-09-01

12. 基础API与性能

标题标签发布日期
GPT-5.2 Prompting Guidegpt-5.22025-12-11
GPT-5.1 Prompting Guidegpt-5.12025-11-13
GPT-5 prompting guidegpt-5, reasoning, responses2025-08-07
Frontend coding with GPT-5gpt-5, reasoning, responses2025-08-07
GPT-4.1 Prompting Guideapi, responses2025-04-14
Build Your Own Code Interpreter - Dynamic Tool Generation and Execution With o3-minicompletions2025-02-03
How to use the Usage API and Cost API to monitor your OpenAI usagecost-api, usage-api2025-01-14
Enhance your prompts with meta promptingcompletions, reasoning2024-10-23
Using chained calls for o1 structured outputscompletions, reasoning2024-09-26
Building a Bring Your Own Browser (BYOB) Tool for Web Browsing and Summarizationcompletions2024-09-26
Using reasoning for routine generationcompletions, reasoning2024-09-12
Using reasoning for data validationcompletions, reasoning2024-09-12
Batch processing with the Batch APIbatch, completions2024-04-24
Summarizing Long Documentschat2024-04-19
Synthetic data generation (Part 1)completions2024-04-10
Getting Started with OpenAI Evalscompletions2024-03-21
Using logprobscompletions2023-12-20
How to make your completions outputs consistent with the new seed parametercompletions2023-11-06
OpenAI API Monitoring with Weights & Biases Weavecompletions, tiktoken2023-10-04
Azure Chat Completion models with your own data (preview)completions2023-09-11
Unit test writing using a multi-step prompt with legacy Completionscompletions2023-05-19
Azure Chat Completions example (preview)completions2023-03-28
How to format inputs to ChatGPT modelscompletions, tiktoken2023-03-01
Long document content extractioncompletions2023-02-20
How to work with large language modelscompletions2023-01-20
OpenAI 内部揭秘:我们如何使用 Codex OpenAI内部工程师分享Codex应用实践:7大场景提升开发效率。Codex能帮助理解复杂系统代码逻辑、重构大型代码库、优化性能瓶颈、提升测试覆盖率、加快开发速度、保持工作心流以及辅助技术探索。最佳实践包括分阶段提问、提供充分上下文、利用持久化环境等。目前Codex已显著提升开发效率,未来将更深度融入开发流程。开发者可访问aicoding.sh体验Codex功能。 阅读详情

相关推荐

OpenAI Codex 科研实战:从文献整理到论文初稿的自动化流水线

在科研工作中,大量时间消耗在文献整理、数据清洗、结果反复排版等重复性任务上,而非真正的思考与创新。AI 编程代理作为一种能理解自然语言指令并直接操作文件、执行脚本的命令行工具,正逐渐改变科研工作流的组织方式。它基于云端大模型推理,本地无需 GPU,通过解析用户意图,自动完成代码生成、文件批量处理与任务拆解,将传统需要手动操作的工程过程转化为可验证、可追溯的指令执行。这类工具在学术场景中的价值尤为突出:科研人员可以将文献总结、数据预处理、统计分析与可视化出图交给代理完成,从而把精力聚焦在研究问题本身。Open

weixin_34318326的博客 469

2025最强AI编程神器!OpenAI Codex CLI 从入门到精通 — 保姆级全攻略(建议收

本文详细介绍了OpenAI开源的终端AI编程工具Codex CLI,从安装配置到高级功能全覆盖。文章首先对比了Codex CLI与Cursor、Copilot的区别,突出其开源、终端运行、多文件编辑等优势。随后提供了详细的安装指南,包括环境要求、API密钥设置等。核心部分讲解了三种审批模式(建议/自动编辑/全自动)的应用场景,以及配置文件的定制方法。此外还介绍了交互模式、单次命令和管道操作等实用功能,帮助开发者快速掌握这一"终端AI程序员"工具的使用技巧。

ji66777的博客 2708

OpenAI Codex 实战指南:从零掌握 AI 编程助手,提升开发效率

最近在尝试将 AI 编程助手集成到日常开发工作流中,发现很多教程要么过于零散,要么直接丢给你一堆命令,对于新手来说理解成本很高。直到我系统性地学习了吴恩达老师关于 Codex 的讲解,才真正体会到什么叫“手把手教学”——他把复杂的 AI 编程工具拆解成一个个清晰的步骤,从核心概念到实战操作,再到避坑指南,几乎覆盖了从入门到精通的全部路径。这种教学方式,确实能让我们少走很多弯路。 本文就将结合吴恩达老师的讲解思路,为你呈现一份关于 OpenAI Codex 的完整实战指南。无论你是刚接触编程的新手,还是希望提

weixin_30443731的博客 518

python基础之字典,集合

dict字典 字典是一种可变容器模型,且可存储任意类型对象,字典得每个键值对key=>value对用冒号:分割,每个键值对之间用逗号,分割,整个字典包括在花括号{}中 创建 d = {key1 : value1, key2 : value2 } 字典的方法 访问字典里的值 dict = {'Name': 'Zara', 'Age': 7, 'Class...

aquscjl8130的博客 298

OpenAI Codex配置实战:从安装排错到接入DeepSeek的完整指南

AI编程助手正从简单的代码补全走向能自主执行任务的Agent形态。Codex便是这类工具的代表,它不局限于补全代码,而是能理解需求、修改文件、运行命令并迭代修正。然而,实际落地常被安装登录、网络连接和模型配置等问题卡住,尤其是reconnecting和本地代理报错,让不少开发者止步门前。对于希望控制成本或使用替代模型的人来说,通过config.toml接入DeepSeek等OpenAI兼容接口是一条可行路径,既能保留Agent工作流,又能按需切换模型提供方。理解配置项的作用、排查日志的思路以及最小化复现的技

weixin_29099217的博客 321

OpenAI Codex 实战指南:从环境搭建到自动化编程

最近在尝试将 AI 编程助手集成到日常开发流程中,发现很多教程要么过于零散,要么直接丢给你一堆命令,对于新手来说理解成本很高。直到我系统性地学习了吴恩达关于 Codex 的讲解,才真正体会到什么叫“手把手教学”——他把复杂的 AI 编程工具拆解得像教小孩一样清晰,从核心概念到每一步操作都讲得明明白白,确实能让人少走很多弯路。 本文就将结合吴恩达的讲解思路,为你带来一份从零开始的 OpenAI Codex 完整实战指南。无论你是想提升编码效率的开发者,还是对 AI 编程充满好奇的新手,都能跟着本文一步步搭建环

472

OpenAI Codex 使用教程

OpenAI Codex 使用教程

https://ophome.blog.csdn.net,在IT行业有多年的工作经验,尤其是在Python、Linux、负载均衡、Nginx和服务器运维等领域。 2152

OpenAI Codex办公Agent Skills实战指南

AI办公自动化正通过Agent Skills技术实现质的飞跃。作为基于大语言模型的智能体技术,Agent Skills通过封装任务指令、资源库和执行脚本三大组件,使AI系统能像人类专家一样处理复杂办公场景。其核心技术原理结合了自然语言处理、自动化脚本和知识图谱,在文档生成、会议管理、数据处理等场景可实现3-5倍的效率提升。OpenAI Codex作为领先的AI编程助手,其Agent Skills功能特别适合处理周报生成、邮件分类、合同审查等高频办公需求。通过模块化设计和乐高式组合,不同Skills还能串联形

weixin_33816300的博客 366

Codex 全面实战教程:从安装到工程协作,一篇跑通

这不是一篇泛泛而谈的 AI 编程介绍,而是一份完整跑通的 Codex 实战指南。从账号与环境准备,到 IDE / CLI / Cloud 的真实使用,再到用一句话完成工程任务,本文详细拆解 Codex 在真实开发流程中如何读仓库、改代码、跑命令,帮你把 AI 从“写代码的工具”,真正用成“工程协作者”。

阿甘兄 8万+

OpenAI Codex本地部署与国内接入:GPT-6传言下的实战指南

在AI编程助手快速演进的当下,如何从“看概念”转向“能上手”成为开发者关注的核心问题。基于大语言模型的智能体工具,通过理解自然语言指令即可完成代码生成、仓库重构与批量任务处理,正在重塑软件工程流程。这类工具的价值在于降低编程门槛、提升调试效率,尤其在处理重复性重构、脚本编写、项目结构解析等场景中表现突出。然而,面对GPT-6、Astra等高频搜索词背后的信息噪声,更理性的策略是聚焦当前可落地的开源方案。OpenAI Codex作为一款已开源的命令行AI编程助手,支持本地安装与API调用,并能通过兼容接口接入

weixin_34342992的博客 412

OpenAI Codex实战指南:从零掌握AI代码生成,提升开发效率

在开发过程中,你是否曾为重复性的代码编写、繁琐的脚本调试而烦恼?无论是需要快速生成一个数据处理脚本,还是想自动化日常的运维任务,手动编写每一行代码不仅耗时,还容易出错。随着AI编程助手的兴起,开发者们有了新的效率工具。本文将围绕OpenAI Codex这一强大的AI代码生成模型,为你提供一份从零基础到实战应用的完整指南。无论你是编程新手,还是希望将AI集成到工作流中的资深开发者,都能通过本文掌握Codex的核心用法,并亲手实践几个自动生成脚本的案例,真正实现“让AI为你写代码”。 1. Codex是什么?它

weixin_33725270的博客 506

Codex 完整指南(三):OpenAI 官方实战指南整理|251 篇(最新)TaoToken 接入版

Codex 接入卡在 config.toml 与 auth.json 配置?本文整理 OpenAI 官方 251 篇实战内容,给出可复制的 Codex 编程代理配置片段与五步自检流程,并说明如何通过 TaoToken 统一通道完成 Base URL、API Key、Model ID 三件套接入。详见 https://taotoken.net/?utm_source=taotoken_aicg_blog_end

weixin_35755823的博客 139

OpenAI Codex 上手指南:从安装到实战的编程智能体完整攻略

编程智能体(Agent)正改变开发者与代码的交互方式,它不再是简单的问答机器人,而是能自主读取文件、执行命令、迭代修复错误的自动化工具。这种智能体的核心技术在于将大语言模型与本地环境绑定,通过工具调用形成“生成-运行-调试”闭环,显著提升编码效率。在实际工程中,无论是重构老代码、生成测试用例,还是批量处理文件,它都能成为得力助手。OpenAI 推出的 Codex 正是这类工具的代表,它提供桌面端与 CLI 两种形态,支持自定义模型接口(如接入 DeepSeek),并可通过 API Key 灵活集成。本文从安

weixin_29061465的博客 274

Codex 上手指南:从安装配置到 AI 编程实战(2026 更新)

AI 编程新王 Codex 全面指南 核心亮点: Codex 是 OpenAI 基于 GPT-5 打造的 AI 编程助手,支持命令行、IDE 插件、SDK 和云端四种运行环境 提供 CLI 快速安装指南,支持 GPT-5 和专用编程模型 GPT-5-Codex,可调节性能档位 创新性支持国产模型免费接入方案(如智谱大模型) 配备 MCP 插件机制,扩展 AI 外部工具调用能力 特别介绍 Context7 文档查询工具,有效解决 AI 代码幻觉问题 使用价值: 开发者可零成本获得专业 AI 结对编程体验 通过

szial的专栏 6672

InSAR图像配准:从像素级到亚像素级的精度提升策略

本文深入探讨了InSAR图像配准技术,从像素级到亚像素级的精度提升策略。通过分析最大频谱法和相干系数法的适用场景,结合频域补零插值和四叉树分块等高级技术,实现1/8像素级的高精度配准。文章还提供了实用的精度验证方法和常见问题排查指南,为InSAR数据处理提供全面解决方案。

nginx7reverse的博客 841

【影像组学】用3Dslicer或Python提取影像组学特征

用3Dslicer或Python提取影像组学特征

abdslfwoeugp 1万+

Codex 配置 OpenAI 兼容接口完整流程:API Key、模型选择与常见报错排查

准备一个可用的 API Key完成本地接口配置,用一个空文件夹验证模型调用和文件写入。只要这三步跑通,后面再切换模型、处理真实项目、观察消耗记录就会清楚很多。本文只是个人实践记录,不涉及对任何服务的效果承诺。涉及公司代码、客户资料、生产环境配置等敏感内容时,建议先确认团队内部的数据安全要求,再决定是否接入第三方服务。

MaaaaaaX_的博客 1836

混合部署 操作系统混合部署

在openEuler Embedded 22.03中,已经集成了OpenAMP相关支持,并与openEuler的SIG Zephyr合作实现了openEuler Embedded与实时操作系统Zephyr在QEMU平台上的混合部署。具体的混合部署方式取决于设备的硬件和软件支持。例如,可以使用虚拟机软件(如VirtualBox)在Linux操作系统上运行Android虚拟机,从而实现Linux和Android的混合部署。需要注意的是,混合部署涉及到设备的硬件和软件兼容性,以及操作系统的配置和管理。

dianqicyuyan的博客 1776

VS Code 使用 OpenAI Codex 调用 ChatGPT 模型辅助编程

本文介绍了在 VS Code 中使用 OpenAI Codex 调用 GPT 模型辅助编程的方法,重点说明 ChatGPT Plus、Codex、API 和 Token 的区别。使用官方 Codex 插件、CLI 或 App,并通过 ChatGPT 账号登录时,一般不需要额外充值 API。文章还总结了模型、智能等级、速度、权限和额度选择,并对比 Codex 与自行调用 API 的适用场景。

冰冻三尺非一日之寒 2051

Windows 10/11 安装 HYSPLIT 气象模型全攻略(附必备工具包下载清单)

本文提供了一份详尽的Windows 10/11系统下HYSPLIT气象模型安装与配置全攻略。指南涵盖了从核心认知、必备工具包(Tcl/Tk、ImageMagick)下载,到分步安装、环境变量设置及首次运行验证的完整流程,旨在帮助研究者和学生高效部署这一用于大气轨迹模拟与污染物扩散分析的专业工具。

weixin_28335283的博客 625

阿里云习题多选部分459道

比如: UserA的用户在杭州有一台经典网络的ECS云服务器InstanceA (内网IP: A.A.A),InstanceA所属的默认安全组为GroupA, UserB的用户在杭州有一台经 典网络的ECS云服务器InstanceB(内网IP:B.B.B),InstanceB所属的默认安全组为GroupB。43.创建阿里云的云服务器ECS实例之前,需要对ECS实例的配置进行选型,阿里云为用户提供了推荐的配置组合方案来满足大部分用户的需求,这些推荐配置只是作为开始使用云服务器ECS实例的参考。

2501_91384465的博客 1318

如何用Codex-X按项目路径整理Codex历史会话

**Codex-X** 是一款面向 OpenAI Codex 桌面端 / CLI 的可视化会话管理工具,它的「会话管理」页面可以扫描本地 Codex 历史会话,支持**按项目路径分组**、搜索、同步、批量导出与删除,帮你把散落在各个项目里的 Codex 历史记录快速整理清楚。 [![Codex-X 会话管理工具界面,支持按项目路径整理 Codex 历史会话](https://raw.gitcod

gitblog_00994的博客 969

数字IC后端实战:Innovus与ICC2中如何巧妙规避Filler1缺失引发的DRC问题?

本文针对数字IC后端设计中工艺厂不提供最小填充单元Filler1的常见挑战,深入剖析了由此引发的DRC问题根源。详细对比了在Cadence Innovus和Synopsys ICC2两大主流PR工具中,如何通过设置单元间距约束来系统性规避物理缝隙,确保电源网络完整性与制造可靠性,为工程师提供了一套稳健的实战解决方案。

weixin_29303701的博客 318

从零开始玩转 OpenAI Codex:终端 AI 编程完全实战指南

Codex CLI 的价值远不止“代码补全”。它是一个可以在本地项目目录中直接调用的编码代理,让模型围绕真实代码仓库完成分析、修改与执行任务。从安装到使用,从命令模式到交互模式,从提示词技巧到 C# 实战集成——Codex 正在从“写代码”走向“做工程”。无论你使用什么语言或技术栈,都值得尝试将这个终端 AI 编程助手融入你的日常开发工作流。📌 本文所有命令和配置示例基于 Codex CLI 0.118.0 版本,更详细的官方文档可访问OpenAI Codex CLI 官方文档。

QSuperstar的专栏 1371

哈希拓展攻击CTF题做法

kali下载相关工具hash-ext-attack:hash拓展题目特征:2023楚慧杯upload_shell实验吧之让我进去:前言:具体怎么加密解密补位的原理我不懂,深入理解的部分我在文末挂了链接,以下也只是我做题的结论和通解,可能不准确(但是做题还挺准确),有错误欢迎指出:是在密码加密过程中引入的一个随机值,它与密码结合使用,目的是增加密码的复杂性和安全性。在密码加密中,常见的做法是将用户提供的密码进行哈希处理,然后存储哈希值而不是明文密码

2301_76690905的博客 2426

【unity游戏开发之InputSystem——01】通过写代码监听InputSystem输入(基于unity6开发介绍)

通过写代码监听InputSystem输入(基于unity6开发介绍)

向宇的博客,专注php/web全栈 unity游戏开发,欢迎大家评论纠错 4903
上一篇: Codex 完整指南(二):核心概念详解|工程级 AI 编程智能体
下一篇: Codex 完整指南(四):多端使用全景图|IDE、CLI、Cloud 与团队集成
杨林伟
杨林伟 新星创作者: 信息安全技术领域 新星创作者: 信息安全技术领域 领域专家: 后端开发技术领域 领域专家: 后端开发技术领域
博客等级 码龄12年 1万+粉丝 3544原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值