You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue serves as a guide for integrating a new agent into our framework. The initial step involves defining a struct that encapsulates your agent's functionality, incorporating a field of type AgentGPT, which implements the Agent trait.
The next step is to expand the agent's capabilities by introducing any necessary API clients. Following this, you'll implement methods within the defined struct that leverage your API Client type effectively. Have a look at the existing agents for inspirations (e.g. ArchitectGPT):
This issue serves as a guide for integrating a new agent into our framework. The initial step involves defining a struct that encapsulates your agent's functionality, incorporating a field of type
AgentGPT
, which implements theAgent
trait.The next step is to expand the agent's capabilities by introducing any necessary API clients. Following this, you'll implement methods within the defined struct that leverage your API
Client
type effectively. Have a look at the existing agents for inspirations (e.g.ArchitectGPT
):https://github.com/kevin-rs/kevin/blob/a57c9db65da467727dee554c3c4c2fcb80cd483f/src/agents/architect.rs#L57-L68
ArchitectGPT
'sClient
function example:https://github.com/kevin-rs/kevin/blob/a57c9db65da467727dee554c3c4c2fcb80cd483f/src/agents/architect.rs#L239-L253
The text was updated successfully, but these errors were encountered: