Short answer. An AI agent is a loop around a model: it receives a goal, decides on an action, calls a tool, reads the result and continues until it can answer or a limit stops it. The model supplies judgement; your application supplies the tools, permissions, state and stop conditions. Start with one function-calling loop, add memory or retrieval only where continuity changes the outcome, and put the security controls in place before the agent can write to a real system.
What this hub covers
The guides are grouped by the job you are doing, not by the framework you happen to use. A first prototype needs a tool schema and a loop. A production agent needs scoped credentials, approval gates, an evaluation set and a cost model. A migration needs a client change, a model map and a rollback path. The same primitives recur, but the order matters: a control added after an incident is more expensive than one designed into the first loop.
Every page follows the same evidence standard. Product limits come from the published pricing page and the live model catalogue. Interface behaviour comes from the official documentation checked on 20 November 2026. Where a number is an assumption used to demonstrate arithmetic, the page says so. Where a claim could not be verified, the page says that too, rather than filling the gap with a benchmark.
Start with the loop, not the framework
An agent framework is optional code that runs a loop for you. The loop itself is simple: send messages and a tool list, read the returned tool calls, validate the arguments, execute the tools, append the results and call the model again. If you cannot describe that loop on one page, a framework will hide the part you most need to understand. Build it once by hand, then decide whether the framework earns its dependency.
The loop also determines your cost and your risk. Every extra step re-sends context, so step count and context size multiply the token bill. Every extra tool widens the blast radius, so the tool list should be shorter than the first draft. The guides on function calling and cost are therefore companion pieces: the same design decision that makes an agent cheaper usually makes it safer.
For a first build, use a small model for routing and extraction and reserve the frontier pool for planning. Plugsky exposes all public model IDs on one OpenAI-compatible key, and the free tier covers plugsky-micro and plugsky-lite. The canonical REST host is https://api.plugsky.com/v1; the docs also accept https://plugsky.com/v1 as an alias.
Choose a guide by the job
| Job | Start with | Then read |
|---|---|---|
| Build a first working loop | AI agents with function calling | Agent API quickstart, Python or TypeScript |
| Give the agent continuity | AI agents with memory | AI agents with RAG |
| Keep it inside its authority | Agent security checklist | Agent tool permissions, audit logs |
| Move an existing OpenAI agent | OpenAI Agents SDK migration guide | Function calling, MCP gateway |
| Estimate and control cost | How much do AI agents cost? | Agentic AI pricing guide, evaluation framework |
| Choose a framework or platform | Best AI agent platforms | CrewAI, AutoGen and LangGraph comparisons |
Start here
What Is an AI Agent API?
The endpoint contract, tools, memory and loops.
AI Agent vs Assistant
Where autonomy starts and a chat assistant stops.
AI Agent vs Chatbot
Tool use, state and the difference in operating risk.
AI Agents Platform
The Plugsky agent surface on one compatible API.
Build the loop
These guides cover the mechanics: defining tools, running the loop, deciding when to hand off, and measuring whether the trajectory was correct. Read the function-calling guide first if you are new to the pattern; the quickstarts show the same loop in Python and TypeScript.
AI Agents With Function Calling
Schemas, tool descriptions and a validated loop.
AI Agents With Local Tools
Files, shells and local services without ambient access.
Agent Orchestration Guide
Sequential, parallel and supervisor patterns.
Multi-Agent Systems Guide
Handoffs, shared state and failure boundaries.
AI Agents With Human Approval
Approval gates, idempotency and review queues.
AI Agents With Scheduled Tasks
Timers, retries and unattended runs.
Agent API Quickstart Python
A first tool loop with the Python SDK.
Agent API Quickstart TypeScript
The same loop with the TypeScript SDK.
Agent Evaluation Framework
Trajectory checks, task success and cost per task.
Memory and retrieval
Memory is a product decision before it is a database choice. Store only what changes a future action, scope it per user and tenant, and give every record a source and an expiry. Retrieval is the other half: an agent that can search again when the first result misses needs a retrieval tool, a freshness rule and a citation check.
AI Agents With Memory
Working memory, summaries and long-term stores.
AI Agents With RAG
Retrieval as a tool, citations and access control.
Security and operations
The baseline is not exotic: scoped keys, a deny-by-default tool allowlist, schema validation, sandboxed execution, approval for writes, restricted egress and per-action logs. These guides go deeper on the controls and on the failure modes that show up after launch.
Agent Security Checklist
Controls, review questions and evidence to request.
Agent Tool Permissions Guide
Allowlists, scopes and approval tiers.
Agent Audit Logs Explained
What to log so an incident can be reconstructed.
Agent Failure and Retry Design
Timeouts, backoff and idempotency.
AI Browser Agents
Sessions, isolation and untrusted pages.
Computer-Use AI Agents
Screen control with the smallest viable authority.
Cost and pricing
Cost per completed task is the only metric that survives contact with a business case. The cost guide shows the arithmetic from published plan limits and labels every token assumption. The pricing guide explains the difference between a flat plan and a per-token bill without pretending one is always better.
How Much Do AI Agents Cost?
Six cost buckets and four worked examples.
Agentic AI Pricing Guide
How agent workloads meet plan limits.
Migration and platform choices
If your agent already runs on the OpenAI Agents SDK, migration is mostly a client change and a model map. If you are choosing a framework, compare the operating model rather than the feature list: state handling, tracing, deployment and the cost of leaving all matter more than the number of integrations.
OpenAI Agents Migration Guide
Client change, model map, tracing and cutover.
Best AI Agent Platforms
Selection criteria and honest trade-offs.
Best Self-Hosted AI Agents
When local control is worth the operating cost.
CrewAI vs AutoGen vs LangGraph
Three orchestration models compared.
AutoGen Alternative
What to check before switching.
CrewAI Alternative
Framework fit, migration effort and lock-in.
LangGraph Alternative
Graph state versus a hand-written loop.
Desktop and consumer alternatives
Consumer agent products solve a different problem from an API agent: they bundle a workspace, a browser and a subscription. The comparisons explain where a hosted product is the better choice and where an API-owned loop gives you the control you need.
ChatGPT Agent Alternative
Own the loop, the data path and the bill.
Claude Agent Alternative
Tool use, deployment and exit cost.
Genspark Alternative
Research workflows versus a custom agent.
Manus Alternative
Autonomous task products and API control.
Perplexity Computer Alternative
Search-first agents and retrieval ownership.
Role and industry builds
These guides apply the same loop to a specific job. They are useful as architecture starting points, not as claims that a particular industry deployment has been tested. Each one keeps the security and cost questions visible.
Build an AI Coding Agent
Repository context, sandboxing and review gates.
Build an AI Compliance Agent
Evidence, citations and approval trails.
Build an AI Customer Support Agent
Retrieval, escalation and write limits.
Build an AI Data Analysis Agent
Query tools, result validation and cost caps.
Build an AI Document Agent
Parsing, extraction and source tracking.
Build an AI Finance Agent Safely
Two-person approval and immutable records.
Build an AI Operations Agent
Runbooks, alerts and bounded remediation.
Build an AI Procurement Agent
Vendor evidence, comparisons and audit.
Build an AI Research Agent
Multi-source search, notes and citations.
Build an AI SEO Agent
Crawl data, briefs and human review.
Build an AI Sales Agent
CRM tools, outreach limits and consent.
How the guides are maintained
Each page states the date its sources were checked. Product limits are taken from the pricing page, model facts from the live catalogue, and interface behaviour from the official documentation. When a page uses an assumption to demonstrate arithmetic, it says so next to the number. When a feature's status could not be verified, the page points to the API reference instead of asserting a roadmap.
The guides are edited when a source changes, not on a fixed calendar. A correction that removes an unsupported number is treated as an improvement, even if it makes the page less quotable. That is the trade: a smaller claim that survives review is worth more than a larger one that does not.
What these guides do not claim
They do not publish agent benchmarks, success rates, latency comparisons or customer results, because none were measured for these pages. They do not claim that a particular framework, model or deployment is universally better. They do not claim any certification: a SOC 2 report can be requested under NDA, and no ISO or FedRAMP certification is claimed. Cost examples use published plan rates and labelled assumptions, not a measured workload.
Frequently asked questions
What is an AI agent?
An AI agent is a loop around a model. It receives a goal, decides on an action, calls a tool, reads the result and continues until it can answer or a limit stops it. The model supplies judgement; your application supplies the tools, permissions, state and stop conditions.
Do I need an agent framework?
No. A single tool loop with capped turns, validated arguments and a state store is a few dozen lines. A framework helps when you need handoffs, durable execution, tracing or a team standard. It also adds a dependency and a migration cost, so start with the loop and adopt a framework when it earns its place.
Which guide should I read first?
Start with the function calling guide to build one working loop, then read the memory or RAG guide if the agent needs to remember or retrieve. Read the security checklist before the agent can write to a real system, and the cost guide before you scale a workload.
Are the cost figures on these pages measured?
No. The cost guide uses published plan rates and clearly labelled token assumptions to show the arithmetic. It does not present a measured workload, a benchmark or a customer result, and every assumption should be replaced with your own instrumentation.
Does Plugsky publish agent benchmarks or success rates?
These guides do not publish agent benchmarks, success rates or latency comparisons. Where a number appears, it is either a published plan limit or an assumption used in arithmetic, and the page says which. A vendor benchmark would not replace an evaluation on your own tasks.
How current are these pages?
The pages in this hub were checked on 20 November 2026. Product facts follow the approved facts page, model behaviour follows the live API catalogue, and the sources section on each page lists what was checked. API features can change, so confirm endpoint status in the current docs before you build on it.
See also: all articles · by country · free tools · what is Plugsky.
Build the first loop on a free key
Start with two tools, a step cap and one approval gate, then add memory or retrieval only where it changes the outcome.
Start free Read the docsSources
The guidance and links below were checked on 20 November 2026.
- OpenAI Agents SDK documentation — agents, tools, handoffs, guardrails, sessions and tracing. Checked 20 November 2026.
- Model Context Protocol specification — the tool and transport model used by MCP servers. Checked 20 November 2026.
- OWASP Top 10 for Large Language Model Applications — prompt injection, excessive agency and related risks. Checked 20 November 2026.
- Plugsky API docs — chat completions, function calling, embeddings and RAG. Checked 20 November 2026.
- Plugsky pricing — plan limits and billing terms. Checked 20 November 2026.
Last checked 20 November 2026. Approved product facts live at /facts; plan terms live at /pricing.