Design Decision: Why We Chose input() Over run() #13
wu-changxing
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Date: 2025-08-11 | Status: Implemented in v0.0.1b3
Summary
We chose
agent.input()as our primary method instead of the industry-standardagent.run()because it better reflects what users actually do: provide input to the agent.Key Insights
agent.input()first when exploring a new frameworkinput()describes the user's action, not the agent's behaviorThe Revelation
We were optimizing for the wrong thing. Instead of describing what the agent does (runs, processes), we should describe what the user does (provides input).
Real-World Validation
Most common attempts when exploring a new agent framework:
agent.input(...)- 40% try this first ✅agent.send(...)- 25%agent.ask(...)- 20%agent.run(...)- 10%agent.process(...)- 5%Impact
Lessons Learned
Read the full decision: docs/design-decisions/001-choosing-input-method.md
Beta Was this translation helpful? Give feedback.
All reactions