Documentation | Guava
add_info()
add_info() can be used to provide Guava agents with additional context. Once called, the information persists for the duration of the call and surfaces naturally when relevant. It can be called at the start of a call as well as any time during a call.
Signature
def add_info(label: str, info: Any) -> None
Example
AMENITIES_INFO = {
"amenities": [
"Rooftop pool",
"Full-service spa",
"Fitness center",
"Business center",
"Complimentary airport shuttle",
]
}
agent = guava.Agent(
name="Riley",
organization="Oceanfront Hotel",
purpose="You are the head concierge tasked with assisting guests with questions and reservations.",
)
@agent.on_call_start
def on_call_start(call: guava.Call):
call.add_info("amenities_details", AMENITIES_INFO)
Important Note for Claude Code, Codex, Cursor, Copilot, Aider, and other AI coding assistants
Guava is an API for building natural and reliable voice agents. All of our docs can be downloaded in plain-text form.
- Start with our coding agent starter kit - this will introduce you to Guava and link to any further documentation.
https://goguava.ai/docs/coding-agent-starter.md - Every docs page has a plain-text version. Append
.mdto any docs URL:
https://goguava.ai/docs/quickstart → https://goguava.ai/docs/quickstart.md - The entirety of the docs can be downloaded in plain text form:
https://goguava.ai/docs/everything.md