mathspp.com feed

Rodrigo Girão Serrão: Write a coding agent from first principles (opens in new tab)

Learn how to write a coding agent in Python in this tutorial that teaches how to interact with an LLM through an API, how to manage the context, and how to do tool calling. Introduction This tutorial will show you how to create your own coding agent from first principles. By doing so, you'll understand how coding agents work under the hood. Prerequisites To be able to follow this tutorial, you'll need prior Python experience: this tutorial is not suitable for people who don't have programming...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help