# Connect agents to anything

Hook up integrations in minutes, not days. Email, SMS, chat platforms, webhooks, cron jobs, and agent-to-agent calls all work with minimal wiring. Decouple your agent logic from the integrations that trigger it.

## Minimal wiring, maximum flexibility

Your agent code stays clean. Integrations are configured separately, so you can swap triggers without touching agent logic.

### Messaging & Email

Wire up email or SMS providers with a webhook endpoint. Inbound messages route to your agent, outbound responses go back through the same channel.

### APIs, Webhooks & Cron

Trigger agents via REST APIs or incoming webhooks. Schedule recurring tasks with cron expressions defined in code and provisioned automatically on deploy.

### Streaming & Real-time

Stream LLM responses directly to clients with ephemeral streams, or persist them for replay. WebSocket and SSE connections work out of the box for live updates.

Hook up a

- webhook
- API endpoint
- cron job
- email provider
- SMS gateway
- Slackbot
- Discord bot

## Agent-to-Agent I/O

Agentuity is framework-agnostic, which paired with our simple agent-to-agent communication feature, means your agents can talk to each other in one line of code. It doesn't matter if you're using Mastra, LangGraph, or AI SDK, it just works.

```javascript
const res = await otherAgent.run({
	text: input.text,
});
```

## See it in action

Watch this 1-minute overview to see how to connect your agents to external systems using Agentuity's built-in I/O integrations for seamless communication.

## Resources

[**Calling Other Agents**](https://agentuity.dev/agents/calling-other-agents)\  
Build multi-agent systems with type-safe communication. Sequential, parallel, background execution, and conditional routing patterns for complex workflows.\

[**Routing Overview**](https://agentuity.dev/routes)\  
Define how requests reach your code with HTTP, cron, WebSocket, and SSE routes using a familiar Hono-based API.\

[**WebSockets**](https://agentuity.dev/routes/websockets)\  
Real-time bidirectional communication for chat interfaces, live dashboards, and collaborative tools.\

[**Scheduling Cron Jobs**](https://agentuity.dev/routes/cron)\  
Run tasks on a schedule with cron expressions defined in code and automatically provisioned on deployment.\

[**Streaming with SSE**](https://agentuity.dev/routes/sse)\  
Stream updates from server to client using Server-Sent Events for progress indicators, live feeds, and LLM response streaming.\

[**Agent Communication API**](https://agentuity.dev/reference/sdk-reference#agent-communication)\  
Reference for agent imports, type-safe calls, and multi-agent workflow patterns.
