---
title: "AI agent development for work that has to get done"
url: https://soliditylabs.tech/services/ai-development/ai-agent-development/
description: "Solidity Labs builds AI agents that own one job end to end (lead qualification, support triage, invoice checks), wired into your CRM and documents."
source: Solidity Labs (https://soliditylabs.tech)
---

AI Development · Agents

# AI agent development for work that has to get _done_

We build agents that own one job, from reading the request to updating your systems, with scoped tools, evaluation sets and a person in the loop where the stakes are real.

[Get a quote](/contact/get-a-quote/) [Book a free call](/contact/book-consultation/)

Free discovery callNDA on requestFixed proposal after scoping

agent · order-exceptions · run 734ILLUSTRATIVE

1.  inputCarrier webhook: shipment 88231 delayed
2.  tool`orders.get(88231)` → customer, promised date, items
3.  tool`carrier.track(88231)` → new delivery estimate
4.  reasonPromise missed → offer reship or refund per policy
5.  guardRefunds above the approval limit need a person
6.  action`email.draft` for approval · `crm.log_case` · ops notified

6 steps · 4.2 seval: passhuman review: required

In short

An AI agent is software that uses a language model to plan steps and call tools until a task is finished. Solidity Labs builds agents for a single, well-defined job, connects them to your CRM, inbox and documents through MCP servers, and ships each one with an evaluation set, guardrails, tracing and a human approval step for risky actions.

Definition

## What is an AI agent, in practical terms?

**Agent ≠ chatbot.** A chatbot answers. An agent acts: it reads, decides, calls tools and changes something in another system.

An AI agent is a loop. A language model reads a goal, decides on the next step, calls a tool (search the CRM, read a PDF, draft an email, create a ticket), looks at the result and repeats until the job is done or it needs a person. Everything around that loop decides whether it is useful: which tools it may call, what data it can see, how it remembers context, what it must never do, and how you find out when it gets something wrong.

Agents are the right choice when a task needs judgment over messy inputs (an email that could mean three things, a contract with an unusual clause) **and** ends in an action in your systems. If the inputs are structured and the rules are fixed, ordinary software or a [workflow automation](/services/ai-development/ai-workflow-automation/) is cheaper, faster and easier to test. We will tell you which one you need before we build anything. Our guide [What is an AI agent?](/blog/what-is-an-ai-agent/) walks through the loop step by step.

Problems we solve

## Why agent pilots stall

1.  ### The demo worked; production didn’t
    
    A prompt that handles ten hand-picked examples falls over on the eleventh. Without an evaluation set built from real cases, nobody knows how often it fails or whether a change made it better.
    
2.  ### The agent can see or do too much
    
    Broad API keys and an “access everything” service account turn one prompt injection into a data leak. Tools need scopes, and actions need limits.
    
3.  ### Nobody can explain what it did
    
    When a customer complains, you need the trace: which documents it read, which tools it called, why it chose that answer. A pilot that logs only the final answer can’t tell you.
    
4.  ### Costs and latency drift upward
    
    Long contexts, retries and an expensive model on every step add up. Cost per task should be a number on a dashboard, not a surprise on an invoice.
    
5.  ### It breaks when the model changes
    
    Providers update and retire models. Without regression tests, a version bump silently changes behavior in production.
    

What we build

## What we build

### Task-owning agents

One agent, one job, defined by inputs, allowed actions, success criteria and an escalation rule. Examples: qualify inbound leads and book the call, triage support tickets, reconcile invoices against purchase orders.

### Tool and MCP integrations

Scoped connectors to HubSpot, Salesforce, Zendesk, Google Workspace, Microsoft 365, Notion, internal APIs and databases, exposed through MCP servers with per-tool permissions and audit logs.

### Retrieval over your knowledge

Permission-aware search over policies, contracts and tickets so the agent cites what it used. See [RAG & Enterprise Search](/services/ai-development/rag-ai-system-development/).

### Guardrails and approvals

Input and output policies, PII redaction, a cap on steps per run, spending and rate limits enforced in code rather than in the prompt, and a human approval queue for actions above a threshold you set.

### Evaluation sets and regression tests

A labeled set of real cases scored automatically on every change, so model swaps and prompt edits are measured, not guessed.

### Tracing and cost dashboards

Every run traced (inputs, tool calls, outputs, latency, tokens, cost) in Langfuse, LangSmith or your OpenTelemetry stack.

### Operator console

A simple screen where your team reviews escalations, corrects outputs and feeds those corrections back into the evaluation set.

### Runbooks and handover

What to do when a provider is down, how to roll back a prompt, how to add a tool. Your team can run it without us.

Use cases

## Jobs agents do well

### Inbound lead qualification

Read the form and the company, check CRM history, score against your criteria, create the deal and book a meeting, or route to a person.

### Support triage and first response

Classify the ticket, find the answer in your help center with a citation, draft the reply, and escalate refunds or angry customers to a human.

### Invoice and purchase-order matching

Extract invoice lines, match them to POs and receipts, flag mismatches for finance and post clean matches to the ERP.

### Contract intake

Pull parties, dates, renewal terms and unusual clauses into a structured record for legal review. The agent summarizes; your lawyer decides.

### KYC document pre-checks for tokenization

Check investor documents for completeness and expiry before a compliance officer reviews them. The model never approves an investor.

### Internal IT and HR requests

Answer policy questions with citations, route access requests through your identity tool’s approval flow, and open tickets in the right queue with the right details filled in.

How it works

## The architecture we use, and why each layer exists

We design every agent with the same seven layers. Each one closes a specific way agents fail; leave one out and that failure is back.

1.  **Request**chat · email · webhook
2.  **Agent orchestrator**plans · calls tools · decides
3.  **Tools via MCP**scoped and logged
4.  **Your systems**CRM · ERP · docs
5.  **Guardrails**input and output policy
6.  **Memory & state**session + long-term
7.  **Retrieval**permission-filtered
8.  **Human approval**for risky actions
9.  **Observability & evals**traces · cost · regression tests

Fig. 2 — A request reaches the orchestrator, which plans, calls scoped tools through MCP, reads permission-filtered knowledge and asks a person before risky actions. Everything is traced.

Orchestrator

Plans and executes steps. Our default is LangGraph, for its explicit state, checkpoints and pauses for human input; we use the OpenAI Agents SDK, the Claude Agent SDK or Google’s Agent Development Kit (ADK) when your stack points that way.

Tools via MCP

Each tool has a narrow scope (read deals, create task) rather than a general API key. Every call is logged with arguments and result.

Retrieval

Hybrid search filtered by the requesting user’s permissions, so the agent can only cite what that person could open.

Memory & state

Short-term run state plus a small, inspectable long-term store. No unbounded “memory” that nobody can audit.

Guardrails

Prompt-injection defenses, PII redaction, output schema validation and hard limits on steps, actions, spend and rate, checked in the tools themselves. A rule written only in the prompt is a request, not a control.

Human approval

Risky or irreversible actions wait in a queue with the agent’s reasoning and sources attached.

Observability & evals

Traces, cost per task, latency and regression scores. Model or prompt changes ship only when the evaluation set passes.

Process

## How we build an agent

1.  ### Pick one job
    
    In the discovery call we choose a single, measurable task and write down what “done” and “wrong” look like.
    
    Free call
    
2.  ### Collect real cases
    
    We gather real examples (anonymized where needed), covering the common cases and the known hard ones, and label the right outcome. This becomes the evaluation set.
    
    Eval set
    
3.  ### Scope, tools and proposal
    
    We list the tools the agent needs, the permissions each one gets and the approval rules, then send a fixed proposal with milestone-based payments.
    
    Fixed proposal
    
4.  ### Build against the evals
    
    Demos, at a cadence agreed in the proposal, show the agent on real cases, with its score on the evaluation set going up, not just a happy-path video.
    
    Regular demos
    
5.  ### Shadow, then go live
    
    The agent runs alongside your team, suggesting rather than acting, until its accuracy and escalation rate meet the agreed bar. Then it goes live, and we hand over the code, runbooks and evaluation set.
    
    Handover
    

Technology

## Tools we use for this

### Orchestration

-   LangGraph
-   LangChain
-   CrewAI
-   OpenAI Agents SDK
-   Claude Agent SDK
-   Google ADK

### Models

-   OpenAI
-   Anthropic Claude
-   Google Gemini
-   Llama
-   Mistral

### Integration

-   MCP
-   REST
-   GraphQL
-   Webhooks
-   n8n

### Retrieval & memory

-   pgvector
-   Qdrant
-   Weaviate
-   PostgreSQL
-   Redis

### Evaluation & tracing

-   Langfuse
-   LangSmith
-   OpenTelemetry
-   promptfoo

### Runtime

-   Python
-   TypeScript
-   Node.js
-   AWS
-   Google Cloud
-   Cloudflare

Scope drivers

## What shapes scope

We don’t publish prices or week counts, because they depend on scope. These are the factors that actually move them.

01

### Number and difficulty of tools

Reading from one CRM is simple. Writing to an ERP with approvals, retries and idempotency takes far more engineering and testing.

02

### Quality of your examples and data

If real cases exist and someone can label the right answers, the evaluation set comes together quickly. If not, building it is part of the work.

03

### Risk of the actions

Agents that only draft are cheaper to make safe than agents that send money, change records or contact customers on their own.

04

### Accuracy bar and review flow

A 90% bar with human review is a different project from a 99% bar with no review. We agree the bar in writing.

05

### Permissions and compliance

Per-user access filtering, PII handling, data residency and retention rules add design and testing effort, and sometimes a self-hosted model.

06

### Volume and latency targets

High volumes justify caching, smaller models for simple steps and batching, which take engineering time but lower running costs.

07

### Operator tooling

A review queue and correction screen for your team is optional for small pilots and essential for anything customer-facing.

**Typical shapes:** a _pilot_ on one job with shadow mode and an evaluation report, then a _production_ phase that adds approvals, dashboards and runbooks. Some teams start with a fixed-scope AI readiness assessment to choose the first job.

### Every engagement includes

-   Source code & IP transfer
-   Documentation
-   Handover session
-   Post-launch support as agreed
-   Demos at an agreed cadence

**We give a fixed proposal after a free discovery call and a written scope of work.** [Prepare a brief with the Project Planner](/resources/project-planner/)

Comparison

## Custom agent, off-the-shelf chatbot or plain automation?

Pick the simplest thing that does the job. Here is how we decide.

Plain automation

Off-the-shelf chatbot

Custom AI agent

Input type

Structured (forms, fields)

Questions in chat

Messy text, documents, email

Takes actions in your systems

Built-in actions only

Handles judgment calls

Limited

Testable like normal software

Hard to see inside

✓ with evaluation sets

Running cost per task

Lowest

Subscription

Model tokens + hosting

Best for

Fixed rules, high volume

FAQ deflection

Multi-step tasks with judgment

Honest guidance

## When not to choose this

When not to use this

-   **The rules are fixed.** If a task is “when field X is Y, do Z”, use a [workflow](/services/automation-development/n8n-workflow-automation/). It will be faster, cheaper and easier to audit.
-   **You only need answers, not actions.** A [RAG assistant](/services/ai-development/rag-ai-system-development/) or a [chatbot](/services/ai-development/ai-chatbot-development/) is simpler.
-   **A wrong action is unacceptable and can’t be reviewed.** If every output must be correct and no person can check it, an agent is the wrong tool today.
-   **There are no examples.** Without real cases to test against, start with a discovery phase to collect them, not with an agent.

Scope boundary

## What we engineer, and what others provide

### We engineer

-   Agent logic, prompts, tools and MCP servers
-   Evaluation sets, guardrails, tracing and dashboards
-   Operator console, runbooks and handover

### You provide

-   Access to systems and a test environment
-   Real example cases and someone to label them
-   The accuracy bar, approval rules and a business owner

### Licensed partners & providers

-   Model providers (OpenAI, Anthropic, Google, open-weight hosts) under their own data terms
-   Your SaaS vendors’ API limits and terms
-   Legal or compliance sign-off where regulated decisions are involved

Security & quality

## How we keep it safe and correct

-   Prompt-injection defenses tested with a red-team set mapped to the OWASP Top 10 for LLM Applications (2025), including prompt injection and excessive agency
-   Least-privilege tool scopes; no shared admin keys; secrets in a vault, never in prompts
-   PII redaction before logging; configurable retention for traces
-   Provider plans and settings that keep your data out of model training, checked against each provider’s current terms
-   Output validated against schemas before any write to your systems
-   Regression tests on every prompt, tool or model change
-   Before go-live we check tool scopes, the step cap, approval thresholds, a rollback path for every write and a passing evaluation run

Engineering example

## Permission-aware knowledge assistant

The same question answered for three roles: retrieval filters what each one may see, cites its sources, and escalates when it can’t answer.

Illustrative engineering example: synthetic data, not a client project. Verified case studies will appear here when consented ones exist.

FAQ

## Questions buyers ask us

Not covered here? [Ask us directly](/contact/) — a person reads every message.

### ### How much does AI agent development cost?

It depends on the number and risk of the tools, the accuracy bar, and whether real examples already exist. We don’t publish prices; after a free discovery call we write the scope and send a fixed proposal with milestone-based payments. The scope drivers above are what move the number.

### ### How long does it take to build an AI agent?

The schedule comes with the proposal, once the job, tools and accuracy bar are agreed. What we can say upfront is the order of work: collect real cases, build against them, run in shadow mode, then go live. Demos at a cadence agreed in the proposal show progress against the evaluation set the whole way.

### ### Which model do you use?

The one that passes your evaluation set at the lowest cost and latency. A mix usually pays off: a smaller model for classification steps, a frontier model from OpenAI, Anthropic or Google for reasoning steps. Because everything is tested against the same set, switching models is a measured change, not a gamble.

### ### Can the agent work with our CRM and internal tools?

Yes, if they have an API or a database we can reach safely. We expose each system through an MCP server or a scoped connector, so the agent gets exactly the permissions it needs, and every call is logged. HubSpot, Salesforce, Zendesk, Google Workspace and Microsoft 365 are common starting points.

### ### How do you stop an agent from doing something harmful?

With layers: narrow tool scopes, a cap on steps per run, hard limits on spend and volume enforced in code, input and output checks, schema validation before any write, and human approval for risky or irreversible actions. We also test it against prompt-injection attempts before launch and keep tracing on so every action is explainable.

### ### Will our data be used to train the model?

We use provider plans and settings that keep your data out of model training, check each provider’s current terms, and document how long each one retains data. For stricter needs we can deploy open-weight models in your cloud.

### ### What happens when the model provider changes or retires a model?

The evaluation set catches it. We pin model versions, run the regression suite against the new version, and switch only when scores hold. Runbooks describe how your team does this after handover.

### ### Do we own the agent and the code?

Yes. Source code, prompts, evaluation sets and infrastructure configuration transfer to you on final payment. We recommend opening model API accounts in your name, so the agent keeps running without us.

### ### What do you need from us to start?

A business owner for the task, access to a test environment, and real examples of the work (we can help anonymize them). The discovery call is free, and an NDA is available on request.

Keep exploring

## Related services and reading

-   [AI Workflow AutomationLLM steps inside dependable business workflows](/services/ai-development/ai-workflow-automation/)
-   [RAG & Enterprise SearchCited answers from your own documents](/services/ai-development/rag-ai-system-development/)

### From the blog

![](/assets/img/r/what-is-an-ai-agent-480.png)

AI & Machine Learning

### [What Is an AI Agent? A Practical Guide for Business Leaders](/blog/what-is-an-ai-agent/)

An AI agent is software that uses a language model to decide which steps to take toward a goal, calls tools to take them, and checks the result. Here is what that means in practice, where agents earn their keep, and where a simpler tool is better.

Solidity Labs · October 16, 2026 · 6 min read

![](/assets/img/r/ai-agent-vs-chatbot-vs-automation-480.png)

AI & Machine Learning

### [AI Agent vs Chatbot vs Automation: Which One Do You Need?](/blog/ai-agent-vs-chatbot-vs-automation/)

Chatbots answer, automations follow fixed steps, and agents decide their own steps. Picking the wrong one wastes money or adds risk. Here is a decision guide with examples, trade-offs and the questions to ask.

Solidity Labs · October 16, 2026 · 6 min read

![](/assets/img/r/securing-ai-agents-480.png)

AI & Machine Learning

### [Securing AI Agents: Prompt Injection, Data Leakage and Guardrails](/blog/securing-ai-agents/)

An AI agent reads untrusted text and can take actions, so a malicious email or web page can try to steer it. Here are the main risks, prompt injection, data leakage and excessive agency, and the controls that actually reduce them.

Solidity Labs · October 16, 2026 · 7 min read

Last reviewed: November 2026 Reviewed by our independent expert review under our [editorial policy](/editorial-policy/)
