# Agent Functions

DevFeed: [Agent Functions](<https://devfeed.tech/articles/agent-functions-67106.md>)

Original publisher: [Read original article](<https://githubnext.com/posts/agent-functions/>)

Published: 2026-05-22T00:00:00Z

Content type: article

Language: en

Sources: [GitHub Next](<https://devfeed.tech/sources/github-next.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [agent orchestration](<https://devfeed.tech/topics/agent-orchestration.md>), [hardened ai agent skills](<https://devfeed.tech/topics/hardened-ai-agent-skills.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [code](<https://devfeed.tech/tags/code.md>), [cost](<https://devfeed.tech/tags/cost.md>), [deterministic-workflows](<https://devfeed.tech/tags/deterministic-workflows.md>), [engineering](<https://devfeed.tech/tags/engineering.md>)

## AI overview

Agent Functions proposes structuring agent work as reusable, typed functions stored in a registry and executed in capability-limited microVMs. Planning agents select or create task definitions and implementations; execution agents receive only the tools needed for their assigned steps. The proposal emphasizes reuse, testing, benchmarking, reduced context use, and limiting permissions.

## Source excerpt

Prompts are programs. You wouldn't write a complex program completely from scratch, in a big, soupy loop without subroutines, and then write it again the next time you wanted to run it. Why let your agent work that way?