amit Profile Banner
Amit Jotwani Profile
Amit Jotwani

@amit

Followers
6K
Following
11K
Media
1K
Statuses
11K

@DigitalOcean Dev Advocate. Making macOS menu bar apps for fun. Creator of PopLight. I make complex APIs sound simple https://t.co/5jZqb6hx0A

New York
Joined July 2007
Don't wanna be here? Send us removal request.
@amit
Amit Jotwani
10 months
🎉 Sooo, I've been working on something fun, and I’m super excited to share it with you all! 🎉. Meet PopLight – my first-ever Mac menu bar app! It’s a tiny little dot that tells you if you’re actually connected to the internet.
Tweet media one
3
1
12
@amit
Amit Jotwani
8 hours
Just added the "choose default response" setting to preferences using this workflow to the FlexiChat app. I like it.
Tweet media one
0
0
0
@amit
Amit Jotwani
8 hours
Here's how using VS Code for building iOS apps looks like now end-to-end for me. Edit code in VS Code with Claude Code assist within. CMD+SHIFT+P to run the app (using Sweetpad extension). Simulator launches automatically when the build is complete. Profit.
@amit
Amit Jotwani
8 hours
Alright, canceled Cursor Pro and @alexcodes_ai for now. Going all-in on Claude Code Max for all things code. VS Code + SweetPad Xcode CLI for all things iOS/macOS. Will report how this goes :-)
Tweet media one
1
0
2
@amit
Amit Jotwani
8 hours
Alright, canceled Cursor Pro and @alexcodes_ai for now. Going all-in on Claude Code Max for all things code. VS Code + SweetPad Xcode CLI for all things iOS/macOS. Will report how this goes :-)
Tweet media one
0
1
0
@amit
Amit Jotwani
8 hours
RT @0xAvious: Overhead at a SF cafe:. "What's Windsurf?"."It's like Cursor… but the founder walked away from generational wealth for his em….
0
2
0
@amit
Amit Jotwani
2 days
Overheard at a NYC café:. "What's an LLM?". "It's like ChatGPT… anything you can chat with.". It’s easy to laugh or correct. But that's what I love about New York. You forget how deep in the tech bubble you are until you step outside it. Not everyone is thinking about AI,.
3
0
2
@amit
Amit Jotwani
3 days
and the full list of supported models here:.
1
0
1
@amit
Amit Jotwani
3 days
You can also read more about how Serverless Inference works here:.
1
0
1
@amit
Amit Jotwani
3 days
Here's a full guide with all the code examples from this thread:.
1
0
1
@amit
Amit Jotwani
3 days
You can also pass `include_retrieval_info=True` if you want to get the source metadata as well.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
To talk to an Agent, use the same OpenAI SDK. Same method. Just change the `base_url` to your Agent endpoint (don’t forget to add /api/v1 at the end).
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
You can use the same approach with DigitalOcean Agents too. What are Agents?. Agents are models connected to your own knowledge base - docs, URLs, or structured data. They’re great for internal tools, documentation assistants, or domain-specific bots.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
That’ll print out the streaming response - especially helpful if you’re building a chatbot or an assistant-style UI.
1
0
1
@amit
Amit Jotwani
3 days
Streaming is supported too. Just add `stream=True` and handle the tokens as they arrive.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
That’ll return the completion response - same format you’re used to from OpenAI.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
Run a chat completion. Call `.chat.completions.create()` exactly like you would with OpenAI SDK.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
That should give you a list of all the supported models from OpenAI, Anthropic, Meta, DeepSeek, and Mistral - with more being added regularly.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
List available models. You can use `.models.list()` to see all the models DigitalOcean serves.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
Use the OpenAI SDK like normal. Everything starts with the client. All you do is change the `base_url` to point to DigitalOcean's Serverless Inference endpoint.
Tweet media one
1
0
1
@amit
Amit Jotwani
3 days
🎉 @DigitalOcean now offers Inference APIs. No GPUs to manage. No models to host. Just one endpoint and one API key. You can run GPT-4o, Claude 3, LLaMA 3, and more - right from the @OpenAI SDK. Here’s what that looks like in practice. 👇
Tweet media one
1
3
12
@amit
Amit Jotwani
10 days
Been chipping away at a Hugo content manager for my personal site. Just ~2 focused hours over the past couple days, and it’s really coming together.
Tweet media one
@amit
Amit Jotwani
11 days
First time trying Claude subagents to (hopefully) fix/improve the UI on a markdown editor I built for managing my Hugo site. No idea how this’ll go, but that’s half the fun. Will report back 😀
Tweet media one
0
0
2