
Explore how codecs function as an agentic coding tool, install and configure codecs, set up AI rules, tools, and prompts for efficient C# development, and review advanced topics.
Explore four Codex development options—CLI, IDE extension, Codex app, and Codex cloud—and compare strengths, weaknesses, and cross-device session sharing for seamless local and cloud workflows.
Demonstrates a Hello World prompt with Codecs, auto-creating a .NET 10 Blazor server project, a home page and counter, and plans for rule-driven coding.
Install the codec cli globally with npm, log in using a chatgpt account, and trust the directory to start codecs, choosing a subscription for payment.
Install the Codex extension in Visual Studio Code, set the chat sidebar beside Co-Pilot, sign in to chat-tbt (or use an API key), and prepare to start your first prompt.
Install the Codex app from OpenAI developers, via Windows or Mac, preferably from the Microsoft Store; then log in, choose a ChatGPT subscription, and add a Codex project.
Explore codecs configurations across the CLI, IDE, and app, including model and mode, plus full access permissions. Learn to manage MCPs, plugins, and controls like startup and steer versus queue.
In this lecture, I explain that while we saw a bunch of configuration settings, there are many more settings to be added in advanced scenarios
Configure Codex Cloud for C# development by linking environments, selecting a repo, and setting container images, variables, secrets, and .NET NuGet sources; run prompts, view logs, and create pull requests.
Explore a Blazor server to-do app built with ModBlazor and a shared API. See SQLite with EF Core powering repository patterns, task CRUD, and an MCP server.
Explore basic prompting for an existing to-do app, adding on-page stats and a home.json target, with three sections for this month, last month, and total, in agentic coding.
Learn about the evolving agents.md standard, how rules guide coding agents across Codex, Cursor, GitHub Copilot, and Claude Code, and manage root versus multiple agent files with the .agents file.
Disclaimer: The anthropomorphism of the AI Coding Agent in this and following lectures are done for entertainment value. I'm not of the belief that AI agents are alive.
Translate codex-guided agents.md rules into an editor config file and enforce errors, not warnings, so AI and humans follow coding standards in C# projects.
Examine rules beyond the agents.md file, covering architecture, api endpoints, and Blazor page creation, and explain how agent skills handle conditional rules separate from the rules you always should follow.
Discover AgentSkills, the open standard adopted by the agentic community, and learn how skills stored as folders in .agents use skills.md with YAML front matter to load on demand.
Create and curate AI-generated skills for a sample repo, including an api endpoint, a blazor page, an mcp tool, and a repository query, with manual refinement.
Learn how prompts leverage skills by default, how an agent reads relevant skill guides, and use commands like add Blazor page or add stats page.
Explore advanced out-of-the-box skills with the Playwright browser automation skill for C# developers, covering setup, installation, and practical commands like open, snapshot, click, type, and form filling.
Demonstrate building a Microsoft To Do integration using the Graph API, covering Azure app registration and task.read/task.write permissions, and a JavaScript-based CRUD skill with environment variables.
Assess whether to reference skills in AgentsMD and MCP tools; avoid duplicating skill definitions, since an AI agent will read AgentsMD and all skills natively.
Automate checks to keep agents.md and skills up to date without rewriting, fix spelling and version errors, and reflect changes in the readme and generated code for consistency.
Learn how MCP servers standardize tools and data access for ai agents. Explore information-based and action-based servers, plus local and remote deployments, with Codex as a client.
Set up MCP servers in Codex using GUI, CLI, or config toml, choosing local stdio or streamable remote servers with URLs, bearer tokens, headers, and environment variables.
Discover recommended MCP servers for C# development, including Microsoft Learn, Context 7, GitHub, and Azure DevOps, and learn to build your own lightweight MCP solutions using Codecs and internal tools.
Plan mode shows how to structure prompts and generate migrations for an EF Core to-do app, then build a stats page with ModBlazor components.
Adopt a hybrid planning approach that replaces plan mode with clarifying questions and Agents MD, guiding coding before execution by reading skills, inspecting the codebase, and asking 3–10 questions.
This lecture reviews the April 17, 2026 Codex update, covering bug fixes, a non-project chat, in-app image generation, and new project tabs for summary, review, and change files.
Examine how to set reasoning effort levels when coding with Codex, comparing medium and high to extra high, and when to use high for coding vs non-coding tasks.
Learn how to use requestUserInput to present options in a GUI from prompts, enabling normal mode prompts with a GUI picker by enabling the defaultModeRequestUserInput feature flag in config.toml.
Learn how follow-up behavior uses queue and steer modes in Codex, with practical examples of steering prompts to switch tasks from green to red and merge edits mid-flight.
Start a cloud task in Codecs, apply its change to a red button, and see it locally in Visual Studio, with an option to revert.
In this course, we are going to learn Agentic Coding using Codex (also referred to by some as Vibe Coding). Codex is an Agentic Coding Agent that is developed and maintained by OpenAI, the company behind ChatGPT. It is similar to Claude Code, but IMHO a much better and more professional tool ;-)
Agentic Coding in IMHO, the future of Coding, and in the course, I will teach you the following topics:
How to install and configure Codex (You can use Codex as either a CLI, in an IDE such as Visual Studio Code, the dedicated Codex App, or in OpenAI's Cloud Setup)
Set up AI rules (known as AGENTS md files) and explain why this is important
Set up MCP Servers for extra capabilities
Set up Skills for even better AI Rules
I will be using Microsoft Windows for installing Codex and using C# as the programming Language, but if you are on a Mac or use a different programming language, most of this course is universal knowledge
All code and resources in the course are accessible in the companion GitHub Repository
So enough talk! Let's get into the wonderful world of Codex!
(Should you have any questions along the way, feel free to raise them in the Q&A section)