Bring Your Own Agent

Written By Sam from Jinnify

Last updated 23 days ago

Bring Your Own Agent

Summary: Connect an external AI agent to Jinnify with API tokens and skills from the Jinnify API so it can read your store data and propose (or approve) changes from outside the app.

What “bring your own agent” means

You run an AI agent outside Jinnify (Claude Code, Claude Desktop, Grok, Codex, opencode, Cursor, or any runtime that supports the open agent-skill format), give it a Personal Access Token (jnfy_pat_…), and ask it to learn Jinnify’s skills from the API. Your agent fetches and installs them; you do not need to clone a repo by hand unless you prefer the shell path.

Your own Agent in Cursor

That is different from the in-app chat panel. In-app chat needs no token and stays in the browser. BYOA is for your own tools, prompts, and runtimes.

Today you can

  • Create and revoke API Tokens

  • Scope a token to specific stores (or all stores you can access)

  • Choose Recommend or Auto-approve access

  • Install skills by asking your agent to learn them from the Jinnify skills API (or sync via shell; see below)

  • Review proposals in Automate → Inbox

Today you cannot

  • Build or name a custom in-app “My Agents” roster from Settings

  • Share a token with another user from the UI

  • Edit a token after create (revoke and create a new one)

Where to find it

Recommended: the dedicated setup page.

Your own Agent setup page
  1. Open your account menu in the top bar.

  2. Click Your AI agent (opens /agent).

  3. Follow the checklist: generate a token, export it, tell your agent to learn the skills, then ask a question.

Your AI agent requires a real connected Amazon store (sandbox-only accounts are redirected to connect first). Tokens are store-scoped; the page is most useful once you have live data.

Also available in Settings:

  1. Account menu → Settings (/profile).

  2. Scroll to Developer accessAPI Tokens.

Card description in the app: Long-lived tokens for driving the Jinnify API from your own agent. Works with any runtime that supports the open agent-skill format. Treat them like passwords. Settings includes a link to Open the full setup page → for the same flow as /agent.

If you already have tokens, use Connect your agent on the API Tokens card for setup steps without creating a new token first.

Make sure the right store is selected when you review Inbox results.

Create an API token

  1. On API Tokens, click New Token.

  2. In Generate API token:

    • Label — a name you will recognize (placeholder example: my laptop agent). Required.

    • Allowed stores — pick which Amazon connections this token may use. Leave empty to allow all stores you have access to. Demo / Sandbox stores are not listed.

    • AccessRecommend or Auto-approve (see below).

  3. Click Generate token.

  4. In Token created, click Copy. The full token is shown exactly once. Jinnify only stores a hash afterward.

  5. Click Done, then finish Connect your agent if you have not already.

Empty state: No tokens yet. Generate one to start using the Jinnify API from outside the app.

If you have no real stores yet: No stores connected. The token will work against all stores you have access to. Connect Amazon when you are ready so the agent has live data to work with.

Recommend vs Auto-approve

Choose this when you generate the token. You cannot change it later without creating a new token.

Access

What your agent can do

What still needs a human (or write access)

Recommend (safer default)

Read data and propose changes (listing updates, new listing proposals, competitor track proposals, and similar). Proposals land in your Inbox.

You Approve each change in Inbox (or elsewhere in the app) before it reaches Amazon. This token cannot approve.

Auto-approve

Propose changes and call approve so updates can go to Amazon without waiting for you in the UI.

Still review Activity and live Amazon. Prefer only when you trust the agent.

Important details:

  • Creating a proposal does not publish to Amazon by itself — it opens an Inbox recommendation.

  • Auto-approve on a token means “this token is allowed to approve,” not “every propose is silently published with no approve step in the API.”

  • The home chat panel has its own Auto-approve control. That only affects messages in that panel — not your API token mode.

App copy for Recommend: Your agent recommends changes for you to review. You approve each one before it reaches Amazon.

App copy for Auto-approve: Your agent approves and applies its own recommendations automatically, like price and listing updates, without waiting for you.

Connect your agent

After you have a token (from New Token, Connect your agent, or the /agent page):

  1. Copy your token when it is created. If you closed that dialog, revoke and create a new one.

  2. Export your token in the shell or environment your agent uses:

export JINNIFY_API_TOKEN="jnfy_pat_…" 
  1. Tell your agent to learn the skills. Paste or say something like:

Learn the Jinnify skills from https://backend.app.jinnify.ai/api/v2/skills — my token is in $JINNIFY_API_TOKEN. 

That endpoint serves the skills with install instructions built in. Your agent fetches and installs them itself. The same ask updates them later. Skills follow the open agent-skill spec.

  1. Ask your agent. Example: Which of my listings lose the most to FBA fees? It can use Jinnify skills for listings, fees, analytics, and recommendations across your connected stores.

Agent learned the skills

The /agent page shows a live checklist (token created, agent has called the API) and copy buttons for the export and learn commands.

Install into your agent’s skills folder (optional)

Prefer the shell? In Connect your agent (or on /agent after you have a token), expand Install into your agent’s skills folder. Export JINNIFY_API_TOKEN first, then run the command for your runtime. Each command downloads the skill archive from the API:

# Claude Code / Claude Desktop (example) mkdir -p ~/.claude/skills/jinnify && curl -sS -H "Authorization: Bearer $JINNIFY_API_TOKEN" "https://backend.app.jinnify.ai/api/v2/skills/archive" | tar -xz -C ~/.claude/skills/jinnify 

The in-app dialog also includes paths for Grok, opencode, and Codex (or any skill-aware agent under ~/.agents/skills/jinnify).

Custom API host (optional)

For staging or local backends only:

export JINNIFY_API_URL="https://backend.app.jinnify.ai/api/v2" 

Use the host your team gives you. Production skills and the default API base use https://backend.app.jinnify.ai/api/v2.

What skills cover

Public skills (load jinnify-api first):

Skill

Domain

jinnify-api

Auth, stores, errors, conventions

jinnify-listings

Listings, catalog lookup, propose patch, propose new listing (validate + create)

jinnify-analytics

Store analytics reads

jinnify-fees

Fee and settlement context

jinnify-recommendations

Inbox, activity, approve / dismiss

jinnify-competitors

Tracked competitors and diffs; propose track

What your agent can do

With skills + a valid token, a typical agent can:

  • Read listing and catalog data for allowed stores

  • Pull analytics and fee-related context

  • Create recommendations (listing patches, new listing proposals, competitor track proposals) that appear in Inbox

  • With an Auto-approve token: approve those recommendations so they can apply toward Amazon

With a Recommend token, approve is blocked (read-only for Amazon writes).

Paused stores: agents will not run usefully against a paused store. Turn the store back on under Your stores / Manage if needed.

Review work in the Inbox

External agent proposals join the same queue as other automations.

  1. Select the correct store in the top bar.

  2. Open Automate → Inbox.

  3. Review each item.

  4. Approve to apply, Dismiss to skip, or Snooze 24h to hide it for about a day (row menu ⋯ or bulk bar). Snooze does not send anything to Amazon; the item returns to the open Inbox when the snooze ends.

Empty Inbox: All clear — Jinnify has nothing pending for you right now. (Snoozed items are hidden until they come back.)

If no store is selected: choose a store from the header to view your automation inbox.

History lives under Activity. Listing workflows (Optimize, Bulk optimize, title fixes) can also send work to Inbox.

Keep tokens safe

  • Treat every token like a password.

  • Copy it when it is shown — you will not see the full value again.

  • If lost or leaked: Revoke (trash icon), then create a new one. Confirm: Revoke this token? This cannot be undone.

  • Prefer Recommend for everyday experiments; use Auto-approve only when you intend the agent to apply changes.

  • Scope Allowed stores when the agent should not touch every connection.

Token rows show a short prefix, store scope (all stores or named stores), access mode, and last used time.

Common tasks

First-time Claude (or other skill-aware agent)
Account menu → Your AI agent (or Settings → Developer access → API Tokens) → New Token → Recommend → Copy → export JINNIFY_API_TOKEN=… → tell the agent to learn skills from https://backend.app.jinnify.ai/api/v2/skills → ask it to inspect a listing → Approve in Inbox.

Let an agent apply without Inbox clicks
Create an Auto-approve token; keep it secret and store-scoped; spot-check Activity and Amazon after large runs.

Rotate a token
Revoke old → generate new → update JINNIFY_API_TOKEN in the agent environment.

Limit to one marketplace store
New token → Allowed stores → select only that connection.

Troubleshooting

Problem

What to try

Lost the full token string

Cannot view again. Revoke and New Token; update agent env.

Agent cannot approve / read-only style error

Recommend token. Approve in Inbox, or create Auto-approve.

Agent cannot see a store

Allowed stores; store connected, not paused, not demo-only.

Inbox empty but agent said it proposed

Top bar store matches agent store; refresh Inbox.

No stores in the token picker

Connect a real Amazon store (demo excluded).

Skills not loading

Export token; re-run the learn-skills ask or the curl archive from Install into your agent’s skills folder; restart agent

/agent redirects or connect gate

Connect a real Amazon store first (sandbox-only is not enough)

Wrong API host

Set JINNIFY_API_URL to your environment’s /api/v2 base.

Confused with home chat Auto-approve

Chat toggle ≠ token Recommend / Auto-approve mode.

Quick reference

I want to…

Go here

Full BYOA setup (checklist + commands)

Account menu → Your AI agent (/agent)

Create or revoke a token

Settings → Developer access → API Tokens (or /agent)

Connect an external agent

Connect your agent on the API Tokens card

Install skills (default)

Tell agent to learn from https://backend.app.jinnify.ai/api/v2/skills

Install skills (shell)

Install into your agent’s skills folder in the connect dialog

Safer agent (proposals only)

Token access Recommend

Agent can approve to Amazon

Token access Auto-approve

Review proposals

Automate → Inbox

Message Jinnify inside the app (no token)

Home chat panel

Fix store context

Top bar store / workspace selectors

Related articles