Skip to content

Commit 4fc9ff6

Browse files
committed
Merge remote-tracking branch 'upstream/main' into copilot/resolve-code-branch-conflicts
# Conflicts: # README-zh.md # docs/zh/s01-the-agent-loop.md # docs/zh/s04-subagent.md
2 parents c7ef4f1 + a9c7100 commit 4fc9ff6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+631
-115
lines changed

README-ja.md

Lines changed: 159 additions & 19 deletions

README-zh.md

Lines changed: 154 additions & 14 deletions

README.md

Lines changed: 157 additions & 17 deletions

agents/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# agents/ - Python teaching agents (s01-s12) + reference agent (s_full)
1+
# agents/ - Harness implementations (s01-s12) + full reference (s_full)
22
# Each file is self-contained and runnable: python agents/s01_agent_loop.py
3+
# The model is the agent. These files are the harness.

agents/s01_agent_loop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: the loop -- the model's first connection to the real world.
23
"""
34
s01_agent_loop.py - The Agent Loop
45

agents/s02_tool_use.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: tool dispatch -- expanding what the model can reach.
23
"""
34
s02_tool_use.py - Tools
45

agents/s03_todo_write.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: planning -- keeping the model on course without scripting the route.
23
"""
34
s03_todo_write.py - TodoWrite
45

agents/s04_subagent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: context isolation -- protecting the model's clarity of thought.
23
"""
34
s04_subagent.py - Subagents
45

agents/s05_skill_loading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: on-demand knowledge -- domain expertise, loaded when the model asks.
23
"""
34
s05_skill_loading.py - Skills
45

agents/s06_context_compact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# Harness: compression -- clean memory for infinite sessions.
23
"""
34
s06_context_compact.py - Compact
45

0 commit comments

Comments
 (0)