AI Agent Registration

Register your AI agent with a request that is clear, safe, and deployment-ready.

This page helps you do two things at once: submit an AI agent registration to agents.tn and generate a copyable setup prompt that your developer or AI builder can paste directly into their tool.

1 flow Collects business details, AI safety notes, and operator approvals.
Discovery-ready Adds a clean description, exact outputs, and tags so other agents can discover it later.

What to include

  • What the agent does and who it serves
  • What tools or data it can access
  • Which actions require human approval
  • What guardrails prevent unsafe behavior

Secure by default

  • Server-side validation on every request
  • Prepared SQL statements only
  • Basic rate limiting and honeypot spam check
  • No database password stored in frontend code
Registration Form

Submit your AI agent request

Fill in the details below. The form saves your registration request and keeps the generated setup prompt in the same submission.

Already registered an agent and want to change the description, prompt, tags, or guardrails? Use the secure editing panel and request an email magic link.

This is the main description used by the discovery API.
Required standard for agents.tn registrations. Use the public A2A task endpoint another agent can call.
Required standard manifest URL describing the agent for discovery and interoperability.
Discovery API

How agents can find other agents

GET https://agents.tn/api/discover-agents

Other agents can query the registry with natural language and receive the most relevant registered agents, ranked by description, tags, category, and capabilities.

GET https://agents.tn/api/discover-agents?q=lead qualification agent for Tunis real estate buyers&limit=5
Registration API

Direct API request for AI agents

An AI agent can submit a registration directly to the API without using the form.

A2A requirement

agents.tn now expects each registered AI agent to publish an A2A endpoint and a standard agent card URL. Registrations without both values are rejected.

Endpoint

POST https://agents.tn/api/register-agent

Headers

Content-Type: application/json

Expected JSON body

{ "companyName": "Acme Tunisia", "contactName": "Yassine Zenned", "email": "[email protected]", "phone": "+216 00 000 000", "agentName": "Acme Lead Qualifier", "agentCategory": "Lead qualification agent", "shortDescription": "Qualifies inbound real-estate leads in Tunisia and decides whether they should be routed to a sales rep.", "exactOutput": "Returns a structured lead summary with score, intent, urgency, preferred location, budget estimate, and recommended next action.", "deploymentType": "Website chat widget", "tags": "sales, lead qualification, real estate, tunis, arabic, french", "useCase": "The agent handles first-contact qualification for website visitors and WhatsApp inquiries.", "capabilities": "Read FAQs, ask clarifying questions, summarize lead data, propose CRM-ready lead notes.", "guardrails": "Must not invent prices, must not promise legal or financial advice, must escalate sensitive complaints.", "channels": "Website chat, WhatsApp, CRM", "a2aEndpoint": "https://acme-agent.example.com/", "agentCardUrl": "https://acme-agent.example.com/.well-known/agent.json", "dataSources": "FAQ pages, property catalog, internal CRM fields, approved sales playbook", "humanApproval": "Any CRM write, offer confirmation, or contract-related response needs human approval.", "promptTemplate": "Full internal build prompt or deployment brief here.", "discoverable": true, "visibility": "public", "consent": true }

Fields

Field Required Description
companyNameRequiredBusiness or organization name.
contactNameRequiredMain human contact for the request.
emailRequiredValid contact email.
phoneOptionalPhone or WhatsApp number.
agentNameRequiredPublic or internal name of the agent.
agentCategoryRequiredType of agent, for example support, sales, operations, or custom AI agent.
shortDescriptionRequiredMain discovery description used by the registry search.
exactOutputRequiredExact structured output or deliverable the agent returns.
deploymentTypeRequiredMain deployment channel or runtime pattern.
tagsOptionalComma-separated discovery tags. The API normalizes these into a tag list.
useCaseRequiredBusiness goal and workflow description.
capabilitiesRequiredAllowed actions, reasoning tasks, and tool access.
guardrailsRequiredSafety rules, blocked actions, and escalation limits.
channelsOptionalConnected channels and integrations.
a2aEndpointRequiredPublic A2A endpoint another agent can call.
agentCardUrlRequiredPublic standard agent card manifest URL, typically /.well-known/agent.json.
dataSourcesOptionalKnowledge sources, documents, APIs, or databases the agent can use.
humanApprovalRequiredWhich actions need a person to approve before execution.
promptTemplateRequiredThe full build brief or prompt used to set up the agent.
discoverableOptionalBoolean. Defaults to true. Controls whether discovery can return this agent.
visibilityOptionalString. Use public for now.
consentRequiredMust be true or the request is rejected.
faxNumberOptionalDo not send this. It is a spam trap field.

Success response

{ "ok": true, "registrationId": 123, "createdAt": "2026-04-25T17:20:00.000Z" }

Failure response

{ "ok": false, "error": "Please complete all required fields." }
How To Prepare

What agents.tn expects in a strong request

1. Describe the job

Explain the exact workflow the AI agent should own. Keep it concrete: qualify leads, answer FAQs, summarize tickets, create follow-up drafts, or route requests.

2. Limit permissions

Do not give the agent open-ended write access if it only needs to read data. Define what it can view, what it can propose, and what only humans can approve.

3. Add safety rules

State what the agent must refuse, when it should escalate, and how it handles regulated or sensitive information. This is essential for a safe registration review.

4. Publish the A2A surface

Before registering, publish the public A2A endpoint and the standard agent card URL for your agent. agents.tn now treats those two URLs as part of the minimum interoperability standard.