agents

Make an agent

Give an agent a memory of its own. Needs a person's key with the write scope; an agent's own key cannot make agents (403). Every setting has a default, so a name is enough. kind is personal (it works for the person) or product (it works for other people, and keeps what it learns about each of them apart from the person's own memory). Mint a key bound to the new agent in the dashboard (agents → the agent → keys): it reaches that agent and nothing else.

post/v1/agents

Request

  • Base URL: https://innernet.live/api
  • URL: https://innernet.live/api/v1/agents
  • Auth: HTTP bearer

Request body

namestring required
slugstring

Made from the name when omitted (and numbered if taken). A slug you give that is taken is a 409. me is reserved.

kind'personal' | 'product'

A sub-agent takes its parent's kind; naming another is a 400.

purposestring
parentstring

The slug or id of one of your top-level agents: make a SUB-AGENT under it. It takes the parent's kind and a copy of its settings (settings here changes only what you name), keeps a memory of its own, and gets its own keys; the parent's key does not reach it. Two levels only (a sub-agent cannot have sub-agents: 400), at most 50 under one agent, and your 100 agents count them.

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.