diff --git a/apps/docs/docs/add_tools.md b/apps/docs/docs/add_tools.md index a1e151da..3e95e175 100644 --- a/apps/docs/docs/add_tools.md +++ b/apps/docs/docs/add_tools.md @@ -1,19 +1,19 @@ ## Add tools to agents -Copilot can help you add tools to agents. +Copilot can help you add tools to agents. You can (a) add a mock tool, (b) add a tool from an MCP server, (c) integrate with you own tools using a webhook. -### Instruct copilot to add tools -![Add Tool](img/add-tool.png) -![Example Tool](img/example-tool.png) +### Adding mock tools +You can mock any tool you have created by checking the 'Mock tool responses' option. -### Inspect tools and agents -Note how copilot not only creates the tool definitions for you, but also updates the relevant agent instructions to use the tool and connects the tool to the agent. -![Inspect Agent Tools](img/inspect-agent-tools.png) -![Inspect Agent Tool Connections](img/inspect-agent-tool-connections.png) +![Example Tool](img/mock-tool.png) + +### Adding MCP tools + +[![MCP server](https://img.youtube.com/vi/EbkIPCTyD58/0.jpg)](https://www.youtube.com/watch?v=EbkIPCTyD58) + ### Debug tool calls in the playground When agents call tools during a chat in the playground, the tool call parameters and response are available for debugging real-time. For testing purposes, the platform can produce mock tool responses in the playground, without integrating actual tools. -![Mock Tool Responses](img/mock-tool-responses.png) -![Debug Tool Calls](img/debug-tool-calls.png) \ No newline at end of file +![Mock Tool Responses](img/mock-response.png) \ No newline at end of file diff --git a/apps/docs/docs/agents.md b/apps/docs/docs/agents.md index 166def65..6ffb91a3 100644 --- a/apps/docs/docs/agents.md +++ b/apps/docs/docs/agents.md @@ -19,14 +19,11 @@ The agent uses examples as a reference for behavior in different scenarios. Whil ### Prompts Prompts attached to an agent will be used by the agent in addition to instructions. -### RAG -Data sources added to an agent will be used as knowledge, retrieved using embedding match in a typical RAG fashion. Advanced configurations allow for setting number of matches, etc. RAG is currently implemented as a predefined tool call which the agent will use when it determines that it needs to retrieve knowledge. This behavior can be further fine-tuned by specifying corresponding instructions or prompts. - ### Tools Tools attached to an agent will be put out as tool calls. The behavior of when to invoke tools can be fine-tuned by specifying corresponding instructions or prompts. Adding examples to agents can also be useful in controlling tool call behavior. ### Connected Agents -In the agent graph, connected agents refer to children of an agent. An agent can choose to transfer control of the conversation to one of its children, by using internal tool calls (need not be configured separately). Similar to tools, the behavior of when to transfer the chat to a child agent can be fine-tuned by specifying corresponding instructions, examples and prompts. +In the agent instructions, the connected agents are shown with an '@mention'. If the agent mentioned in an instruction (connected agent) does not actually exist, the connected agent's name would show up with an '!' to call to attention. ### Model -RowBoat currently supports OpenAI LLMs. Agents can be configured to use any of the OpenAI LLMs. \ No newline at end of file +RowBoat currently supports OpenAI LLMs. Agents can be configured to use GPT-4o or GPT-4o-mini. \ No newline at end of file diff --git a/apps/docs/docs/create_agents.md b/apps/docs/docs/create_agents.md index c9aa40cd..9237cfc4 100644 --- a/apps/docs/docs/create_agents.md +++ b/apps/docs/docs/create_agents.md @@ -4,20 +4,17 @@ Copilot can set up agents for you from scratch. ### Instruct copilot First, tell it about the initial set of agents that make up your assistant. -![Create Initial Agents](img/copilot-create.png) +[![Prompt to agents](https://img.youtube.com/vi/3t2Fpn6Vyds/0.jpg)](https://www.youtube.com/watch?v=3t2Fpn6Vyds) Using copilot to create your initial set of agents helps you leverage best practices in formatting agent instructions and connecting agents to each other as a graph, all of which have been baked into copilot. ### Inspect the agents -Once you apply changes, inspect the agents to see how copilot has built them. Specifically, note the Instructions, Examples and Connected Agents in each agent. +Once you apply changes, inspect the agents to see how copilot has built them. Specifically, note the Instructions, and Examples in each agent. -![Agent Config](img/agent-config.png) +![Agent Config](img/agent-instruction.png) -Also notice that copilot would likely have created a "Hub" agent that is "connected" to other agents. - -![Hub Agent Config](img/hub-config.png) ### Make changes if needed -Tweak the instructions and examples manually if needed. +Tweak the instructions and examples through the copilot, or generate instructions button, or by manually editing it. -![Edit Agent Manually](img/edit-agent-manually.png) \ No newline at end of file +[![Feedback](https://img.youtube.com/vi/uoCEQtOe7eE/0.jpg)](https://www.youtube.com/watch?v=uoCEQtOe7eE) \ No newline at end of file diff --git a/apps/docs/docs/img/agent-instruction.png b/apps/docs/docs/img/agent-instruction.png new file mode 100644 index 00000000..07c203d4 Binary files /dev/null and b/apps/docs/docs/img/agent-instruction.png differ diff --git a/apps/docs/docs/img/chat-delivery.png b/apps/docs/docs/img/chat-delivery.png new file mode 100644 index 00000000..b20dd369 Binary files /dev/null and b/apps/docs/docs/img/chat-delivery.png differ diff --git a/apps/docs/docs/img/mock-response.png b/apps/docs/docs/img/mock-response.png new file mode 100644 index 00000000..3f3b68c7 Binary files /dev/null and b/apps/docs/docs/img/mock-response.png differ diff --git a/apps/docs/docs/img/mock-tool.png b/apps/docs/docs/img/mock-tool.png new file mode 100644 index 00000000..ab3c492f Binary files /dev/null and b/apps/docs/docs/img/mock-tool.png differ diff --git a/apps/docs/docs/playground.md b/apps/docs/docs/playground.md index a18c6411..3f1f0590 100644 --- a/apps/docs/docs/playground.md +++ b/apps/docs/docs/playground.md @@ -4,12 +4,4 @@ The playground is intended to test out the assistant as you build it. The User and Assistant messages represent the conversation that your end-user will have if your assistant is deployed in production. The playground also has debug elements which show the flow of control between different agents in your system, as well as which agent finally responded to the user. -![Try Chat](img/try-chat.png) - -In the playground, you can also set initial context at start of chat, that will be passed to all agents. This is typically used for providing user identity information such as user ID, login email, etc. -![Use System Message](img/sys-msg.png) - -### Ask copilot questions -You can ask copilot clarifications about the chat, such as why the agents responded a certain way or why an agent was invoked. - -![Copilot Clarifications](img/copilot-clarifications.png) \ No newline at end of file +![Try Chat](img/chat-delivery.png) \ No newline at end of file diff --git a/apps/docs/docs/tools.md b/apps/docs/docs/tools.md index 4ec93fbd..162dad36 100644 --- a/apps/docs/docs/tools.md +++ b/apps/docs/docs/tools.md @@ -3,4 +3,4 @@ - Tools can be defined once in RowBoat Studio and reused across different agents. - RowBoat uses OpenAI style tools with name, description and parameters. - For the purposes of quick testing in the Playground, RowBoat Studio can mock tool responses based on tool descriptions. -- Developers can easily connect tools to APIs by configuring MCP servers or Webhook URL in Studio. \ No newline at end of file +- Developers can easily connect tools to APIs by configuring MCP servers or Webhook URL in Settings. \ No newline at end of file diff --git a/apps/docs/mkdocs.yml b/apps/docs/mkdocs.yml index 6be0ba2e..e6e6ea50 100644 --- a/apps/docs/mkdocs.yml +++ b/apps/docs/mkdocs.yml @@ -20,6 +20,5 @@ nav: - Concepts: - Agents: agents.md - - Graph: graph.md - Tools: tools.md - Prompts: prompts.md diff --git a/apps/rowboat/app/lib/feature_flags.ts b/apps/rowboat/app/lib/feature_flags.ts index 1cd3d02a..caf95116 100644 --- a/apps/rowboat/app/lib/feature_flags.ts +++ b/apps/rowboat/app/lib/feature_flags.ts @@ -5,6 +5,6 @@ export const USE_CHAT_WIDGET = process.env.USE_CHAT_WIDGET === 'true'; export const USE_AUTH = process.env.USE_AUTH === 'true'; // Hardcoded flags -export const USE_MULTIPLE_PROJECTS = false; +export const USE_MULTIPLE_PROJECTS = true; export const USE_TESTING_FEATURE = false; export const USE_VOICE_FEATURE = false; \ No newline at end of file