Directories
¶
| Path | Synopsis |
|---|---|
|
codjent
module
|
|
|
core
|
|
|
agent
Package agent provides the agent runtime: one streaming-first execution loop, typed tools, provider-neutral models, optional sessions, policy and event seams.
|
Package agent provides the agent runtime: one streaming-first execution loop, typed tools, provider-neutral models, optional sessions, policy and event seams. |
|
agent/internal/eventstream
Package eventstream provides a non-blocking event queue.
|
Package eventstream provides a non-blocking event queue. |
|
llm
Package llm defines the provider-neutral model contract, requests, responses, messages, and streams used by the agent runtime.
|
Package llm defines the provider-neutral model contract, requests, responses, messages, and streams used by the agent runtime. |
|
llm/llmtest
Package llmtest provides a shared conformance suite for llm.Model implementations.
|
Package llmtest provides a shared conformance suite for llm.Model implementations. |
|
session
Package session defines conversation identity and the minimal persistence contract used by the agent runner.
|
Package session defines conversation identity and the minimal persistence contract used by the agent runner. |
|
session/sessiontest
Package sessiontest provides a shared conformance suite for session.Store implementations.
|
Package sessiontest provides a shared conformance suite for session.Store implementations. |
|
tool
Package tool defines the typed, provider-neutral tool contract used by the agent runtime.
|
Package tool defines the typed, provider-neutral tool contract used by the agent runtime. |
|
examples
|
|
|
chatbot
Package chatbot provides an interactive, streaming, and stateful chatbot that can be embedded into any provider example or application.
|
Package chatbot provides an interactive, streaming, and stateful chatbot that can be embedded into any provider example or application. |
|
mock/chatbot
command
Package main demonstrates running an interactive, streaming, and stateful chatbot using Gojent with a mock LLM.
|
Package main demonstrates running an interactive, streaming, and stateful chatbot using Gojent with a mock LLM. |
|
mock/simple_agent
command
Package main demonstrates creating an autonomous agent with a mock LLM and swapping models for a single run.
|
Package main demonstrates creating an autonomous agent with a mock LLM and swapping models for a single run. |
|
mock/streaming_agent
command
Package main demonstrates real-time streaming with an autonomous agent.
|
Package main demonstrates real-time streaming with an autonomous agent. |
|
mock/tool_agent
command
Package main demonstrates an autonomous agent with custom tools using a mock model, including a streamed tool-call loop.
|
Package main demonstrates an autonomous agent with custom tools using a mock model, including a streamed tool-call loop. |
|
google
module
|
|
|
providers
|
|
|
internal/httpheader
Package httpheader normalizes and merges HTTP headers for provider adapters.
|
Package httpheader normalizes and merges HTTP headers for provider adapters. |
|
mockllm
Package mockllm provides a deterministic in-memory model for tests, examples, and local simulation.
|
Package mockllm provides a deterministic in-memory model for tests, examples, and local simulation. |
|
anthropic
module
|
|
|
google
module
|
|
|
openai
module
|
|
|
stores
|
|
|
postgres
module
|
|
|
sqlite
module
|
|
|
Package tools provides readymade, reusable tools for Gojent agents.
|
Package tools provides readymade, reusable tools for Gojent agents. |
|
exec
Package exec provides readymade tools for executing commands and shell scripts.
|
Package exec provides readymade tools for executing commands and shell scripts. |
|
fs
Package fs provides readymade filesystem tools for reading, writing, editing, and listing files.
|
Package fs provides readymade filesystem tools for reading, writing, editing, and listing files. |
|
task
Package task provides readymade planning and task-tracking tools for multi-step agent reasoning.
|
Package task provides readymade planning and task-tracking tools for multi-step agent reasoning. |
|
web
Package web provides readymade tools for fetching web content and searching the web.
|
Package web provides readymade tools for fetching web content and searching the web. |
Click to show internal directories.
Click to hide internal directories.