Skip to content
 
 

Repository files navigation

Build your own coding agent

Minimal workshop scaffold in Python and C++.

Setup

Create a .env file from the example:

cp .env.example .env

Fill in:

  • OPENAI_BASE_URL
  • OPENAI_API_KEY

CLI

The CLI:

  • Loads the .env file
  • Prints the system prompt
  • Runs pwd via bash
  • Prints the command output and exit code
  • Sends one /chat/completions request
  • Prints the JSON response

Python

Run:

uv run agent

Select a different model:

uv run agent --model openai/gpt-oss-120b

C++

Build and run:

cmake -B build
cmake --build build -j
build/agent

Select a different model:

build/agent --model openai/gpt-oss-120b

About

Build your own coding agent.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages