Source: docs/public/integration/overview.md

Forgium Agent — Public API overview

Forgium Agent is a conversational-agent service. Start with [Use Forgium Agent

with an agent](use-with-an-agent.md) when a coding agent is doing the

integration. Your application can send a user message to the Public API and

receive an agent response.

For automated discovery, use the agent manifest. It

publishes the canonical guides, raw OpenAPI contract, environment variables,

and stop conditions. The manifest is the source for the generated

agent index and LLM index.

What you can build

Choose the path that matches the host application:

NeedUse
A web, mobile, or backend application needs a synchronous agent replyPOST /v1/channels/http/messages
The agent needs live data or a host-owned operation preparation resultCapability quickstart
The account needs shared response instructions or topic scopeAgent policy
The agent should answer help questions from the host's public documentationPublic documentation help
The account needs to find unresolved requests and capability gapsCapability-gap diagnostics

The HTTP channel accepts text-only JSON messages and one optional binary image

through multipart/form-data. Use the payload part for the JSON request and

the image part for a single JPEG, PNG, or WebP file up to 4 MiB; public

base64 image fields are not supported.

Public documentation help

Documentation help adds account configuration through GET/PUT/`DELETE

/v1/documentation` and documentation help answers in the existing chat; it does

not change the chat response envelope.

When documentation help is configured for an account, the host publishes and

maintains its public plain-text documentation. Forgium searches relevant pages

within that account's configured domain/path and answers in the existing chat,

with source links in message.body. If evidence is insufficient or retrieval

fails, it says so rather than claiming it consulted unavailable documentation.

The host configures the scope with its own API key — no upload, no

synchronization and no version management. See

Configure public documentation help for the endpoint,

content recommendations, limits and verification steps. Do not include secrets

in questions meant for documentation help.

Documentation is evidence only: it does not authorize or execute host operations.

Live account data and operational requests continue through capabilities.

Access boundary

Before integrating, ask the Forgium administrator for this access bundle for

the target environment:

FORGIUM_AGENT_BASE_URL=https://<public-api-host>
FORGIUM_AGENT_API_KEY=mg_xxx

Use the key only with the Public API (/v1/*). If it is missing or rejected,

ask the administrator for help.

Recommended reading order

For an agent:

  1. Use Forgium Agent with an agent — decision protocol.
  2. Environments — keep environments isolated.
  3. Request access — obtain and validate the bundle when needed.
  4. Contract retrieval — download and validate the raw
    contract if an agent cannot discover it through navigation.
  5. Authentication — API-key rules.
  6. Read Getting started for the HTTP quickstart, or
    Self-service business capabilities when the host
    application must provide live data or prepare a host-owned operation.
  7. Read Configure an agent policy when shared response
    instructions or best-effort topic scope are required.
  8. Read Configure public documentation help when the
    account should answer help questions from its published documentation.
  9. Read Capability-gap diagnostics when the account wants to
    identify unsupported requests and prioritize new capabilities.
  10. Use the OpenAPI contract for exact request and response
    fields. For a server-side HTTP adapter, see HTTP integration reference.

For a manual integration, start at Getting started.