Skip to content

Agent Rita#162

Open
DidierRLopes wants to merge 2 commits into
mainfrom
feat/agent-rita
Open

Agent Rita#162
DidierRLopes wants to merge 2 commits into
mainfrom
feat/agent-rita

Conversation

@DidierRLopes

Copy link
Copy Markdown
Contributor

No description provided.


Agent Rita implements the two endpoints Workspace expects from a custom agent:

- `GET /agents.json` advertises the agent, supported models, and Workspace features.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think here we can also talk a bit about the gen endpoints

  • generate name for dashboard
  • copilot chat title

or... are we hiding those for the release?

@jose-donato jose-donato left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few comments


Workspace fetches `http://localhost:7777/agents.json` and uses the advertised `/v1/query` endpoint for chat requests. If you have MCP servers configured in Workspace, their tools are included in requests to Agent Rita and can be used by the agent when relevant.

If Workspace runs in Docker, on another machine, or behind a remote URL, replace `localhost` with a host that the browser can reach.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if agent, not workspace

- `src/routes/agents.ts` controls the `agents.json` response.
- `src/routes/query.ts` receives Workspace requests and chooses the model.
- `src/agent/` contains the main agent loop, prompt builder, context handling, round-trip handling, and tool registration.
- `src/agent/tools/` contains local tools for widget search, widget data, skills, SQL, generated artifacts, and native Workspace bridge actions.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing mcp tools, not sure, are we ignoring those for now? if so, agent doesnt have web search, web fetch, code execution, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants