Agents · 2027 planning guide · Evidence checked 20 November 2026

AI agent deployment platform: guides, security and cost

A working agent is a loop, a tool layer and a set of controls. These guides cover each part in order: the first function-calling loop, memory and retrieval, orchestration and handoffs, the security controls that keep an agent inside its authority, and the arithmetic that turns plan limits into a cost per completed task.

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

Where to start, and what to read next
JobStart withThen read
Build a first working loopAI agents with function callingAgent API quickstart, Python or TypeScript
Give the agent continuityAI agents with memoryAI agents with RAG
Keep it inside its authorityAgent security checklistAgent tool permissions, audit logs
Move an existing OpenAI agentOpenAI Agents SDK migration guideFunction calling, MCP gateway
Estimate and control costHow much do AI agents cost?Agentic AI pricing guide, evaluation framework
Choose a framework or platformBest AI agent platformsCrewAI, AutoGen and LangGraph comparisons

Start here

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.

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.

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.

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.

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.

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.

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.

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 docs

Sources

The guidance and links below were checked on 20 November 2026.

Last checked 20 November 2026. Approved product facts live at /facts; plan terms live at /pricing.