Complete SDK documentation and examples for Python and TypeScript
The Honcho SDKs provide ergonomic interfaces for building agentic AI applications with Honcho in Python and TypeScript/JavaScript.
Representations are how Honcho models what peers know. Each peer has a global representation (everything they know across all sessions) and local representations (what other specific peers know about them, scoped by session or globally).
The main entry point for workspace operations:
Environment Variables:
HONCHO_API_KEY
- API key for authenticationHONCHO_BASE_URL
- Base URL for the Honcho APIHONCHO_WORKSPACE_ID
- Default workspace IDKey Methods:
Peer and session creation is lazy - no API calls are made until you actually use the peer or session.
Represents an entity that can participate in conversations:
Manages multi-party conversations:
Session-Level Theory of Mind Configuration:
Theory of Mind controls whether peers can form models of what other peers think. Use observe_others=False
to prevent a peer from modeling others within a session, and observe_me=False
to prevent others from modeling this peer within a session.
Provides formatted conversation context for LLM integration:
See Using Filters for more examples on how to use filters.
Complete SDK documentation and examples for Python and TypeScript
The Honcho SDKs provide ergonomic interfaces for building agentic AI applications with Honcho in Python and TypeScript/JavaScript.
Representations are how Honcho models what peers know. Each peer has a global representation (everything they know across all sessions) and local representations (what other specific peers know about them, scoped by session or globally).
The main entry point for workspace operations:
Environment Variables:
HONCHO_API_KEY
- API key for authenticationHONCHO_BASE_URL
- Base URL for the Honcho APIHONCHO_WORKSPACE_ID
- Default workspace IDKey Methods:
Peer and session creation is lazy - no API calls are made until you actually use the peer or session.
Represents an entity that can participate in conversations:
Manages multi-party conversations:
Session-Level Theory of Mind Configuration:
Theory of Mind controls whether peers can form models of what other peers think. Use observe_others=False
to prevent a peer from modeling others within a session, and observe_me=False
to prevent others from modeling this peer within a session.
Provides formatted conversation context for LLM integration:
See Using Filters for more examples on how to use filters.