Repository navigation
examples: add fast/smart, schema, and MCP configs - #6
Merged
Merged
Conversation
Add runnable fast/smart and JSON Schema calls, TypeScript sync and multi-turn clients, MCP configs for Claude Code, Cursor, and VS Code, a Python MCP client, and a Pydantic AI toolset. Surface the MCP setup near the top of the README. Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
Drop the TypeScript recipes, the Pydantic AI MCP example, and the typescript CI job. Restore .gitignore and CONTRIBUTING.md to main. Point the READMEs only at the three remaining recipes. Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
Remove the unverified MCP client and its requirements pin. Keep fast/smart, output schema, and the three documented MCP client configs. Docs use only the public MCP URL. Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
0xspacecreated
marked this pull request as ready for review
October 28, 2026 05:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Two Python recipes and MCP client configs. Keys come from
NEUROAPI_KEYor a client secret prompt. No key is written into a URL or a file.examples/07_fast_and_smart.py— one prompt,modefastthensmart. The response includesmode.examples/08_output_schema.py— JSON Schema onoutput_schema,stream: false,mode: smart, then a local Pydantic check ofoutput.examples/mcp/— Claude Code, Cursor, and VS Code configs forhttps://api.neurobro.ai/api/v1/mcp.Python 3.9 stays the floor for the httpx recipes.
.github/workflows/ci.yml,.gitignore, andCONTRIBUTING.mdmatchmain.Sources
Wording follows the public docs:
How it was tested
On Python 3.9, the same checks as the Python job in
.github/workflows/ci.yml:uv run ruff check examples/uv run ruff format --check examples/uv run python -m compileall -q examples/The three MCP JSON files parse. No live
NEUROAPI_KEYwas used, so these recipes were not run against a successful agent response.