Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ npm install @agentage/sdk
- **Type-safe tools** - Zod-based schema validation
- **Multiple models** - Support for OpenAI, Anthropic, and custom adapters
- **Zero configuration** - Start building agents immediately
- **Developer Debug Panel** - Built-in debugging tools for inspecting agent execution

## Quick Start

Expand Down Expand Up @@ -199,6 +200,37 @@ const analyst = agent('analyst')
.instructions('Provide precise, factual analysis');
```

### 6. Developer Debug Panel

Debug and inspect agent execution in real-time:

```typescript
import { agent, initDevPanel, showDevPanel } from '@agentage/sdk';

// Initialize dev panel (auto-enabled in NODE_ENV=development)
initDevPanel({ enabled: true, logLevel: 'verbose' });

// Enable dev mode on agent
const debugAgent = agent('debug-bot')
.model('gpt-4')
.instructions('You are helpful')
.devMode(true); // Enable debug logging

await debugAgent.send('Hello!');

// Show visual dev panel with all events
showDevPanel();
```

The dev panel logs:
- πŸ”§ Agent configuration
- πŸ’¬ Messages sent/received
- πŸ”¨ Tool calls
- βœ… Model responses
- ❌ Errors

See [Dev Panel Documentation](./docs/dev-panel.md) for complete guide.

## Philosophy

The AgentKit philosophy is to provide small, functional tooling for building AI agents, making it a great solution for chatbots, automation, data processing, or AI-powered applications.
Expand Down
Loading