Build vs buy AI agents: what building in-house takes
Whether to build or buy AI agents comes down to what the agent is for. Build on the model APIs when the agent is part of a product you sell, when its data has to stay on your own infrastructure, or when it does one narrow job. Buy a platform when you need agents to run your own business work across many apps, because most of the work then sits outside the model call: the sign-in for every app, credential storage, approvals, an audit trail, scheduling, recovery and an interface people can use, all of which you would otherwise build and maintain yourself. The two also combine: an agent you build can hand work to Neotask through its MCP server.
What the model providers give you
Building an agent no longer means writing everything from scratch.
- Anthropic's Claude Agent SDK "gives you the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript". It includes built-in tools, hooks, subagents, MCP support, permissions that control "which tools run automatically, which need approval", and sessions you can resume (Agent SDK overview, read November 2026).
- OpenAI's Agents SDK provides agents with instructions and tools, handoffs between agents, guardrails, sessions, "Built-in mechanisms for involving humans during agent runs" and tracing (OpenAI Agents SDK, read November 2026).
OpenAI's own docs suggest using the plain Responses API when "you want to own the loop, tool dispatch, and state handling yourself" or when "your workflow is short-lived and mainly about returning the model's response", and the Agents SDK when you want the runtime to manage turns, tools and sessions.
What is still yours to build
The SDKs cover the agent loop. Running agents across a business needs much more around it.
| Piece | What building means | What Neotask has |
|---|---|---|
| Sign-in for each app | An OAuth or API-key flow for every service, each with its own quirks | Managed OAuth, manual OAuth, API keys and other sign-in types across its app catalog, most of it OAuth |
| Credential storage | Encryption, key rotation, per-account separation | AES-256-GCM with rotatable keys on its servers; the desktop seals credentials with the operating system's keychain |
| Token refresh | Refresh before expiry, detect revoked access, ask people to sign in again | Connection states from connected to revoked, with a Reconnect prompt when a refresh fails |
| Approvals | Decide which actions need a person, and build the queue and notifications | Four risk levels, three approval modes, per-app rules; payments always ask a person |
| Audit trail | A record of every action that can't be quietly changed | Append-only, hash-chained audit events, kept 2 years in fast storage and 7 in total by default |
| Scheduling and recovery | Timers, retries, resuming after restarts | Scheduled tasks (Power, Ultra or Business), re-checks with backoff, work that resumes after a restart |
| An interface | Somewhere people approve, ask and review | Desktop app for Mac, Windows and Linux, the Cloud Dashboard, and an iPhone beta |
The MCP specification is explicit that much of this is the implementer's job. It says hosts "must obtain explicit user consent before invoking any tool", and that because "MCP itself cannot enforce these security principles at the protocol level", implementers should build consent and authorization flows "into their applications" (MCP specification, 2026-07-28 version).
What the models cost
If you build on your own API keys, you pay the providers' prices. Per million tokens, as listed in November 2026:
| Model | Input | Output | Source |
|---|---|---|---|
| Claude Opus 5.5 | $4 | $20 | Anthropic pricing |
| Claude Sonnet 5.5 | $2 | $10 | Anthropic pricing |
| OpenAI gpt-6.2-astra | $8 | $40 | OpenAI pricing |
| OpenAI gpt-6.2-sol | $2 | $10 | OpenAI pricing |
Both providers discount batch jobs by half and charge more for keeping processing in one region: Anthropic multiplies US-only inference by 1.1, and OpenAI adds 10% for regional processing on newer models.
Neotask prices models differently and lets you choose how they are paid for. Every plan includes Neotask Matrix usage, its hosted model service, with extra usage at $1 per million input tokens and $5 per million output tokens. You can also bring your own API keys, run on your own Claude Code or Codex subscription, or use local models, which Neotask never bills. Plans are $20 (Core), $100 (Power) or $200 (Ultra) a month for one person, or $30 a seat on Business (pricing, November 2026).
When building wins
- The agent is part of your product. If customers will use the agent inside something you sell, you need the engine in your own code. Anthropic's Agent SDK terms cover "products and services that you make available to your own customers and end users". Neotask is an app for running your own work, not an engine you embed.
- Data has to stay on your infrastructure. Neotask can't be self-hosted, and its data residency setting offers only the United States. Anthropic's Managed Agents can run in "a self-hosted sandbox on your own infrastructure", and both providers sell regional processing.
- One narrow job. A single short workflow, such as classifying incoming tickets, may need nothing more than one API call and a few tools.
- You already have a platform team that runs auth, secrets and queues for other services and can absorb one more.
When buying wins
- The work spans many apps. Each app's sign-in, token refresh and failure modes are already handled.
- People need to approve and review. Approval modes, the queue, chat buttons and an audit trail exist from day one.
- You want model choice without rewriting. Switching between hosted models, your own keys, a subscription you already pay for and local models is a setting, not a code change.
- The people running it aren't engineers. A founder or an operations lead can set goals and approve actions without touching code.
Combining the two
You don't have to choose one for everything. Neotask runs an MCP server at https://neotask.ai/mcp, and agents you build, as well as Claude Code, Codex, Cursor and others, can connect to it. In Claude Code, for example, the command is claude mcp add --transport http neotask https://neotask.ai/mcp. A connected agent can never do more than Neo, Neotask's own personal agent, can in your account. Spending money or sending anything outside Neotask needs a single-use approval, and deleting things, security settings and new access stay with people (MCP server).
One way to split it is to build the agent that sits inside your product and let it hand operational work, such as updating the CRM, chasing invoices or drafting follow-ups, to Neotask, where approvals and the audit trail already exist.
Neotask's limits for technical teams
- No independent audit yet. Controls are built to SOC 2 Type II criteria but have not been audited or certified (trust page).
- HIPAA mode is off until its requirements are met.
- No self-hosting. Accounts and data live on Neotask's servers. The desktop agent gateway runs on your own computer and listens only on that machine by default.
- US data residency only.
- Scheduled tasks need Power, Ultra or Business.
- Mobile. The iPhone app is a public beta through TestFlight, and there is no Android app.
For how Neotask's controls work, read the AI agent security guide. For how apps connect, see AI agent integrations.
Frequently asked questions
Is it cheaper to build your own AI agent? It depends on how you pay for models and on engineering time. On your own API keys, token prices are the same either way, while Neotask also offers included model usage, your existing subscription or local models. The other difference is the engineering time to build and maintain sign-ins, credential storage, approvals, audit, scheduling and an interface, and that depends on your team and how many apps you need.
Can I use my own API keys with Neotask? Yes. Neotask can run on your own API keys, your Claude Code or Codex subscription, local models, or its included Neotask Matrix usage.
Can Neotask be self-hosted? No. Neotask runs as a service, with a desktop app that runs agents on your own computer. Data residency is US only.
Can an agent I build work with Neotask? Yes. Any MCP client can connect to Neotask's MCP server at https://neotask.ai/mcp, with no more authority than Neo has in your account.