Wink Pings

When building an AI agent, don’t rush to pick a model first

Amir Ansari’s 8-step framework, from goals, prompts, models, tools, memory, orchestration, and interface to evaluation. One tool in the checklist has already shut down—don’t copy the selection list blindly.

Many people, when building an AI agent, first react by choosing a model. What gets stuck after launch is often unclear goals, tools that don’t connect, messy memory, or missing evaluation. Amir Ansari shared an 8-step framework on X, from idea to production. It works well as a checklist, not as a universal recipe.

AI agent 8-step framework

1. Define purpose and boundaries
First write clearly what the agent is supposed to accomplish. Who uses it, what problem it solves, what the success criteria are, and what it must not touch. If boundaries aren’t written down, prompts and tools will drift later.

2. Design the system prompt
Put goals, role, workflow, and constraints into the system instructions. Guardrails need to be explicit; don’t expect the model to guess them.

3. Choose the LLM
Look at capability, context window, temperature, and top-p, as well as cost, speed, and latency. Bigger models aren’t always better.

4. Connect tools and integrations
Local tools, APIs, web apps, MCP servers, custom functions—other agents can also be used as tools.

5. Build a memory system
Use episodic memory for conversations, working memory for the current task, a vector store for semantic retrieval, SQL for structured data, and file storage for files.

6. Orchestrate execution
Routing, workflows, triggers, parameters, message queues, inter-agent collaboration, and error handling. This is where it’s decided whether the agent is a toy or a system.

7. Provide a user interface
Chat window, web app, API, Slack or Discord bot. The closer the entry point is to the user’s original workflow, the more likely it is to be used.

8. Test and evaluate
Unit tests, latency tests, quality metrics, and iterative improvement. Test before launch, and keep testing after launch.

Amir also listed tools: ChatGPT, Claude, Perplexity; Cursor, Windsurf, Claude Code; Lindy, Relay.app, n8n; LangGraph, CrewAI, LlamaIndex.

There’s a pitfall here. Relay.app, one of the tools on the list, already shows on its website that it shut down in September 2026, with all accounts, workflows, and run history permanently deleted. The webpage still has an archived link from July 2026. Tool lists expire, so check status when selecting tools.

Amir’s conclusion is fairly restrained: model strength is not the only variable. Clear goals, suitable tools, reliable memory, easy orchestration, and continuous evaluation are what determine whether an agent is usable.

Original post: https://x.com/AamirAnsar94694/status/2126602132677673137
Relay.app shutdown notice: http://Relay.app
Archive: https://web.archive.org/web/20260714102304/https://www.relay.app/

发布时间: 2026-11-28 23:28