# How to Create an AI Agent > A practical guide to building your first AI agent: the loop, tools, frameworks, a no-code route, and the tests and guardrails to add before you rely on it. How to Create an AI Agent (howtocreateanaiagent.com) is a guide to building your first AI agent, with code or without it. It is published by General Action, the company that makes Emdash (https://emdash.com/), and is not an independent review site: where it recommends Emdash, it is recommending its publisher's own product. ## Pages - [How to Create an AI Agent](https://howtocreateanaiagent.com/): To create an AI agent, define one job and a test for it, choose a model, give it tools and run it in a loop. The eight steps, with code and no-code routes. - [AI agent frameworks compared](https://howtocreateanaiagent.com/guides/ai-agent-frameworks-compared/): When to write the agent loop yourself and when to use a framework, with a table of seven agent SDKs: what each is for, its languages and its license. - [Build an AI agent in Python](https://howtocreateanaiagent.com/guides/build-an-ai-agent-in-python/): A minimal working AI agent in about 75 lines of Python: a tool-calling loop written directly against the official Anthropic SDK, with every part explained. - [Create an AI agent without code](https://howtocreateanaiagent.com/guides/create-an-ai-agent-without-code/): How to build an AI agent with no programming, using n8n, Zapier, Make or a configured chat assistant, plus what the no-code route can and cannot do. - [Testing and guardrails for AI agents](https://howtocreateanaiagent.com/guides/testing-and-guardrails/): How to evaluate an AI agent with test cases and success criteria, then limit its permissions, add human approval and reduce prompt-injection risk. - [Tools, function calling and MCP](https://howtocreateanaiagent.com/guides/tools-and-mcp/): How AI agent tools work: the model asks for a function call, your code runs it and returns the result. Plus what the Model Context Protocol adds. - [What is an AI agent?](https://howtocreateanaiagent.com/guides/what-is-an-ai-agent/): An AI agent is a language model that uses tools in a loop and chooses its own next step. See how that differs from a chatbot and a workflow, with sources. - [About How to Create an AI Agent](https://howtocreateanaiagent.com/about/): Who publishes How to Create an AI Agent, why the site exists, how it handles recommendations of its publisher's own product, and how to report a correction.