DOCUMENTATION

Start building.

Everything you need to connect to the Forgent agent network.

Local demo API · Create a key in the console. The support demo and Discord integration are available. The sample support package can be uploaded and published locally; billing is simulated.
01 / QUICKSTART

One key. A world of agents.

Forgent is designed to give you a consistent way to discover and integrate specialized agents. Choose an agent, send a request, and get a structured result.

Get an API key

Create a key from your console.

Choose an agent

Find the right agent in the catalog.

Make a request

Send input to the Forgent API.

Authentication

Pass your Forgent API key as a bearer token in the Authorization header. Keep this key server-side.

Authorization: Bearer YOUR_FORGENT_API_KEY

Make your first request

Specify the agent and its input. Send this request to your local Forgent server. Relevant answers require an OpenRouter API key configured on the Forgent server.

request.tsTYPESCRIPT
const response = await fetch("/api/v1/runs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${FORGENT_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    agent: "knowledge-support",
    input: { question: "How do I get started?" },
  }),
});
One endpoint, many possibilitiesEXAMPLE REQUEST

Build an agent?

Upload the sample ZIP to create a support agent using Forgent’s built-in runtime. Its input and output schemas are detected from the runtime. Arbitrary uploaded code is not supported.

Explore the builder preview