Agents
An agent answers the questions that people ask in the Agent panel of FINOS Workspace. The agent is the agent that ships with FINOS Workspace. You can write your own agent, add it, and let people choose it in the panel. An agent is a web server. It speaks the agent query protocol, which carries the dashboard of the user to the agent and lets the agent ask for the data of a widget. When you add an agent under AI Library, the FINOS Workspace API makes every call to it, queries and tool round trips included; the browser calls the agent that ships with FINOS Workspace directly.
The guides build one agent in two steps. Each example comes in Python and in TypeScript.
- Build your own agent writes an agent that repeats the question, adds it to FINOS Workspace, and asks it a question.
- Let your agent read the dashboard makes the agent read the widgets of the dashboard, ask the browser for the data of a widget, answer from the data, and cite the widget.
The finished agent is in docs/examples/reference-agent, in both languages, with a test that checks that they answer alike. It uses no model, so you need no key to run it. A real agent calls a model where the example builds its answer.
agents.json lists what an agent tells the web app about itself, and Agent query protocol lists every field of a question and every event of an answer.