Appearance
```typescript new Agent(config: AgentConfig) ```
Executes the agent and returns results.
Subscribes to agent events.
agentCreated
agentCompleted
toolCalls