Agentic លំនាំ
លំនាំសម្រាប់បង្កើតប្រព័ន្ធ AI agent ក្នុង Go: reasoning loops, tool dispatch, memory, retrieval និងការសម្របសម្រួលរវាង agents ច្រើន។
Agent Loop (ReAct)
មិនទាន់អានDrive an agent by alternating reasoning and acting steps inside a structured loop that terminates when the model signals a final answer.
Tool Use
មិនទាន់អានRegister typed tools by name so an agent can dispatch LLM-selected function calls to the right handler without embedding dispatch logic in the agent itself.
Orchestrator-Subagent
មិនទាន់អានDecompose a complex task by having a root agent spawn and coordinate specialized subagents, each responsible for one concern, then aggregate their results.
Memory
មិនទាន់អានGive an agent a pluggable memory store — short-term context buffer, episodic session history, and optional long-term semantic store — through one interface so the storage backend can be swapped.
Retrieval-Augmented Generation
មិនទាន់អានGround LLM responses in authoritative documents by retrieving relevant chunks before generation so the model can cite real data instead of hallucinating.
Human-in-the-Loop
មិនទាន់អានPause agent execution at defined checkpoints to request human approval or input, then resume with the human's decision injected back into the agent's context.
Prompt Template
មិនទាន់អានBuild prompts from versioned, parameterized templates so prompt logic stays separate from agent orchestration code and can be tested, diffed, and swapped independently.
Multi-Agent Communication
មិនទាន់អានEnable agents to exchange typed messages through a shared message bus so they can collaborate without direct references to each other's implementations.