Why HTTP?
HTTP is the universal interface for the internet. This capability allows agents to:- Interact with any REST API
- Build integrations on the fly
- Work with services without native integrations
- Create custom workflows
Available Methods
| Method | Use Case |
|---|---|
| GET | Retrieve data from APIs |
| POST | Create records, submit forms |
| PUT | Update existing records |
| DELETE | Remove records |
| PATCH | Partial updates |
Authentication
Many APIs require authentication. You can provide:- API Keys — Stored securely as credentials
- Bearer Tokens — OAuth tokens for authorized access
- Basic Auth — Username/password combinations
- Custom Headers — Any authentication scheme
Real-World Example
When evaluating potential office locations, an agent used HTTP capability to:1
Import data
Imported employee addresses and potential locations.
2
Geocoding
Used a public API to convert addresses to GPS coordinates.
3
Transit calculation
Used another API to calculate journey times.
4
Map generation
Generated an interactive map visualization.
Best Practices
Start with documentation
Start with documentation
Point the agent to API documentation so it understands available endpoints.
Test incrementally
Test incrementally
Start with simple API calls before building complex workflows.
Handle errors gracefully
Handle errors gracefully
Instruct agents on how to handle API errors and rate limits.
Secure credentials
Secure credentials
Always use the credential system rather than putting keys in instructions.

