JS SDK
Last updated
Last updated
@julep/sdk / Modules
💸🤑 Announcing our Bounty Program: Help the Julep community fix bugs and ship features and get paid. More details here.
Explore the docs » Report Bug · Request Feature · Join Our Discord · X · LinkedIn
We've built a lot of AI apps and understand how difficult it is to evaluate hundreds of tools, techniques, and models, and then make them work well together.
The Problems
The barrier to making LLM apps with memory, knowledge & tools is too high.
Agentic behaviour is hard to control when done through multi-agent frameworks.
The Solution:
Statefulness By Design: Manages context by default. Uses CozoDB to save & retrieve conversation history, OpenAPI specification tools & documents.
Support for Users & Agents: Allows creating different user <-> agent interactions like One Agent <-> Many Users
; Many Agents <-> One User
etc. Read more: https://docs.julep.ai/concepts/
Use and switch between any LLMs anytime: Switch and use different LLMs, providers and models, self-hosted or otherwise.
Production-ready: Julep comes ready to be deployed to production using Docker Compose. Support for k8s coming soon!
90+ tools built-in: Connect your AI app to 150+ third-party applications using Composio natively.
*GitHub Actions-like workflows for tasks: Define agentic workflows to be executed asynchronously with one ore more without worrying about timeouts or multiplying hallucinations.
(*) Coming soon!
Our hosted platform is in Beta!
To get access: Join our Discord or Drop a "Hey" over at sid@julep.ai!
Download the docker-compose.yml
file along with the .env
file for configuration to run the Julep platform locally
The API would now be available at: http://0.0.0.0:8080
Next, add your OpenAI/Anthropic API Key to the .env
Set your environment variables
client
Agent is the object to which LLM settings like model, temperature along with tools are scoped to.
User is the object which represents the user of the application.
Memories are formed and saved for each user and many users can talk to one agent.
A "user" and an "agent" communicate in a "session". System prompt goes here. Conversation history and summary are stored in a "session" which saves the conversation history.
The session paradigm allows for; many users to interact with one agent and allow separation of conversation history and memories.
session.chat
controls the communication between the "agent" and the "user".
It has two important arguments;
recall
: Retrieves the previous conversations and memories.
remember
: Saves the current conversation turn into the memory store.
To keep the session stateful, both need to be True
To use the API directly or to take a look at request & response formats, authentication, available endpoints and more, please refer to the API Documentation
You can also use the Postman Collection for reference.
To install the Python SDK, run:
For more information on using the Python SDK, please refer to the Python SDK documentation.
To install the TypeScript SDK using npm
, run:
For more information on using the TypeScript SDK, please refer to the TypeScript SDK documentation.
You can test different examples of using Julep to make apps in the example app docs.
Check out the self-hosting guide to host the platform yourself.
If you want to deploy Julep to production, let's hop on a call!
We'll help you customise the platform and help you get set up with:
Multi-tenancy
Reverse proxy along with authentication and authorisation
Self-hosted LLMs
& more
We welcome contributions from the community to help improve and expand the Julep AI platform. See CONTRIBUTING.md
Julep AI is released under the Apache 2.0 License. By using, contributing to, or distributing the Julep AI platform, you agree to the terms and conditions of this license.
If you have any questions, need assistance, or want to get in touch with the Julep AI team, please use the following channels:
Discord: Join our community forum to discuss ideas, ask questions, and get help from other Julep AI users and the development team.
GitHub Issues: For technical issues, bug reports, and feature requests, please open an issue on the Julep AI GitHub repository.
Email Support: If you need direct assistance from our support team, send an email to diwank@julep.ai, and we'll get back to you as soon as possible.
Hop on a call: We wanna know what you're building and how we can tweak and tune Julep to help you build your next AI app.