What is an Agent?
An Agent in OpenSink is a registered entity that represents an AI agent you run in production. It is the anchor point for everything else:- Sessions track its executions
- Configurations control its behavior
- Activities log what happened
- Input Requests enable human interaction
OpenSink is framework-agnostic. Your agent can be built with LangChain, CrewAI, custom code, or anything else. OpenSink doesn’t care how it runs — only that it has structure.
Why register agents?
Without a central record, production agents become invisible:- Which agents exist?
- What are they configured to do?
- Are they running right now?
- Did they fail?
- What did they produce?
What an Agent contains
| Field | Description |
|---|---|
name | Human-readable name |
description | What this agent does |
status | Current state — derived from its latest session |
config_id | Active configuration version |
execution_endpoint | Optional webhook for resuming execution |
Agent status
An agent’s status reflects what its most recent session is doing:| Status | Meaning |
|---|---|
running | Agent is actively executing |
waiting_for_input | Paused, waiting for human input |
processing_input | Input received, resuming execution |
completed | Latest session finished successfully |
failed | Latest session failed |
Creating an Agent
- Creates the agent record
- Creates a default configuration (empty schema and values)
- Links the agent to that configuration
How Agents connect to everything
An Agent is the central hub. Here’s how the pieces fit together:Configurations
Versioned settings that control agent behavior — prompts, parameters, tool selections.
Sessions
Durable execution records. Each run creates a session that tracks state and status.
Input Requests
Schema-driven prompts that pause execution and wait for human input.
Activities
A log of everything that happened during a session — starts, messages, inputs, results.
The typical agent loop
Most agents follow this pattern:What Agents are not
Agents in OpenSink are not:- an execution runtime
- a framework
- a prompt chain
- a workflow engine
When to use Agents
Register an agent in OpenSink when:- it runs in production (not just notebooks)
- you need to track its executions
- its behavior should be configurable without redeploying
- humans need to interact with it
- you need to know what it did and when

