-
Notifications
You must be signed in to change notification settings - Fork 219
feat(codex): add support for codex openai #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dineshSajwan
wants to merge
21
commits into
awslabs:main
Choose a base branch
from
dineshSajwan:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c33534b
feat(codex): add support for codex openai
be32a57
Merge branch 'main' into main
dineshSajwan b3f2dfd
chore(docs): update README with directory structure information
dineshSajwan 377c88f
chore(docs): updated docs
dineshSajwan 4137e91
chore(docs): updated markdown syntax
dineshSajwan 34e6d3a
chore(docs) : update the limit messaging
dineshSajwan 2e48ecc
chore(docs): update readme
dineshSajwan c9d70af
feat(codex): add support for codex openai
dd33da4
feat(codex): add support for codex openai
df137c8
chore(docs) : update the limit messaging
dineshSajwan bdec79f
Merge branch 'main' into main
dineshSajwan 3e53417
feat(codex): add other agents back in readme
1e505e1
chore(doc): apply suggestion from @scottschreckengaust
dineshSajwan cedb6f9
Merge branch 'main' into main
dineshSajwan 366defc
feat(codex): add other agents back in readme
5f4b6c5
chore(doc): update README.md
dineshSajwan 5ae1f66
chore(doc): update README.md
dineshSajwan 7a3ae58
feat(codex): updated docs
41de243
feat(codex): updated verify set up for codex
641b686
Merge branch 'main' into main
scottschreckengaust 99a6867
Merge branch 'main' into main
dineshSajwan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,7 @@ AI-DLC is an intelligent software development workflow that adapts to your needs | |
| - [Cline](#cline) | ||
| - [Claude Code](#claude-code) | ||
| - [GitHub Copilot](#github-copilot) | ||
| - [OpenAI Codex](#openai-codex) | ||
| - [Other Agents](#other-agents) | ||
|
|
||
| --- | ||
|
|
@@ -456,6 +457,59 @@ xcopy "%USERPROFILE%\Downloads\aidlc-rules\aws-aidlc-rule-details" ".aidlc-rule- | |
|
|
||
| --- | ||
|
|
||
| ### OpenAI Codex | ||
|
|
||
| AI-DLC uses [Codex AGENTS.md](https://developers.openai.com/codex/guides/agents-md) to implement its intelligent workflow. Codex automatically discovers and loads `AGENTS.md` from your project root when you start a session. | ||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sentence reads as if AI-DLC uses Codex only. Should be reworded to say that it is one of IDEs supported. |
||
|
|
||
| The commands below assume you extracted the zip to your `Downloads` folder. If you used a different location, replace `Downloads` with your actual folder path. | ||
|
|
||
| **Unix/Linux/macOS:** | ||
| ```bash | ||
| cp ~/Downloads/aidlc-rules/aws-aidlc-rules/core-workflow.md ./AGENTS.md | ||
| mkdir -p .aidlc-rule-details | ||
| cp -R ~/Downloads/aidlc-rules/aws-aidlc-rule-details/* .aidlc-rule-details/ | ||
| ``` | ||
|
|
||
| **Windows PowerShell:** | ||
| ```powershell | ||
| Copy-Item "$env:USERPROFILE\Downloads\aidlc-rules\aws-aidlc-rules\core-workflow.md" ".\AGENTS.md" | ||
| New-Item -ItemType Directory -Force -Path ".aidlc-rule-details" | ||
| Copy-Item "$env:USERPROFILE\Downloads\aidlc-rules\aws-aidlc-rule-details\*" ".aidlc-rule-details\" -Recurse | ||
| ``` | ||
|
|
||
| **Windows CMD:** | ||
| ```cmd | ||
| copy "%USERPROFILE%\Downloads\aidlc-rules\aws-aidlc-rules\core-workflow.md" ".\AGENTS.md" | ||
| mkdir .aidlc-rule-details | ||
| xcopy "%USERPROFILE%\Downloads\aidlc-rules\aws-aidlc-rule-details" ".aidlc-rule-details\" /E /I | ||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ``` | ||
|
|
||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| **Verify Setup:** | ||
| 1. Start a Codex session in your project directory | ||
| 2. Ask Codex: For existing project - "Using AIDLC analyse the project?" or For new project "Using Aidlc what workflow do you see" . | ||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 3. Codex should describe the AI-DLC three-phase workflow (Inception → Construction → Operations) | ||
|
|
||
| > [!NOTE] | ||
| > The `AGENTS.md` file is designed to fit within Codex's instruction budget under default settings. If you add substantial project-specific content and Codex reports that the project documentation exceeds its instruction limit, you can increase the limit in your Codex configuration (for example, by adjusting `project_doc_max_bytes` in your `config.toml` file): | ||
| > ```toml | ||
| > project_doc_max_bytes = 65536 # Example value; choose a limit appropriate for your project | ||
| > ``` | ||
|
|
||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| **Directory Structure:** | ||
|
|
||
| ``` | ||
| <my-project>/ | ||
| ├── AGENTS.md | ||
| └── .aidlc-rule-details/ | ||
| ├── common/ | ||
| ├── inception/ | ||
| ├── construction/ | ||
dineshSajwan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ├── extensions/ | ||
| └── operations/ | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ### Other Agents | ||
|
|
||
| AI-DLC works with any coding agent that supports project-level rules or steering files. The general approach: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.