Update README.md

This commit is contained in:
arkml 2025-04-09 01:03:36 +05:30 committed by GitHub
parent 45593ae7d9
commit ceaef81a5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,19 +35,19 @@ Powered by OpenAI's Agents SDK, Rowboat is the fastest way to build multi-agents
#### Create a multi-agent assistant with tools from a single prompt
[![Watch the demo](https://img.youtube.com/vi/3t2Fpn6Vyds/0.jpg)](https://www.youtube.com/watch?v=3t2Fpn6Vyds)
[![Prompt to agents](https://img.youtube.com/vi/3t2Fpn6Vyds/0.jpg)](https://www.youtube.com/watch?v=3t2Fpn6Vyds)
#### Add MCP servers
[![Watch the demo](https://img.youtube.com/vi/EbkIPCTyD58/0.jpg)](https://www.youtube.com/watch?v=EbkIPCTyD58)
[![MCP server](https://img.youtube.com/vi/EbkIPCTyD58/0.jpg)](https://www.youtube.com/watch?v=EbkIPCTyD58)
#### Use Firecrawl's MCP server and build a quick url scraping agent
[![Watch the demo](https://img.youtube.com/vi/KeXLKh4tUYU/0.jpg)](https://www.youtube.com/watch?v=KeXLKh4tUYU)
[![Firecrawl MCP](https://img.youtube.com/vi/KeXLKh4tUYU/0.jpg)](https://www.youtube.com/watch?v=KeXLKh4tUYU)
#### Improve agents with feedback
[![Watch the demo](https://img.youtube.com/vi/uoCEQtOe7eE/0.jpg)](https://www.youtube.com/watch?v=uoCEQtOe7eE)
[![Feedback](https://img.youtube.com/vi/uoCEQtOe7eE/0.jpg)](https://www.youtube.com/watch?v=uoCEQtOe7eE)
## Integrate with Rowboat agents
@ -56,11 +56,51 @@ There are 2 ways to integrate with the agents you create in Rowboat
1. HTTP API
- You can use the API directly at [http://localhost:3000/api/v1/](http://localhost:3000/api/v1/)
- See [API Docs](https://docs.rowboatlabs.com/using_the_api/) for more details
- See [API Docs](https://docs.rowboatlabs.com/using_the_api/) for details
```bash
curl --location 'http://localhost:3000/api/v1/<PROJECT_ID>/chat' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API_KEY>' \
--data '{
"messages": [
{
"role": "user",
"content": "tell me the weather in london in metric units"
}
]
}'
```
2. Python SDK
- You can use the included Python SDK to interact with the Agents
- See [SDK Docs](https://docs.rowboatlabs.com/using_the_sdk/) for more details
- See [SDK Docs](https://docs.rowboatlabs.com/using_the_sdk/) for details
```python
from rowboat import Client
from rowboat.schema import UserMessage, SystemMessage
# Initialize the client
client = Client(
host="<HOST>",
project_id="<PROJECT_ID>",
api_key="<API_KEY>"
)
# Create messages
messages = [
SystemMessage(role='system', content="You are a helpful assistant"),
UserMessage(role='user', content="Hello, how are you?")
]
# Get response
response_messages, state = client.chat(messages=messages)
print(response_messages[-1].content)
# For subsequent messages, include previous messages and state
messages.extend(response_messages)
messages.append(UserMessage(role='user', content="What's your name?"))
response_messages, state = client.chat(messages=messages, state=state)
```
Refer to [Docs](https://docs.rowboatlabs.com/) to learn how to start building agents with Rowboat.