docs: improve README with quick start steps and SDK usage example#1574
docs: improve README with quick start steps and SDK usage example#1574Reethikaa05 wants to merge 726 commits intojulep-ai:x/usage-based-limitsfrom
Conversation
…nt query bandwidth
Added entry for new include_embeddings parameter in document APIs for bandwidth optimization. This allows users to exclude embeddings from API responses when not needed. Co-authored-by: Ahmad Haidar <undefined@users.noreply.github.com>
- Updated Chinese (README-CN.md), French (README-FR.md), and Japanese (README-JA.md) translations - Synchronized all translations with the current concise marketing-focused format - Maintained accurate translations while ensuring identical structure and content - All translation files now properly reflect the current Julep platform description and features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Added entry for include_embeddings parameter in document search request models for bandwidth optimization. This allows users to exclude embeddings from search API responses when not needed. Co-authored-by: Ahmad Haidar <undefined@users.noreply.github.com>
Added changelog entry for extending include_embeddings parameter to document search endpoints, providing additional bandwidth optimization capabilities for search operations. Co-authored-by: Ahmad Haidar <undefined@users.noreply.github.com>
chore: restructure project folders and update README
- Add missing Table of Contents section to all translated READMEs - Add missing GIF image before Community section in all translated READMEs - Ensure all translated files have exact same structure as root README.md - Translations: Chinese (CN), French (FR), Japanese (JA)
- Fixed malformed Table of Contents in all three translated README files - Replaced JWT-based image URLs with consistent white-line.gif separators - Ensured all translated files now match the exact structure of root README.md - Languages updated: Chinese (CN), French (FR), Japanese (JA) Co-authored-by: undefined <undefined@users.noreply.github.com>
- Move Table of Contents to correct position after "Try Julep Today" section - Remove duplicate white line GIF before Community sections - Ensure all translated READMEs have identical structure to root README.md - Chinese, French, and Japanese translations now properly aligned Co-authored-by: undefined <undefined@users.noreply.github.com>
…and error handling
feat: add MCP integration with http and sse support
F/mcp integration
feat: implement async email sending with enhanced HTML support
…ing in prompt step settings
…or-wrong-model-name X/fix error handling for wrong model name
…nto x/fix-gpt5-chat
…ests fix(agents-api): update model validation import path in tests to common utils
X/fix gpt5 chat
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||||
|
Generated with ❤️ by ellipsis.dev |
User description
Summary
This PR updates the README to make it easier for new developers to get started with Julep.
It adds clearer quick start steps, SDK installation examples, and a minimal workflow example for Python.
Changes
Why This Change?
Example Snippet Added
File Walkthrough
8 files
11-hacker-news-personalized-generator.ipynb
New Hacker News personalized newsletter generator cookbookcookbooks/advanced/11-hacker-news-personalized-generator.ipynb
• Added a new comprehensive Jupyter notebook for a Hacker News
personalized newsletter generator
• Implements a complex workflow that
fetches top stories, scrapes content, analyzes relevance, and
generates summaries
• Includes detailed documentation with overview,
features, and step-by-step workflow explanation
• Uses multiple
integrations including Spider web scraping and parallel processing for
efficiency
02-Simple-Task.ipynb
New simple task basic cookbookcookbooks/basics/02-Simple-Task.ipynb
• Added new basic cookbook demonstrating simple task creation
•
Includes YAML task definition for echo functionality
• Shows execution
creation and status checking
• Contains related concepts section with
documentation links
01-Hello-Agent.ipynb
New hello agent basic cookbookcookbooks/basics/01-Hello-Agent.ipynb
• Added new basic cookbook showing fundamental agent creation
•
Demonstrates client initialization, agent creation, and session chat
•
Includes related concepts section with documentation links
• Provides
minimal working example for beginners
05-RAG-and-Docs.ipynb
Add new RAG and documents demonstration notebookcookbooks/basics/05-RAG-and-Docs.ipynb
• Created new notebook demonstrating Retrieval Augmented Generation
with documents
• Added session creation with vector recall
configuration
• Included "Related Concepts" section with documentation
links
04-Parallel-Steps.ipynb
Add new parallel steps demonstration notebookcookbooks/basics/04-Parallel-Steps.ipynb
• Created new notebook showing parallel step execution example
• Added
YAML task definition with
mapandparallelismconfiguration• Included
"Related Concepts" section with documentation links
03-Adding-Tools.ipynb
Add new tool integration demonstration notebookcookbooks/basics/03-Adding-Tools.ipynb
• Created new notebook demonstrating tool attachment to agents
• Added
Wikipedia integration tool creation example
• Included "Related
Concepts" section with documentation links
Tools.py
Add Google Sheets and MCP integrations with enhanced API featuressrc/agents-api/agents_api/autogen/Tools.py
• Added
secretsfield toApiCallDefandApiCallDefUpdatefor secretreferences
• Added
params_schemafield for API call parametervalidation
• Added support for "mcp" and "google_sheets" integration
providers
• Added comprehensive Google Sheets integration classes with
CRUD operations
• Added MCP (Model Context Protocol) integration
classes
• Added
ParameterSchemaandPropertyDefinitionclasses forschema validation
• Added
SecretRefclasses for secret managementTools.py
Mirror Google Sheets and MCP integrations in integrations servicesrc/integrations-service/integrations/autogen/Tools.py
• Added
secretsandparams_schemafields to API call definitions•
Added "mcp" and "google_sheets" to supported integration providers
•
Added complete Google Sheets integration with read/write/batch
operations
• Added MCP integration for Model Context Protocol support
• Added parameter schema validation classes
• Added secret reference
management classes
9 files
06-browser-use.ipynb
Streamlined browser use cookbook documentationcookbooks/advanced/06-browser-use.ipynb
• Removed extensive documentation and overview sections from the
notebook header
• Simplified markdown content by removing detailed
task flow descriptions and feature explanations
• Updated API key
handling to use environment variables instead of hardcoded values
•
Added related concepts section with documentation links
09-companion-agent.ipynb
Simplified companion agent cookbook structurecookbooks/advanced/09-companion-agent.ipynb
• Removed comprehensive documentation header with task definitions and
flow descriptions
• Simplified client creation section title and
removed API key instructions
• Fixed YAML schema reference path and
corrected output references in task definition
• Added execution
status checking with time.sleep loop and related concepts section
02-sarcastic-news-headline-generator.ipynb
Streamlined sarcastic news generator cookbookcookbooks/advanced/02-sarcastic-news-headline-generator.ipynb
• Removed detailed task overview and implementation documentation from
notebook header
• Simplified client creation section and removed API
key acquisition instructions
• Updated YAML schema reference path to
use correct source location
• Added related concepts section with
documentation links at the end
07-personalized-research-assistant.ipynb
Simplified research assistant cookbook structurecookbooks/advanced/07-personalized-research-assistant.ipynb
• Removed extensive task definition documentation and flow diagrams
from header
• Updated API key handling to use environment variables
for Brave and LlamaParse
• Fixed YAML schema reference path and
removed detailed explanatory notes
• Added related concepts section
with documentation links
05-video-processing-with-natural-language.ipynb
Streamlined video processing cookbook documentationcookbooks/advanced/05-video-processing-with-natural-language.ipynb
• Removed comprehensive task overview and implementation documentation
• Updated environment variable usage for Cloudinary API credentials
•
Fixed YAML schema reference path and removed explanatory notes
• Added
related concepts section (with a typo in the last link)
00-Devfest-Email-Assistant.ipynb
Streamline notebook by removing header documentation andimplementation notescookbooks/advanced/00-Devfest-Email-Assistant.ipynb
• Removed extensive header section with branding, badges, and task
overview documentation
• Removed implementation notes about UUIDs and
step references
• Simplified notebook structure by removing
descriptive markdown cells
• Added "Related Concepts" section with
documentation links at the end
01-website-crawler.ipynb
Clean up notebook by removing verbose documentation headercookbooks/advanced/01-website-crawler.ipynb
• Removed comprehensive header with branding, task definition, and
flow diagrams
• Removed UUID management notes and implementation
details
• Simplified client creation section title
• Added "Related
Concepts" section with documentation links
sync_model_docs.py
Model documentation synchronization script for LiteLLM integrationsrc/scripts/sync_model_docs.py
• New script to synchronize model information from
litellm-config.yamlto documentation
• Fetches pricing and feature data from LiteLLM's
GitHub repository
• Generates markdown tables for models grouped by
provider with feature support indicators
• Includes cost tier
classification and context window formatting
• Updates the
supported-models.mdxdocumentation file automaticallysessions.py
Documentation and type annotation improvements for session exceptionssrc/agents-api/agents_api/common/exceptions/sessions.py
• Added AIDEV-NOTE comments for documentation purposes
• Added
explicit return type annotation (
-> None) toSessionNotFoundError.initmethod• No functional changes, only
documentation and type annotation improvements
1 files
list_entries.py
Fixed mutable default arguments in list_entries functionsrc/agents-api/agents_api/queries/entries/list_entries.py
• Fixed mutable default arguments by changing list parameters to None
with proper initialization
• Added conditional initialization for
allowed_sourcesandexclude_relationsparameters• Includes
explanatory comment about avoiding mutable default arguments
5 files
test_chat_streaming.py
Add comprehensive test suite for chat streaming functionalitysrc/agents-api/tests/test_chat_streaming.py
• Created comprehensive test suite for chat streaming functionality
•
Added tests for streaming response format, document references, and
usage tracking
• Added helper functions for collecting stream content
and managing usage records
• Added tests for custom API key usage and
developer tag tracking
• Added database integration tests for usage
record creation
fixtures.py
Enhance test fixtures with project support and secret managementsrc/agents-api/tests/fixtures.py
• Added
test_projectfixture for project-related testing• Updated
test_agentfixture to include project association• Added
custom_scope_idfixture and updated execution fixtures• Added
clean_secretsfixture for secret management testing• Updated model
validation patch path reference
test_task_execution_workflow.py
Test updates for workflow execution with database connection handlingsrc/agents-api/tests/test_task_execution_workflow.py
• Added
functoolsimport and custombase_evaluate_with_poolfunctionfor database connection handling
• Updated test mocks to handle
workflow context exceptions with
_NotInWorkflowEventLoopError•
Modified activity execution calls to include additional parameters
like
developer_id,agent_id,task_id• Updated test assertions to
match new parameter structure for integration and system calls
• Added
database pool creation and connection handling in evaluation tests
test_middleware.py
New middleware test suite for usage and cost validationsrc/agents-api/tests/test_middleware.py
• Added comprehensive test suite for HTTP middleware functionality
•
Tests cover usage cost checking, user account validation, and cost
limit enforcement
• Includes tests for different user types (free,
paid, inactive) and request methods
• Tests middleware behavior for
session creation/deletion with cost limits
• Validates proper error
handling and response codes for various scenarios
test_mcp.py
MCP integration test suite with transport and tool testingsrc/integrations-service/tests/test_mcp.py
• New comprehensive test suite for MCP (Model Context Protocol)
integration
• Tests MCP provider registration, tool listing, and tool
execution functionality
• Includes tests for HTTP and SSE transport
connections with proper mocking
• Validates timeout handling, error
scenarios, and response normalization
• Tests SDK availability checks
and transport validation
1 files
Tasks.py
Auto-generated model updates with formatting and default changessrc/agents-api/agents_api/autogen/Tasks.py
• Added import for
JinjaTemplatefrom.Commonmodule• Reformatted
field definitions with better line breaks for readability
• Removed
continue_field fromPromptItemclass• Changed default value of
auto_run_toolsfromTruetoFalseinPromptStepandPromptStepUpdateItemclasses• Updated documentation comments to
reflect the new default behavior
1 files
Agents.py
Auto-generated agent models and request/response schemassrc/agents-api/agents_api/autogen/Agents.py
• New auto-generated file containing Pydantic models for agent-related
operations
• Defines models for
Agent,CreateAgentRequest,UpdateAgentRequest,PatchAgentRequest• Includes model information
classes like
ModelInfoandListModelsResponse• Contains comprehensive
field validation and documentation for agent properties
101 files