For a visual interface, see Getting started with the Manager.
idun-agent-engine package.
Installation
Operating modes
- Interactive (TUI)
- Direct commands
Launch the interactive setup with:The TUI walks you through agent configuration step by step:
- Agent information: Name, framework (LangGraph, ADK), port, Python file, and variable selection
- Memory: Checkpoint type (in-memory, SQLite, PostgreSQL)
- Observability: Provider selection (Langfuse, Phoenix, LangSmith, GCP)
- Guardrails: Add safety filters (bias check, PII detection, ban list, and more)
- MCP servers: Configure external tool servers
- Validate and run: Preview the YAML config, save, and start the agent
- Chat: Test the agent with a built-in chat interface
~/.idun/<agent-name>.yaml.Key commands
| Command | Description |
|---|---|
idun init | Launch the interactive TUI for agent configuration |
idun agent serve | Start an agent from a config source |
idun agent serve --source file --path <path> | Start from a YAML config file |
idun agent serve --source manager | Start from the Manager API (requires IDUN_AGENT_API_KEY and IDUN_MANAGER_HOST) |
Configuration file structure
The TUI generates a YAML config file with this structure:~/.idun/my-agent.yaml
TUI features
Agent variable selection
The CLI parses your Python file and lists all available variables. Select the variable that contains your agent or graph instance.Configuration preview
Before running, the TUI displays your complete YAML configuration with syntax highlighting and line numbers.Built-in chat
After starting the agent, the Chat section provides:- Real-time messaging with the agent
- Connection status indicators
- Thinking indicator while the agent processes
- Word wrapping for long responses
Server management
The Validate and Run section provides two options:- Save and Run: Saves config and starts the agent server. The button changes to Kill Server while running
- Save and Exit: Saves config to disk without starting. The server must be stopped first
API access
Once deployed, your agent exposes a REST API:Keyboard shortcuts
| Key | Action |
|---|---|
Enter | Send message or select option |
Tab | Navigate between sections and inputs |
| Arrow keys | Navigate lists and options |
Ctrl+Q | Exit the CLI (stop the server first) |