aigentic
0.4.0-SNAPSHOT
common
core
/
community.flock.aigentic.core.dsl
/
agent
agent
@
JvmName
(
name
=
"agentDefault"
)
fun
agent
(
agentConfig
:
AgentConfig
<
Unit
,
Unit
>
.
(
)
->
Unit
)
:
Agent
<
Unit
,
Unit
>
@
JvmName
(
name
=
"agentInput"
)
fun
<
I
:
Any
>
agent
(
agentConfig
:
AgentConfig
<
I
,
Unit
>
.
(
)
->
Unit
)
:
Agent
<
I
,
Unit
>
inline
fun
<
I
:
Any
,
O
:
Any
>
agent
(
agentConfig
:
AgentConfig
<
I
,
O
>
.
(
)
->
Unit
)
:
Agent
<
I
,
O
>