|
| 1 | +# Agent Tars Quick Start |
| 2 | + |
| 3 | +Hello, welcome to Agent Tars! |
| 4 | + |
| 5 | +This guide will walk you through the process of setting up your first Agent Tars project. |
| 6 | + |
| 7 | +## Necessary Configuration |
| 8 | + |
| 9 | +Before you begin, you will need to set some necessary configuration. |
| 10 | + |
| 11 | +You can click the left-bottom button to open the configuration page: |
| 12 | + |
| 13 | +[setting-icon.png](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/setting-icon.jpeg) |
| 14 | + |
| 15 | +Then you can set the model config and the search config. |
| 16 | + |
| 17 | +For model config, you can set the model provider and api key: |
| 18 | + |
| 19 | +[model-config.png](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/search-setting.jpeg) |
| 20 | + |
| 21 | +> For Azure OpenAI, you can set more params, including apiVersion, deploymentName and endpoint. |
| 22 | +
|
| 23 | +For search config, you can set the search provider and api key: |
| 24 | + |
| 25 | +[search-settings.png](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/search-setting.jpeg) |
| 26 | + |
| 27 | +## Start Your First Journey |
| 28 | + |
| 29 | +Now you can start your first journey in Agent Tars! |
| 30 | + |
| 31 | +You can input your first question in the input box, and then press Enter to send your question. Here is an example: |
| 32 | + |
| 33 | +[first-journey.jpeg](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/start-journey.jpeg) |
| 34 | + |
| 35 | +It's working! |
| 36 | + |
| 37 | +We also support **Human In the Loop**, that means you can interact with the agent in the working process by the input box. If you want to change the direction of current agent work, you can insert your thoughts in the special input box on the top position, and then press Enter to send your thoughts. Here is an example: |
| 38 | + |
| 39 | +[human-in-the-loop.jpeg](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/human-in-the-loop.jpeg) |
| 40 | + |
| 41 | +## Share Your Thead |
| 42 | + |
| 43 | +You can share your thread with others by the share button on the top menu. |
| 44 | + |
| 45 | +There are two modes to share your thread: |
| 46 | + |
| 47 | +- **Local Html**: Agent Tars will bundle your thread into a html file, and you can share it with others. |
| 48 | +- **Remote Server Url**: Agent Tars will generate a url for you to share your thread with others, Agent Tars will upload the html bundle to a remote server. |
| 49 | + |
| 50 | +### Local Mode |
| 51 | + |
| 52 | +You can click the share button to open the share modal, and then click the **Local Html** button to share your thread. |
| 53 | + |
| 54 | +[local-share](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/local-share.jpeg) |
| 55 | + |
| 56 | +### Remote Mode |
| 57 | + |
| 58 | +For the remote share mode, you need to set the remote server url in the share modal: |
| 59 | + |
| 60 | +[remote-share](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/agent-tars/local-share.jpeg) |
| 61 | + |
| 62 | +Then Agent Tars will post a request to the remote server to upload the html bundle, and then you can share the url with others. The specific request information is as follows: |
| 63 | + |
| 64 | +- Method: POST |
| 65 | +- Body: |
| 66 | + - file: the html bundle file(type: multipart/form-data) |
| 67 | +- Response: |
| 68 | + - data: { url: string } |
| 69 | + |
| 70 | +Then the server will return an object including the `url` parameter, which is the url to share your thread. |
| 71 | + |
| 72 | +### Enjoy the replay experience! |
| 73 | + |
| 74 | +When you finish the shared process, you can preview the bundle and experience the wonderful replay process! That's really cool! |
0 commit comments