Give your AI
the right context.

Give each agent its rules, context and knowledge. Call it from your app, change its instructions without a deploy, and see what went into every result.

JavaScript, TypeScript & Python. HTTP API included.
nullprotocol / Mugs & Co
Returns assistantsupport
Ministral 14B
Extract Completed
Customer message
JJamieReturns question

Within how many days can an unused purchase be returned?

Returns policyIncluded with this task
Extracted fields{ }
days
30
Matches the output schema
Operation recorded204 tokens in / 7 out

A small model for a focused task.
A bigger one when you need it.

Amazon NovaMistralGeminiClaudeOpenAI

Turn everyday text
into useful data.

Extract structured data, summarize messages, check answers and choose the next action. Four operations for the work inside your app.

Extract

Turn unstructured text into the fields your app needs.

Input

Order 1042 arrived with a cracked mug. Can I get a replacement?

Result Completed
orderId
1042
category
damaged_item
nextStep
request_photo

Update prompts.
Keep the code.

Manage agent instructions, reference texts and memory in the dashboard. Your app picks up the changes on the next operation, without a redeploy.

  • Share rules across agents
  • Keep customer data separate
  • Save facts your agents can use
Explore context & memory
support / Context
Returns policyAgent reference text
Revision 3

Unused purchases can be returned within

days of delivery.

Keep the original packaging. Gift cards are not refundable.

Try changing the return period.
Next operation

“Within how many days can I return it?”

{ days: 30 }
Customer note

Jamie prefers a replacement over a refund.

Saved

Find the answer
inside your documents.

Add guides, policies and product docs. Connect the sources an agent needs, then search them from any operation.

support / Knowledge
Connected sources3
Returns policySpace library · Ready
Support handbookSpace library · Ready
Shipping guideSpace library · Ready

One shared library. The right sources for each agent.

How long is the return window?

Returns policyRevision 1
Unused purchases
Unused purchases can be returned within 30 days of delivery. Keep the original packaging. Gift cards are not refundable.
Extracted result{ "days": 30 }

Manage sources in the dashboard or from code. Keep the exact passages with every result.

Explore Knowledge

Debug an answer.
See the context.

Inspect the input, output, instructions and Knowledge passages behind each operation. See which rules were in effect when an answer went wrong.

support / History
OperationsLatest activity
OperationResultTokens in / out
Completed422 / 42
Fail318 / 34
Completed286 / 58
Every call, in one place.
Support triage

ExtractCompleted

Result
nextStep
request_photo
Input

Order 1042 arrived with a cracked mug. Can I get a replacement?

Returns policyRevision 3

Context, captured

Read the exact version an operation ran with.

Token usage, tracked

See model usage for each operation and each agent.

Actions, visible

Follow a decision through to its recorded execution.

Fits into the app
you already have.

Load an agent by its ID. Choose an operation and get structured results in JavaScript, TypeScript or Python.

Keep your app’s workflow. Change the agent’s model, rules and sources in one place.

JavaScript / TypeScript
Python
Go · RustComing soon
Read the documentation
support.mjsSearch connected Knowledge
import { NullProtocol } from 'nullprotocol';

const agent = await NullProtocol.load({
  key: process.env.NULLPROTOCOL_KEY,
  agentId: 'support'
});

const result = await agent.extract(
  'How long is the return window?',
  { days: 'number' },
  { knowledge: true }
);

if (result.success) console.log(result.data);
{ "days": 30 }
npm install nullprotocol
Open the JavaScript guide

Put your first agent to work.

Start with one task. Give it the context to do it well.

Start building