Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Building Agents with Claude and eve

Free · sign in to start and track progress

1 · Harnesses

  • 1Choosing a harness
  • 2The Claude Agent SDK
  • 3Agents as files with eve

    Exercise answers

    • Answer: Build and break a contract-pack reader in eve
    • Answer: Make a side-effecting tool safe to replay

2 · Composition and control

  • 4Skills and subagents
  • 5Human approval for high-stakes actions
  • 6Shipping agents
CapstoneA drafting agent with human approval in eveReference implementation

Module 1 · Harnesses · Lesson 3

Agents as files with eve

How eve turns a directory of files into a durable agent service, what runs in the app runtime versus the sandbox, and how sessions checkpoint and resume after a crash.

70 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodeDurable agents with eveGet an OpenRouter keyLocal models with OllamaOpenRouter or a local model?

By the end of this lesson you can

  • Place each part of an agent (rules, procedures, typed actions, working files, specialists, shared code) in the correct eve file or folder, and justify the choice
  • Write an eve tool with defineTool and a Zod input schema, and explain what runs in the app runtime and what runs in the sandbox
  • Trace a session through turns and steps, and predict what re-runs after a crash mid-turn
  • Configure the model for local development (OpenRouter or a local model) and explain what must change before deployment
  • Compute when compaction starts for a given context window, threshold and fixed prompt size

On this page

  • The idea: an agent is a directory
  • Instructions and the model
  • Tools: typed actions in the app runtime
  • Two execution environments
  • Seeding working files
  • Sessions, turns and steps
  • Worked example: a crash mid-turn
  • Worked example: when compaction starts
  • Watch it running
  • Hooks observe; they don't gate
  • Misconceptions and limits
  • How this connects
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01The idea: an agent is a directory
  2. 02Instructions and the model
  3. 03Tools: typed actions in the app runtime
  4. 04Two execution environments
  5. 05Sessions, turns and steps
  6. 06Worked example: a crash mid-turn
  7. 07Worked example: when compaction starts
  8. 08Watch it running
  9. 09Hooks observe; they don't gate
  10. 10Misconceptions and limits
  11. 11How this connects
  12. 12Summary

Sources & further reading

  • Effective harnesses for long-running agentsLab research · Justin Young · Anthropic · 2025Why long-running agents need state outside the context window (progress files, git, feature lists). A harness-independent view of the problem eve's durable sessions address.
  • Execution Model and DurabilityDocs · VercelThe core page for this lesson. Read "Sessions, turns, and steps", "Agent loop and sandbox" and "Resuming after a crash", including the warning that recovery does not make external effects exactly-once.
  • Getting StartedDocs · VercelPrerequisites (Node.js 24), eve init, the terminal UI and the model credentials you can connect. Ten minutes; do it before the core exercise.
  • Security ModelDocs · VercelThe trust-boundary table (app runtime versus sandbox), where secrets live, and the pre-production checklist. Short and essential for anything that touches client documents.
  • Agent ConfigurationDocs · VercelModel selection (Gateway strings, anthropic(), chatgpt()), compaction thresholds and runtime limits such as sessionUsage and sessionTimeoutMs.
  • Introducing eveArticle · Vercel · 2026The launch post. Read it for the design intent (agents as files, durable by default, sandboxed execution) rather than for API detail, which the docs cover.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 12 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks