{"id":14959527,"url":"https://github.com/streamlit/streamlitlangchain","last_synced_at":"2025-09-11T23:34:15.921Z","repository":{"id":173471293,"uuid":"645469085","full_name":"streamlit/StreamlitLangChain","owner":"streamlit","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-17T20:38:05.000Z","size":878,"stargazers_count":58,"open_issues_count":6,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T10:36:44.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-25T18:14:00.000Z","updated_at":"2025-01-09T20:00:07.000Z","dependencies_parsed_at":"2023-12-10T12:33:46.606Z","dependency_job_id":null,"html_url":"https://github.com/streamlit/StreamlitLangChain","commit_stats":{"total_commits":95,"total_committers":3,"mean_commits":"31.666666666666668","dds":0.2421052631578947,"last_synced_commit":"89ae68e19078e5b1f0673578649aa1a50db6bcfb"},"previous_names":["streamlit/streamlitlangchain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2FStreamlitLangChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2FStreamlitLangChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2FStreamlitLangChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2FStreamlitLangChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/StreamlitLangChain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088561,"owners_count":19253570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:19:55.376Z","updated_at":"2025-02-04T08:31:21.949Z","avatar_url":"https://github.com/streamlit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StreamlitLangChain\n\nRepository for experimenting with Streamlit \u003c\u003e LangChain integrations. Current projects:\n\n- **MRKL Demo:** Demo the LangChain MRKL agent as a Streamlit app.\n\n## Setup\n\nCreate Python environment:\n\n```shell\n$ pipenv install\n$ pipenv shell\n```\n\nInstall pre-commit hook:\n\n```shell\n$ pre-commit install\n```\n\nCreate `.streamlit/secrets.toml`:\n\n```toml\nopenai_api_key = \"[YOUR_KEY]\"\n```\n\n## Run\n\n```shell\n$ streamlit run mrkl_demo.py\n```\n\n## Relevant Source Files\n\n- `mrkl_demo.py` - Replicates the [MRKL Agent demo notebook](https://python.langchain.com/en/latest/modules/agents/agents/examples/mrkl.html) as a Streamlit app, using the callback handler.\n- `mrkl_minimal.py` - Minimal version of the MRKL app, currently embedded in LangChain docs\n- `minimal_agent.py` - A most-minimal version of the integration, referenced in the LangChain callback integration docs\n\n### `callbacks/`\n\n- `capturing_callback_handler.py` - LangChain callback handler that captures and stores LangChain queries for offline replay. (This is a developer tool, and is not required by `streamlit_callback_handler`!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fstreamlitlangchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fstreamlitlangchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fstreamlitlangchain/lists"}